curl --request GET \
--url https://api.trieve.ai/api/invitations/{organization_id} \
--header 'Authorization: <api-key>' \
--header 'TR-Organization: <tr-organization>'
[
{
"created_at": "2021-01-01 00:00:00.000",
"email": "trieve@trieve.ai",
"id": "e3e3e3e3-e3e3-e3e3-e3e3-e3e3e3e3e3e3",
"organization_id": "e3e3e3e3-e3e3-e3e3-e3e3-e3e3e3e3e3e3",
"role": 1,
"updated_at": "2021-01-01 00:00:00.000",
"used": false
}
]
Get all invitations for the organization. Auth’ed user or api key must have an admin or owner role for the specified dataset’s organization.
curl --request GET \
--url https://api.trieve.ai/api/invitations/{organization_id} \
--header 'Authorization: <api-key>' \
--header 'TR-Organization: <tr-organization>'
[
{
"created_at": "2021-01-01 00:00:00.000",
"email": "trieve@trieve.ai",
"id": "e3e3e3e3-e3e3-e3e3-e3e3-e3e3e3e3e3e3",
"organization_id": "e3e3e3e3-e3e3-e3e3-e3e3-e3e3e3e3e3e3",
"role": 1,
"updated_at": "2021-01-01 00:00:00.000",
"used": false
}
]
The organization id to use for the request
The organization id to get invitations for
Invitations for the dataset
The response is of type object[]
.
Was this page helpful?