Skip to content
view raw .md

Teams

List teams, retrieve members, and manage team membership programmatically.

GET/v1/teams/API keyCLI AuthPage-number pagination

List teams

List teams

Errors

StatusWhen
401Missing/invalid/expired credential
403Authenticated but not permitted
429Throttled - 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.

GET/v1/teams/{uuid}/API keyCLI Auth

Retrieve a team

Retrieve a team

Path parameters

NameTypeRequiredDescription
uuidstring (uuid)Required

Errors

StatusWhen
401Missing/invalid/expired credential
403Authenticated but not permitted
429Throttled - Retry-After header set
404Not 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.

GET/v1/teams/{team_uuid}/members/API keyCLI Auth

List members of a team

List members of a team

Path parameters

NameTypeRequiredDescription
team_uuidstring (uuid)Required

Errors

StatusWhen
401Missing/invalid/expired credential
403Authenticated but not permitted
429Throttled - 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.

POST/v1/teams/{team_uuid}/member/API keyCLI Auth

Add a member to a team

Add a member to a team

Path parameters

NameTypeRequiredDescription
team_uuidstring (uuid)Required

Errors

StatusWhen
401Missing/invalid/expired credential
403Authenticated but not permitted
429Throttled - Retry-After header set
400Validation error
404Not 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.

GET/v1/teams/{team_uuid}/member/{user_uuid}/API keyCLI Auth

Retrieve a team member

Retrieve a team member

Path parameters

NameTypeRequiredDescription
team_uuidstring (uuid)Required
user_uuidstring (uuid)Required

Errors

StatusWhen
401Missing/invalid/expired credential
403Authenticated but not permitted
429Throttled - Retry-After header set
404Not 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.

PATCH/v1/teams/{team_uuid}/member/{user_uuid}/API keyCLI Auth

Update a team member

Update a team member

Path parameters

NameTypeRequiredDescription
team_uuidstring (uuid)Required
user_uuidstring (uuid)Required

Errors

StatusWhen
401Missing/invalid/expired credential
403Authenticated but not permitted
429Throttled - Retry-After header set
400Validation error
404Not 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.

DELETE/v1/teams/{team_uuid}/member/{user_uuid}/API keyCLI Auth

Remove a team member

Remove a team member

Path parameters

NameTypeRequiredDescription
team_uuidstring (uuid)Required
user_uuidstring (uuid)Required

Errors

StatusWhen
401Missing/invalid/expired credential
403Authenticated but not permitted
429Throttled - Retry-After header set
404Not 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" }
}