Invite a member
POST
Create an invite for an email address with a role (default member) and return its token. The token is shown only in this response and the invite expires after 7 days. Requires the coding:members:write scope; inviting an owner needs an owner caller (403 otherwise, and API keys never count as owners).
CustomerApiKeyheader
AuthorizationBearer <API Key>Customer API key sent as a bearer token
application/json- body
email*stringrole?stringDefault
"member"Document created, URL follows
application/json- response
expires_at*stringFormat
date-timeinvite_id*stringFormat
uuidtoken*stringcurl -X POST 'https://api.syndai.ai/api/v1/external/coding/members/invite' \ -H 'Content-Type: application/json' \ -d '{ "email": "string"}'Example Response
{ "expires_at": "2019-08-24T14:15:22Z", "invite_id": "7218104b-c64c-4f30-a184-1a1802b5c56b", "token": "string"}