Users
Read the organization directory, look up user profiles, and update user metadata. Accepts both API keys and CLI Bearer tokens.
On this page
Current authenticated identity
Returns the current authenticated user (or agent identity for API-Key requests). Supports include_email query.
Query parameters
| Name | Type | Required | Description |
|---|---|---|---|
| include_email | boolean | Optional | Include email in response. Default false. |
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/me/' -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 organization members
Paginated list of users. Supports search, only_active, include_email.
Query parameters
| Name | Type | Required | Description |
|---|---|---|---|
| search | string | Optional | Filter by name, email, or external ID (case-insensitive). |
| only_active | boolean | Optional | If set, return only active users. |
| include_email | boolean | Optional | Include email in each user object. |
| page | integer | Optional | Page number (page-number pagination). |
| page_size | integer | Optional | Page size (default 20, max 100). |
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/users/' -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 user by UUID
Retrieves a single user by their UUID.
Path parameters
| Name | Type | Required | Description |
|---|---|---|---|
| uuid | string (uuid) | Required | — |
Query parameters
| Name | Type | Required | Description |
|---|---|---|---|
| include_email | boolean | Optional | — |
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/users/{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 user
Partially update a user profile.
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 |
| 400 | Validation error |
| 404 | Not found or not visible |
curl -sS -X PATCH 'https://api.dailybot.com/v1/users/{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 user metadata
Merge arbitrary key/value metadata onto a user.
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 |
| 400 | Validation error |
| 404 | Not found or not visible |
curl -sS -X PATCH 'https://api.dailybot.com/v1/users/{uuid}/update-metadata/' -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" }
}