CustomDomain™ docs
API referenceMembers

Get a pending member's current invite token

GET
/members/{id}/invite

Returns the pending member with its current invite_token, so an admin can copy the link again. Reading it changes nothing: the link already sent keeps working. Requires admin or owner (member:manage). A member who already joined has no invite: 404.

AuthorizationBearer <token>

Long-lived tenant API key, cd_live_… (production) or cd_test_… (staging, development), stored hashed. Keys created before the switch to cd_ start with sk_live_… / sk_test_… and are still accepted. Scoped to the owning application's tenant.

In: header

Path Parameters

id*string

Response Body

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/members/string/invite"
{  "id": "string",  "tenant_id": "string",  "email": "string",  "role": "owner",  "status": "active",  "invited_by": "string",  "inviter_email": "string",  "inviter_name": "string",  "invite_sent_at": "2019-08-24T14:15:22Z",  "invite_expires_at": "2019-08-24T14:15:22Z",  "invite_token": "string",  "accepted_at": "2019-08-24T14:15:22Z",  "created_at": "2019-08-24T14:15:22Z"}
{  "code": "string",  "title": "string",  "details": "string"}
{  "code": "string",  "title": "string",  "details": "string"}
{  "code": "string",  "title": "string",  "details": "string"}