5 minutes to help shape OpenTodo. Anonymous, no account. Take the survey

Integrations API

GET /api/v1/app-passwords

List app passwords · Token or session

{appPasswords:[…]}, see CalDAV and app passwords

Response 200
FieldTypeDescription
appPasswords requiredarray of object
appPasswords[].createdAt requirednumber
appPasswords[].events requiredboolean
appPasswords[].id requiredstring
appPasswords[].lastUsedAt requirednumber | null
appPasswords[].name requiredstring
appPasswords[].revokedAt requirednumber | null
appPasswords[].scope requiredobject
appPasswords[].scope.inboxes requiredarray of string
appPasswords[].scope.mode requiredstring
appPasswords[].scope.projects requiredarray of string
appPasswords[].scope.workspaces requiredarray of string

POST /api/v1/app-passwords

Create a app password · Token or session

{name, scope?} → 201 {appPassword, secret} (secret shown once)

Needs a session or an admin token; full tokens are refused. Needs a recently confirmed session or second factor.

Request body
FieldTypeDescription
events requiredboolean
name requiredstring
scopeobject | null
scope.inboxes requiredarray of string
scope.mode requiredstring
scope.projects requiredarray of string
scope.workspaces requiredarray of string
Response 201
FieldTypeDescription
appPassword requiredobject | null
appPassword.createdAt requirednumber
appPassword.events requiredboolean
appPassword.id requiredstring
appPassword.lastUsedAt requirednumber | null
appPassword.name requiredstring
appPassword.revokedAt requirednumber | null
appPassword.scope requiredobject
appPassword.scope.inboxes requiredarray of string
appPassword.scope.mode requiredstring
appPassword.scope.projects requiredarray of string
appPassword.scope.workspaces requiredarray of string
secret requiredstring

PATCH /api/v1/app-passwords/{id}

Update a app password · Token or session

{scope} → {appPassword}

Needs a session or an admin token; full tokens are refused. Needs a recently confirmed session or second factor.

Path parameters
FieldTypeDescription
id requiredstringpath
Request body
FieldTypeDescription
scopeobject | null
scope.inboxes requiredarray of string
scope.mode requiredstring
scope.projects requiredarray of string
scope.workspaces requiredarray of string
Response 200
FieldTypeDescription
appPassword requiredobject | null
appPassword.createdAt requirednumber
appPassword.events requiredboolean
appPassword.id requiredstring
appPassword.lastUsedAt requirednumber | null
appPassword.name requiredstring
appPassword.revokedAt requirednumber | null
appPassword.scope requiredobject
appPassword.scope.inboxes requiredarray of string
appPassword.scope.mode requiredstring
appPassword.scope.projects requiredarray of string
appPassword.scope.workspaces requiredarray of string

DELETE /api/v1/app-passwords/{id}

Delete a app password · Token or session

revoke → 204

Path parameters
FieldTypeDescription
id requiredstringpath

Response 200: OK

GET /api/v1/email-inbox

Get email inbox · Token or session

your email-to-task address and settings, see Email to task

Refuses read and agent tokens.

Response 200
FieldTypeDescription
address requiredstring | null
allowlist requiredarray of string
enabled requiredboolean
enabledByOperator requiredboolean
hourlyLimit requirednumber

PATCH /api/v1/email-inbox

Update email inbox · Token or session

{enabled?, allowlist?} → the same shape; creates the inbox when there is none

Refuses read and agent tokens.

Request body
FieldTypeDescription
allowlist requiredstring
enabledboolean | null
Response 200
FieldTypeDescription
address requiredstring | null
allowlist requiredarray of string
enabled requiredboolean
enabledByOperator requiredboolean
hourlyLimit requirednumber

POST /api/v1/email-inbox/rotate

Email inbox rotate · Token or session

new address; the old one stops working

Refuses read and agent tokens.

Response 200
FieldTypeDescription
address requiredstring | null
allowlist requiredarray of string
enabled requiredboolean
enabledByOperator requiredboolean
hourlyLimit requirednumber

POST /api/v1/me/mcp-consent

Me mcp consent · Session only

{query, allow} → {redirect}: the registered address with code and state on allow, with error=access_denied otherwise

Needs a session; tokens are refused.

Request body
FieldTypeDescription
allow requiredboolean
query requiredstring
workspacesarray of string
Response 200
FieldTypeDescription
errorstring
error_descriptionstring
redirectstring

GET /api/v1/me/oauth-grants

List me oauth grants · Token or session

{grants:[{id, clientId, clientName, scope, workspaces, createdAt, lastUsedAt}]}: the AI apps you connected that are neither revoked nor expired, most recently used first; scope is read or agent, workspaces is empty for every workspace, lastUsedAt is null before first use; shown with the sessions in Settings → Account, also while MCP is off; read and agent tokens → 403 insufficient_scope

Refuses read and agent tokens.

Response 200
FieldTypeDescription
grants requiredarray of object
grants[].clientId requiredstring
grants[].clientName requiredstring
grants[].createdAt requirednumber
grants[].id requiredstring
grants[].lastUsedAt requirednumber | null
grants[].scope requiredstring
grants[].workspaces requiredarray of string

DELETE /api/v1/me/oauth-grants/{id}

Delete a me oauth grant · Token or session

204: disconnects that app; its refresh token gets invalid_grant and its access token 401; another person's, a revoked or an unknown id → 404 not_found; demo instances → 403 demo_restricted; recorded as mcp_oauth.disconnected

Path parameters
FieldTypeDescription
id requiredstringpath

Response 200: OK

GET /api/v1/webhooks

List webhooks · Token or session

{webhooks:[…], events:[…]}, see Webhooks

Response 200
FieldTypeDescription
events requiredarray of string
webhooks requiredarray of object
webhooks[].consecutiveFailures requirednumber
webhooks[].createdAt requirednumber
webhooks[].disabledReason requiredstring | null
webhooks[].enabled requiredboolean
webhooks[].events requiredarray of string
webhooks[].id requiredstring
webhooks[].projectId requiredstring | null
webhooks[].secretstring
webhooks[].updatedAt requirednumber
webhooks[].url requiredstring

POST /api/v1/webhooks

Create a webhook · Token or session

{url, events, projectId?, enabled?} → 201 {webhook} (includes secret, shown once)

Response 201
FieldTypeDescription
webhook requiredobject | null
webhook.consecutiveFailures requirednumber
webhook.createdAt requirednumber
webhook.disabledReason requiredstring | null
webhook.enabled requiredboolean
webhook.events requiredarray of string
webhook.id requiredstring
webhook.projectId requiredstring | null
webhook.secretstring
webhook.updatedAt requirednumber
webhook.url requiredstring

GET /api/v1/webhooks/{id}

Get a webhook · Token or session

{webhook} (never the secret)

Path parameters
FieldTypeDescription
id requiredstringpath
Response 200
FieldTypeDescription
webhook requiredobject | null
webhook.consecutiveFailures requirednumber
webhook.createdAt requirednumber
webhook.disabledReason requiredstring | null
webhook.enabled requiredboolean
webhook.events requiredarray of string
webhook.id requiredstring
webhook.projectId requiredstring | null
webhook.secretstring
webhook.updatedAt requirednumber
webhook.url requiredstring

PATCH /api/v1/webhooks/{id}

Update a webhook · Token or session

partial {url?, events?, projectId?, enabled?} → {webhook}

Path parameters
FieldTypeDescription
id requiredstringpath
Response 200
FieldTypeDescription
webhook requiredobject | null
webhook.consecutiveFailures requirednumber
webhook.createdAt requirednumber
webhook.disabledReason requiredstring | null
webhook.enabled requiredboolean
webhook.events requiredarray of string
webhook.id requiredstring
webhook.projectId requiredstring | null
webhook.secretstring
webhook.updatedAt requirednumber
webhook.url requiredstring

DELETE /api/v1/webhooks/{id}

Delete a webhook · Token or session

delete with its delivery log → 204

Path parameters
FieldTypeDescription
id requiredstringpath

Response 200: OK

GET /api/v1/webhooks/{id}/deliveries

List webhook deliveries · Token or session

{deliveries:[…]}, newest 100

Path parameters
FieldTypeDescription
id requiredstringpath
Response 200
FieldTypeDescription
deliveries requiredarray of object
deliveries[].attempts requirednumber
deliveries[].createdAt requirednumber
deliveries[].deliveredAt requirednumber | null
deliveries[].durationMs requirednumber | null
deliveries[].error requiredstring | null
deliveries[].event requiredstring
deliveries[].id requiredstring
deliveries[].nextAttemptAt requirednumber | null
deliveries[].responseExcerpt requiredstring | null
deliveries[].status requiredstring
deliveries[].statusCode requirednumber | null
deliveries[].webhookId requiredstring

POST /api/v1/webhooks/{id}/deliveries/{did}/redeliver

Webhook delivery redeliver · Token or session

queue the same body with a new id → 202 {delivery}

Path parameters
FieldTypeDescription
id requiredstringpath
did requiredstringpath
Response 202
FieldTypeDescription
delivery requiredobject | null
delivery.attempts requirednumber
delivery.createdAt requirednumber
delivery.deliveredAt requirednumber | null
delivery.durationMs requirednumber | null
delivery.error requiredstring | null
delivery.event requiredstring
delivery.id requiredstring
delivery.nextAttemptAt requirednumber | null
delivery.responseExcerpt requiredstring | null
delivery.status requiredstring
delivery.statusCode requirednumber | null
delivery.webhookId requiredstring

POST /api/v1/webhooks/{id}/test

Webhook test · Token or session

send a ping now → {ok, delivery}

Path parameters
FieldTypeDescription
id requiredstringpath
Response 200
FieldTypeDescription
delivery requiredobject | null
delivery.attempts requirednumber
delivery.createdAt requirednumber
delivery.deliveredAt requirednumber | null
delivery.durationMs requirednumber | null
delivery.error requiredstring | null
delivery.event requiredstring
delivery.id requiredstring
delivery.nextAttemptAt requirednumber | null
delivery.responseExcerpt requiredstring | null
delivery.status requiredstring
delivery.statusCode requirednumber | null
delivery.webhookId requiredstring
ok requiredboolean

This group in the HTTP API guide