Commands platform
The command platform (scheduling, storage, events, activity). All endpoints are API-key + Exchange-Token only.
On this page
Mint an exchange token for command-platform calls
Body: command_uuid, target_user_uuid. Response: exchange_token, expires_at.
Errors
| Status | When |
|---|---|
| 401 | Missing/invalid/expired credential |
| 403 | Authenticated but not permitted |
| 429 | Throttled - Retry-After header set |
| 400 | Validation error |
curl -sS -X POST 'https://api.dailybot.com/v1/auth/fetch-command-exchange-token/' -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 scheduled command runs
API-Key + X-EXCHANGE-TOKEN required. CLI Bearer is rejected on the platform surface.
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 GET 'https://api.dailybot.com/v1/platform/scheduling/' -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.
Schedule a command run
API-Key + X-EXCHANGE-TOKEN required. CLI Bearer is rejected on the platform surface.
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/platform/scheduling/' -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 scheduled run
API-Key + X-EXCHANGE-TOKEN required. CLI Bearer is rejected on the platform surface.
Path parameters
| Name | Type | Required | Description |
|---|---|---|---|
| pk | 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 GET 'https://api.dailybot.com/v1/platform/scheduling/{pk}/' -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.
Replace a scheduled run
API-Key + X-EXCHANGE-TOKEN required. CLI Bearer is rejected on the platform surface.
Path parameters
| Name | Type | Required | Description |
|---|---|---|---|
| pk | 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 PUT 'https://api.dailybot.com/v1/platform/scheduling/{pk}/' -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.
Cancel a scheduled run
API-Key + X-EXCHANGE-TOKEN required. CLI Bearer is rejected on the platform surface.
Path parameters
| Name | Type | Required | Description |
|---|---|---|---|
| pk | 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 DELETE 'https://api.dailybot.com/v1/platform/scheduling/{pk}/' -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.
Read command-scoped storage
API-Key + X-EXCHANGE-TOKEN required. CLI Bearer is rejected on the platform surface.
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 GET 'https://api.dailybot.com/v1/platform/storage/' -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.
Write command-scoped storage
API-Key + X-EXCHANGE-TOKEN required. CLI Bearer is rejected on the platform surface.
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/platform/storage/' -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.
Clear command-scoped storage
API-Key + X-EXCHANGE-TOKEN required. CLI Bearer is rejected on the platform surface.
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 DELETE 'https://api.dailybot.com/v1/platform/storage/' -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 command event subscriptions
API-Key + X-EXCHANGE-TOKEN required. CLI Bearer is rejected on the platform surface.
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 GET 'https://api.dailybot.com/v1/platform/event-subscription/' -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.
Create a command event subscription
API-Key + X-EXCHANGE-TOKEN required. CLI Bearer is rejected on the platform surface.
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/platform/event-subscription/' -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 a command event subscription
API-Key + X-EXCHANGE-TOKEN required. CLI Bearer is rejected on the platform surface.
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 DELETE 'https://api.dailybot.com/v1/platform/event-subscription/' -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.
Read command activity feed
API-Key + X-EXCHANGE-TOKEN required. CLI Bearer is rejected on the platform surface.
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 GET 'https://api.dailybot.com/v1/platform/activity/' -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.
Append to the command activity feed
API-Key + X-EXCHANGE-TOKEN required. CLI Bearer is rejected on the platform surface.
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/platform/activity/' -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.
Commands platform
Public API endpoints for scheduled command execution, storage, event subscription, activity tracking, and fetching an exchange token. All require X-API-KEY header. Many endpoints require an exchange token (from command context or POST /v1/auth/fetch-command-exchange-token/).
Endpoints summary
| Method | Endpoint | Description |
|---|---|---|
| POST | /v1/scheduler/ |
Schedule a command to run at a future time |
| GET | /v1/scheduler/ |
List scheduled command jobs |
| GET | /v1/scheduler/{id}/ |
Get a scheduled job |
| DELETE | /v1/scheduler/{id}/ |
Cancel a scheduled job |
| POST | /v1/storage/ |
Write a key-value pair |
| GET | /v1/storage/{key}/ |
Read a key-value pair |
| DELETE | /v1/storage/{key}/ |
Delete a key-value pair |
| POST | /v1/events/subscribe/ |
Subscribe to an event |
| DELETE | /v1/events/subscribe/{id}/ |
Unsubscribe from an event |
| POST | /v1/activity/ |
Submit an activity entry |
| POST | /v1/auth/fetch-command-exchange-token/ |
Fetch an exchange token for a user |
Scheduling
POST /v1/scheduler/
Schedules a command to run at a future time.
curl -X POST "https://api.dailybot.com/v1/scheduler/" \
-H "X-API-KEY: your_api_key" \
-H "Content-Type: application/json" \
-d '{
"command_intent": "send_report",
"run_at": "2026-04-10T09:00:00Z",
"user_uuid": "user-uuid",
"params": { "report_type": "weekly" }
}'
Response (201 Created):
{
"id": "job-uuid",
"command_intent": "send_report",
"run_at": "2026-04-10T09:00:00Z",
"status": "scheduled"
}
GET /v1/scheduler/
Lists all scheduled command jobs for the organization.
curl -X GET "https://api.dailybot.com/v1/scheduler/" \
-H "X-API-KEY: your_api_key"
DELETE /v1/scheduler/{id}/
Cancels a scheduled job.
curl -X DELETE "https://api.dailybot.com/v1/scheduler/job-uuid/" \
-H "X-API-KEY: your_api_key"
Storage
POST /v1/storage/
Writes a key-value pair. Data is scoped to the user and organization.
curl -X POST "https://api.dailybot.com/v1/storage/" \
-H "X-API-KEY: your_api_key" \
-H "Content-Type: application/json" \
-d '{"key": "user_preferences", "value": {"theme": "dark"}}'
GET /v1/storage/{key}/
Reads a key-value pair.
curl -X GET "https://api.dailybot.com/v1/storage/user_preferences/" \
-H "X-API-KEY: your_api_key"
Response (200 OK):
{ "key": "user_preferences", "value": { "theme": "dark" } }
DELETE /v1/storage/{key}/
Deletes a key-value pair.
curl -X DELETE "https://api.dailybot.com/v1/storage/user_preferences/" \
-H "X-API-KEY: your_api_key"
Event subscription
POST /v1/events/subscribe/
Subscribes to an event type for the authenticated user.
curl -X POST "https://api.dailybot.com/v1/events/subscribe/" \
-H "X-API-KEY: your_api_key" \
-H "Content-Type: application/json" \
-d '{"event_type": "check_in.completed", "webhook_url": "https://your-app.com/events"}'
DELETE /v1/events/subscribe/{id}/
Unsubscribes from an event.
curl -X DELETE "https://api.dailybot.com/v1/events/subscribe/sub-uuid/" \
-H "X-API-KEY: your_api_key"
Activity
POST /v1/activity/
Submits an activity entry linked to the authenticated user.
curl -X POST "https://api.dailybot.com/v1/activity/" \
-H "X-API-KEY: your_api_key" \
-H "Content-Type: application/json" \
-d '{
"activity_type": "commit",
"description": "Pushed 3 commits to main",
"metadata": { "repo": "my-repo", "commits": 3 }
}'
Response (201 Created):
{
"id": "activity-uuid",
"activity_type": "commit",
"description": "Pushed 3 commits to main",
"created_at": "2026-04-06T10:00:00Z"
}
POST /v1/auth/fetch-command-exchange-token/
Fetches an exchange token that allows making API calls on behalf of a specific user. Requires your API key to have the necessary permissions.
curl -X POST "https://api.dailybot.com/v1/auth/fetch-command-exchange-token/" \
-H "X-API-KEY: your_api_key" \
-H "Content-Type: application/json" \
-d '{"user_uuid": "target-user-uuid"}'
Response (200 OK):
{
"exchange_token": "eyJ...",
"expires_at": "2026-04-06T11:00:00Z"
}
Exchange Token authentication is disabled by default. Contact support to enable it for your organization.