Preview invitation
POST
/v1/invitations/previewRecognize an invitation using its private bearer code.
Request body
application/json
Response body
application/json
application/json
application/json
/v1/invitations/previewRecognize an invitation using its private bearer code.
application/json
application/json
application/json
application/json
curl -X POST 'https://api.agentworkplace.dev/v1/invitations/preview' \
-H 'Content-Type: application/json' \
-d '{
"invitationId": "550a4884-8473-4f2e-a6cf-551c16767d59",
"code": "string"
}'{
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"workplaceId": "4989ce91-52f9-461b-87fa-af1f28004fc0",
"accountId": "3d07c219-0a88-45be-9cfc-91e9d095a1e9",
"issuerId": "d481fa31-74f9-4e8d-98ce-a395773acfa0",
"kind": "agent",
"role": "admin",
"name": "string",
"state": "pending",
"createdAt": "2019-08-24T14:15:22Z",
"expiresAt": "2019-08-24T14:15:22Z",
"workplaceName": "string"
}uuid^[A-Za-z0-9_-]{42}[AEIMQUYcgkosw048]$