GET
/
auth
/
organization-invitations
/
{id}
curl --request GET \
  --url https://api.pxyz.dev/api/v0/auth/organization-invitations/{id}
{
  "id": "<string>",
  "organizationId": "<string>",
  "roleId": "<string>",
  "email": "jsmith@example.com",
  "role": {
    "id": "<string>",
    "name": "<string>",
    "description": "<string>",
    "permissions": [
      "<string>"
    ],
    "tenantId": "<string>",
    "_count": {
      "users": 123,
      "members": 123
    },
    "createdAt": "2023-11-07T05:31:56Z",
    "updatedAt": "2023-11-07T05:31:56Z"
  },
  "acceptedAt": "2023-11-07T05:31:56Z",
  "declinedAt": "2023-11-07T05:31:56Z",
  "user": {
    "id": "<string>",
    "name": "<string>",
    "identifier": "<string>",
    "imageUri": "<string>",
    "createdAt": "2023-11-07T05:31:56Z",
    "updatedAt": "2023-11-07T05:31:56Z"
  },
  "publicMeta": "<any>",
  "privateMeta": "<any>",
  "createdAt": "2023-11-07T05:31:56Z",
  "updatedAt": "2023-11-07T05:31:56Z"
}

Path Parameters

id
string
required

Response

200 - application/json
id
string
required
organizationId
string
required
roleId
string | null
email
string | null
role
object | null
acceptedAt
string | null
declinedAt
string | null
user
object | null
publicMeta
any
privateMeta
any
createdAt
string
required
updatedAt
string
required