CorebanqCorebanq Developer Docs
Customersv1Teams

Accept Team Invitation

Handler: AcceptTeamInvitation. The signed-in user accepts their own pending team invitation for this customer. Requires a membership link with status 'invited' held by the caller; a missing or removed link is refused (403 common.permission_denied). Activates the link and the pre-assigned customer role — the moment access is granted. Idempotent: an already-accepted invitation returns 200. Returns { customer_id }.

POST
/v1/customers/{id}/teams/accept

Authorization

bearerAuth
AuthorizationBearer <token>

JWT token obtained from /v1/authenticate endpoint

In: header

Path Parameters

id*string

id path parameter

id*string

Customer UUID.

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/v1/customers/497f6eca-6276-4993-bfeb-53cbbbba6f08/teams/accept"
{
  "customer_id": "160c0c4b-9966-4dc1-a916-8407eb10d74e"
}
{
  "status": 400,
  "message": "Bad request"
}
{
  "status": 401,
  "message": "Unauthorized"
}
{
  "status": 403,
  "message": "Forbidden"
}
{
  "status": 404,
  "message": "Not found"
}
{
  "status": 500,
  "message": "Internal server error"
}