Teams
List teams, retrieve members, and manage team membership programmatically.
On this page
List teams
List teams
Errors
| Status | When |
|---|---|
| 401 | Missing/invalid/expired credential |
| 403 | Authenticated but not permitted |
| 429 | Throttled - Retry-After header set |
curl -sS -X GET 'https://api.dailybot.com/v1/teams/' -H 'X-API-KEY: $DAILYBOT_API_KEY'Try it
This is a copy-only helper — the request is not sent from your browser. Paste the command into your terminal to execute it.
Retrieve a team
Retrieve a team
Path parameters
| Name | Type | Required | Description |
|---|---|---|---|
| uuid | string (uuid) | Required | — |
Errors
| Status | When |
|---|---|
| 401 | Missing/invalid/expired credential |
| 403 | Authenticated but not permitted |
| 429 | Throttled - Retry-After header set |
| 404 | Not found or not visible |
curl -sS -X GET 'https://api.dailybot.com/v1/teams/{uuid}/' -H 'X-API-KEY: $DAILYBOT_API_KEY'Try it
This is a copy-only helper — the request is not sent from your browser. Paste the command into your terminal to execute it.
List members of a team
List members of a team
Path parameters
| Name | Type | Required | Description |
|---|---|---|---|
| team_uuid | string (uuid) | Required | — |
Errors
| Status | When |
|---|---|
| 401 | Missing/invalid/expired credential |
| 403 | Authenticated but not permitted |
| 429 | Throttled - Retry-After header set |
curl -sS -X GET 'https://api.dailybot.com/v1/teams/{team_uuid}/members/' -H 'X-API-KEY: $DAILYBOT_API_KEY'Try it
This is a copy-only helper — the request is not sent from your browser. Paste the command into your terminal to execute it.
Add a member to a team
Add a member to a team
Path parameters
| Name | Type | Required | Description |
|---|---|---|---|
| team_uuid | string (uuid) | Required | — |
Errors
| Status | When |
|---|---|
| 401 | Missing/invalid/expired credential |
| 403 | Authenticated but not permitted |
| 429 | Throttled - Retry-After header set |
| 400 | Validation error |
| 404 | Not found or not visible |
curl -sS -X POST 'https://api.dailybot.com/v1/teams/{team_uuid}/member/' -H 'X-API-KEY: $DAILYBOT_API_KEY'Try it
This is a copy-only helper — the request is not sent from your browser. Paste the command into your terminal to execute it.
Retrieve a team member
Retrieve a team member
Path parameters
| Name | Type | Required | Description |
|---|---|---|---|
| team_uuid | string (uuid) | Required | — |
| user_uuid | string (uuid) | Required | — |
Errors
| Status | When |
|---|---|
| 401 | Missing/invalid/expired credential |
| 403 | Authenticated but not permitted |
| 429 | Throttled - Retry-After header set |
| 404 | Not found or not visible |
curl -sS -X GET 'https://api.dailybot.com/v1/teams/{team_uuid}/member/{user_uuid}/' -H 'X-API-KEY: $DAILYBOT_API_KEY'Try it
This is a copy-only helper — the request is not sent from your browser. Paste the command into your terminal to execute it.
Update a team member
Update a team member
Path parameters
| Name | Type | Required | Description |
|---|---|---|---|
| team_uuid | string (uuid) | Required | — |
| user_uuid | string (uuid) | Required | — |
Errors
| Status | When |
|---|---|
| 401 | Missing/invalid/expired credential |
| 403 | Authenticated but not permitted |
| 429 | Throttled - Retry-After header set |
| 400 | Validation error |
| 404 | Not found or not visible |
curl -sS -X PATCH 'https://api.dailybot.com/v1/teams/{team_uuid}/member/{user_uuid}/' -H 'X-API-KEY: $DAILYBOT_API_KEY'Try it
This is a copy-only helper — the request is not sent from your browser. Paste the command into your terminal to execute it.
Remove a team member
Remove a team member
Path parameters
| Name | Type | Required | Description |
|---|---|---|---|
| team_uuid | string (uuid) | Required | — |
| user_uuid | string (uuid) | Required | — |
Errors
| Status | When |
|---|---|
| 401 | Missing/invalid/expired credential |
| 403 | Authenticated but not permitted |
| 429 | Throttled - Retry-After header set |
| 404 | Not found or not visible |
curl -sS -X DELETE 'https://api.dailybot.com/v1/teams/{team_uuid}/member/{user_uuid}/' -H 'X-API-KEY: $DAILYBOT_API_KEY'Try it
This is a copy-only helper — the request is not sent from your browser. Paste the command into your terminal to execute it.
Users & Organization
Manage users, get context info (/me), retrieve organization details, update profiles and metadata, and invite members.
Endpoints summary
| Method | Endpoint | Description |
|---|---|---|
| GET | /v1/me/ |
Get context info (authenticated user + organization) |
| GET | /v1/organization/ |
Get organization details |
| GET | /v1/users/ |
List all users |
| GET | /v1/users/{uuid}/ |
Get a specific user |
| PATCH | /v1/users/{uuid}/ |
Update a user |
| POST | /v1/invite-user/ |
Invite a user (see Invitations API) |
GET /v1/me/
Returns information about the authenticated user and their organization.
curl -X GET "https://api.dailybot.com/v1/me/" \
-H "X-API-KEY: $DAILYBOT_API_KEY"
Response (200 OK):
{
"id": "usr_abc123",
"email": "you@company.com",
"first_name": "Jane",
"last_name": "Doe",
"role": "admin",
"timezone": "America/New_York",
"organization": {
"id": "org_xyz789",
"name": "Acme Corp",
"plan": "pro"
}
}
GET /v1/organization/
Returns the organization details for the authenticated API key.
curl -X GET "https://api.dailybot.com/v1/organization/" \
-H "X-API-KEY: $DAILYBOT_API_KEY"
Response (200 OK):
{
"id": "org_xyz789",
"name": "Acme Corp",
"plan": "pro",
"member_count": 45,
"created_at": "2023-01-15T00:00:00Z"
}
GET /v1/users/
Returns all users in the organization. Paginated (default ordering: full_name).
Query parameters
| Name | Type | Default | Description |
|---|---|---|---|
page |
integer | 1 | Page number (1-indexed). offset accepted as alias. |
page_size |
integer | 50 | Items per page (max 200). limit accepted as alias. |
search |
string | — | Case-insensitive search on full name or email (max 256 chars). |
is_active |
boolean | — | Filter by active status. |
role |
string | — | Filter by role: admin or member. |
curl "https://api.dailybot.com/v1/users/?is_active=true&search=alice&page_size=50" \
-H "X-API-KEY: $DAILYBOT_API_KEY"
Response (200 OK):
{
"count": 1,
"next": null,
"previous": null,
"results": [
{
"uuid": "usr_abc123",
"email": "alice@company.com",
"first_name": "Alice",
"last_name": "Smith",
"role": "member",
"is_active": true,
"timezone": "America/New_York"
}
]
}
Iterating all users
PAGE=1
while true; do
RESP=$(curl -s "https://api.dailybot.com/v1/users/?is_active=true&page=$PAGE&page_size=100" \
-H "X-API-KEY: $DAILYBOT_API_KEY")
echo "$RESP" | jq '.results[]'
NEXT=$(echo "$RESP" | jq -r '.next')
[ "$NEXT" = "null" ] && break
PAGE=$((PAGE + 1))
done
GET /v1/users/{uuid}/
Returns a specific user.
curl -X GET "https://api.dailybot.com/v1/users/usr_abc123/" \
-H "X-API-KEY: $DAILYBOT_API_KEY"
PATCH /v1/users/{uuid}/
Updates a user’s profile or metadata. Only Org Administrators can update other users.
Body parameters
| Name | Type | Required | Description |
|---|---|---|---|
first_name |
string | No | User’s first name. |
last_name |
string | No | User’s last name. |
timezone |
string | No | IANA timezone string (e.g. America/New_York). |
metadata |
object | No | Custom key-value metadata for the user. |
curl -X PATCH "https://api.dailybot.com/v1/users/usr_abc123/" \
-H "X-API-KEY: $DAILYBOT_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"timezone": "Europe/London",
"metadata": { "department": "Engineering", "location": "London" }
}'
Response (200 OK):
{
"uuid": "usr_abc123",
"email": "jane@company.com",
"first_name": "Jane",
"last_name": "Doe",
"timezone": "Europe/London",
"metadata": { "department": "Engineering", "location": "London" }
}