Teams
Get team by ID or slug
Changed onRetrieve a team with membership details. User must be a member of the team.
get/teams/{key}
Request
- Base URLhttps://api.session.services
- AuthAPI key in header x-tenant-id
Path parameters
key, string required
Team key - either a unique ID (tem_xxx format) or URL-friendly slug
Example:tem_01jqpjksnsen9vprw95et60t2m
Response
OK
object required
team, object required
Example response
{
"team": {
"publicBaseUrl": "https://sash.net.au",
"image": {
"src": "https://assets.session.services/my-image.jpg",
"alt": "My Image",
"width": 1080,
"height": 1080
},
"member": {
"permissions": []
}
}
}Changes
- warning
added the new
PAYMENTS_NOT_READYenum value to theteam/stripeConnectAvailability/reasons/itemsresponse property for the response status - info
added the optional property
team/gateway/readinessto the response with the status
- warning
- breaking
for the
pathrequest parameterkey, the minLength was increased from0to1
4 more changes in this revision
- breaking