Get organization invitations

GET /api/organization-invitations

Get organization invitations.

Responses

  • 200 application/json

    A list of organization invitations, each item also contains the organization roles to be assigned to the user when they accept the invitation.

    Hide response attributes Show response attributes object
  • 400

    Bad Request

  • 401

    Unauthorized

  • 403

    Forbidden

GET /api/organization-invitations
curl \
 -X GET https://[tenant_id].logto.app/api/organization-invitations
Response examples (200)
[
  {
    "id": "string",
    "inviterId": "string",
    "invitee": "string",
    "acceptedUserId": "string",
    "organizationId": "string",
    "status": "Pending",
    "createdAt": 42.0,
    "updatedAt": 42.0,
    "expiresAt": 42.0,
    "organizationRoles": [
      {
        "id": "string",
        "name": "string"
      }
    ]
  }
]