curl --request GET \
--url https://app2.freyavoice.ai/api/v2/workspaces/invitations \
--header 'Authorization: Bearer <token>'{
"success": true,
"data": {
"message": "<string>",
"result": {
"invitations": [
{
"id": "<string>",
"workspaceId": "<string>",
"inviterId": "<string>",
"email": "[email protected]",
"role": "<string>",
"status": "<string>",
"token": "<string>",
"expiresAt": "<string>",
"createdAt": "<string>",
"updatedAt": "<string>",
"acceptedAt": "<string>",
"inviterEmail": "<string>",
"inviterDisplayName": "<string>"
}
]
}
}
}Returns all pending invitations for the workspace.
curl --request GET \
--url https://app2.freyavoice.ai/api/v2/workspaces/invitations \
--header 'Authorization: Bearer <token>'{
"success": true,
"data": {
"message": "<string>",
"result": {
"invitations": [
{
"id": "<string>",
"workspaceId": "<string>",
"inviterId": "<string>",
"email": "[email protected]",
"role": "<string>",
"status": "<string>",
"token": "<string>",
"expiresAt": "<string>",
"createdAt": "<string>",
"updatedAt": "<string>",
"acceptedAt": "<string>",
"inviterEmail": "<string>",
"inviterDisplayName": "<string>"
}
]
}
}
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Workspace ID