[{"label":"Latest (v1.0)","version":"latest"}]
csp

Get User Invitation By Organization ID And User Invitation ID

Description

Get invitation of a user in an organization (by invitation id).

Access Policy

Role User Accounts Service Accounts (Client Credentials Applications)
Organization Admin ✔️ ✔️
Organization Owner ✔️ ✔️

Request

Request

URL

URL


get
https://{api_host}/csp/gateway/am/api/orgs/{orgId}/invitations/{userInvitationId}
Copy

Path Parameters

Path Parameters

string
orgId Required

Unique identifier (GUID) of the organization.

Parameter Serialization Style: SIMPLE Explode:false

string
userInvitationId Required

Unique identifier (GUID) of the invitation.

Parameter Serialization Style: SIMPLE Explode:false

Authentication

Authentication

This operation uses the following authentication methods.

Response

Response

Response Body

Response Body

200 OK

Returns UserOrganizationInvitationResponse of type application/json
{
    "status": "AVAILABLE"
}
string
username Required

The username of the user.


organizationRoles Optional

List of organization role objects.


customRoles Optional

List of custom role objects.


integer as int64
expirationTime Optional

The expiration time of the invitation.


integer as int64
generatedAt Optional

The creation timestamp in milliseconds.


string
generatedBy Optional

The Creator ot the invitation (usually client identifier).


string
invitationLink Optional

Deprecated: the common Invitation Link.


string
invitedByUsername Optional

Invited By, specify the actual user who is inviting.


array of string
orgRoleNames Optional

List of organization role names.


array of string
customGroupsIds Optional

Custom Groups Identifiers (relevant only for invite).


integer as int64
redeemedAt Optional

The redemption timestamp in milliseconds.


string
redeemedBy Optional

The name of the invitation redeemer.


string
refLink Optional

The reference link of the Invitation.


integer as int64
revokedAt Optional

The revoke timestamp in milliseconds.


string
revokedBy Optional

The name of invitation revoker.


array of ServiceRolesDto
serviceRolesDtos Optional

List of services roles objects.


string
status Optional

The status of the invitation.

Possible values are: AVAILABLEREDEEMEDREVOKED


array of ExpandedGroupDto
customGroups Optional

Custom Groups (relevant only for invite).

Errors

Errors

CspErrorResponse
401

The user is not authorized to use the API


CspErrorResponse
403

The user is forbidden to use the API


CspErrorResponse
404

Organization with this identifier is not found. | Invitation not found


CspErrorResponse
429

The user has sent too many requests


CspErrorResponse
500

An unexpected error has occurred while processing the request

Code Samples

Code Samples

cURL Command

curl https://{api_host}/csp/gateway/am/api/orgs/{orgId}/invitations/{userInvitationId}


[{"label":"Latest (v1.0)","version":"latest"}]
csp
Feedback

Was this page helpful?