POST /v1/teams/invites/\{code\}/accept
Service: membership · operationId: (none)
Required scopes
(no scope declared — review service config)
Path parameters
code(string) required —
Responses
200 Invite accepted
{
"type": "object",
"properties": {
"team_id": {
"type": "string"
}
},
"required": [
"team_id"
]
}404 Invite not found
{
"type": "object",
"properties": {
"error": {
"type": "string"
},
"message": {
"type": "string"
}
},
"required": [
"error",
"message"
]
}500 Unexpected error
{
"type": "object",
"properties": {
"error": {
"type": "string"
},
"message": {
"type": "string"
}
},
"required": [
"error",
"message"
]
}Example
curl -X POST https://membership.platform.loop.health/v1/teams/invites/{code}/accept \
-H "Authorization: Bearer $ACCESS_TOKEN"Related
services/membership— service overview- All endpoints — directory across services
- Auth model — how scopes are enforced