Resources
- Databases
- Groups
- Locations
Organizations
- Organizations
- Members
- Invites
- Audit Logs
API Tokens
- API Tokens
List Invites
Returns a list of invites for the organization.
curl -L https://api.turso.tech/v1/organizations/{organizationSlug}/invites \
-H 'Authorization: Bearer TOKEN'
{
"invites": [
{
"ID": 1,
"CreatedAt": "2023-01-01T00:00:00Z",
"UpdatedAt": "2023-01-01T00:00:00Z",
"DeletedAt": "2023-01-01T00:00:00Z",
"Role": "member",
"Email": "iku@turso.tech",
"OrganizationID": 1,
"Token": "3e393245b91b41ebad0980bc98349c9d",
"Organization": {
"name": "turso",
"slug": "turso",
"type": "team",
"overages": false,
"blocked_reads": false,
"blocked_writes": false
},
"Accepted": false
}
]
}
curl -L https://api.turso.tech/v1/organizations/{organizationSlug}/invites \
-H 'Authorization: Bearer TOKEN'
Path Parameters
The slug of the organization or user account.
Response
The unique ID for the invite.
1
The datetime the invite was created in ISO 8601 format. Example: 2023-01-01T00:00:00Z
"2023-01-01T00:00:00Z"
The datetime the invite was updated in ISO 8601 format. Example: 2023-01-01T00:00:00Z
"2023-01-01T00:00:00Z"
The datetime the invite was deleted (or revoked) in ISO 8601 format. Example: 2023-01-01T00:00:00Z
"2023-01-01T00:00:00Z"
The assigned role for the invited user.
admin
, member
, viewer
"member"
The email of the person invited.
"iku@turso.tech"
The ID of the organization the user was invited to.
1
The unique token used to verify the invite.
"3e393245b91b41ebad0980bc98349c9d"
The organization name. Every user has a personal
organization for their own account.
"personal"
The organization slug. This will be your username for personal
accounts.
"iku"
The type of account this organization is. Will always be personal
or team
.
personal
, team
"personal"
The name of the organization. Every user has a personal
organization for their own account.
false
Returns the current status for blocked reads.
false
Returns the current status for blocked writes.
false
The pricing plan identifier this organization is subscribed to.
"hobby"
The billing cycle for the paid plan, if any.
"monthly"
The external platform this organization is managed by. Will be empty for Turso managed organizations.
"vercel"
The current status of the invite.
false
Was this page helpful?
curl -L https://api.turso.tech/v1/organizations/{organizationSlug}/invites \
-H 'Authorization: Bearer TOKEN'
{
"invites": [
{
"ID": 1,
"CreatedAt": "2023-01-01T00:00:00Z",
"UpdatedAt": "2023-01-01T00:00:00Z",
"DeletedAt": "2023-01-01T00:00:00Z",
"Role": "member",
"Email": "iku@turso.tech",
"OrganizationID": 1,
"Token": "3e393245b91b41ebad0980bc98349c9d",
"Organization": {
"name": "turso",
"slug": "turso",
"type": "team",
"overages": false,
"blocked_reads": false,
"blocked_writes": false
},
"Accepted": false
}
]
}