CentralCSP
APIInvitations

Get an invitation

Returns one invitation with its email, role, and expiry.

Requires the admin role on the workspace.

GET
/v1/workspaces/{workspaceId}/invitations/{invitationId}

Authorization

AuthorizationBearer <token>

An OpenID Connect access token issued by Keycloak, acting as the signed-in user.

In: header

Path Parameters

workspaceId*string
invitationId*string

Response Body

application/json

curl -X GET "https://api-next.centralcsp.com/v1/workspaces/string/invitations/string"
{  "id": "string",  "workspaceId": "string",  "email": "sam@example.com",  "role": "admin",  "acceptedAt": "2019-08-24T14:15:22Z",  "expiresAt": "2019-08-24T14:15:22Z",  "createdAt": "2019-08-24T14:15:22Z",  "updatedAt": "2019-08-24T14:15:22Z"}