curl --request GET \
--url https://api.caret.so/v1/invites?limit=20&offset=0 \
--header 'Authorization: Bearer <token>'
{
"items": [
{
"id": "inv_123",
"email": "[email protected]",
"code": "abc123xy",
"role": "member",
"expiresAt": "2026-02-27T10:00:00Z",
"createdAt": "2026-01-28T10:00:00Z",
"isUrlInvite": false,
"folders": [
{
"id": "fol_456",
"name": "Marketing"
}
]
}
],
"pagination": {
"limit": 20,
"offset": 0,
"total": 1
}
}
Get a paginated list of all pending invites for the workspace
curl --request GET \
--url https://api.caret.so/v1/invites?limit=20&offset=0 \
--header 'Authorization: Bearer <token>'
{
"items": [
{
"id": "inv_123",
"email": "[email protected]",
"code": "abc123xy",
"role": "member",
"expiresAt": "2026-02-27T10:00:00Z",
"createdAt": "2026-01-28T10:00:00Z",
"isUrlInvite": false,
"folders": [
{
"id": "fol_456",
"name": "Marketing"
}
]
}
],
"pagination": {
"limit": 20,
"offset": 0,
"total": 1
}
}
Show Invite
admin, member.curl --request GET \
--url https://api.caret.so/v1/invites?limit=20&offset=0 \
--header 'Authorization: Bearer <token>'
{
"items": [
{
"id": "inv_123",
"email": "[email protected]",
"code": "abc123xy",
"role": "member",
"expiresAt": "2026-02-27T10:00:00Z",
"createdAt": "2026-01-28T10:00:00Z",
"isUrlInvite": false,
"folders": [
{
"id": "fol_456",
"name": "Marketing"
}
]
}
],
"pagination": {
"limit": 20,
"offset": 0,
"total": 1
}
}