OnyxDeck

Integrations / API

REST API v1 v1.0.0

Manage tasks, boards, projects, members, labels and comments from your own tools, and subscribe to events with REST hooks. This page is generated from the OpenAPI 3.1 schema.

Download the OpenAPI schema (JSON)

Authentication

  1. In OnyxDeck open Settings → Developer (API), create a token and pick the scopes you need.
  2. Send the token on every request as Authorization: Bearer onx_agnt_….
  3. 120 requests per minute per token. Over the limit you get 429 with Retry-After.
export ONYXDECK_TOKEN=onx_agnt_...
curl https://onyxdeck.com/api/v1/me \
  -H "Authorization: Bearer $ONYXDECK_TOKEN"
Scopes
ScopeGrants
task:readList and read tasks
task:writeCreate, update and delete tasks
board:readRead boards and columns
comment:readRead comments
comment:writeAdd comments
webhook:manageManage REST hook subscriptions (Zapier/Make)
project:readList and read projects
member:readList workspace members
label:readRead labels and task labels
label:writeCreate labels, add/remove labels on tasks

Pagination and errors

List endpoints are cursor-paginated: send limit (1–100, default 50) and cursor set to page.next_cursor from the previous response.

{
  "data": [ … ],
  "page": { "has_more": true, "next_cursor": "eyJvIjo1MH0" }
}

Errors always use the same envelope; quote request_id when you contact support.

{
  "error": {
    "code": "SCOPE_REQUIRED",
    "message": "This token does not have the required scope: label:write",
    "request_id": "9f0c…",
    "required_scope": "label:write"
  }
}

Auth

Token and connection test

GET/me

Token and workspace info (Zapier connection test)

Required scope: none (any valid token)

Parameters
ParameterInTypeDescription
X-Request-IdheaderstringOptional correlation id, echoed back in the response.

curl

curl -X GET 'https://onyxdeck.com/api/v1/me' \
  -H "Authorization: Bearer $ONYXDECK_TOKEN"

Responses

  • 200 OK
  • 401 Token missing, invalid, expired or revoked
  • 403 The token lacks the required scope
  • 429 Rate limit exceeded (120 requests/minute per token)

Tasks

Task CRUD

GET/tasks

List tasks

Required scope: task:read

Parameters
ParameterInTypeDescription
statusquerystringComma-separated statuses
board_idquerystring (uuid)—
assignee_idquerystring (uuid)—
updated_sincequerystring (date-time)—
qquerystringSearch in the title
limitqueryinteger—
cursorquerystring`page.next_cursor` from the previous response.
X-Request-IdheaderstringOptional correlation id, echoed back in the response.

curl

curl -X GET 'https://onyxdeck.com/api/v1/tasks' \
  -H "Authorization: Bearer $ONYXDECK_TOKEN"

Responses

  • 200 OK
  • 401 Token missing, invalid, expired or revoked
  • 403 The token lacks the required scope
  • 422 Validation error
  • 429 Rate limit exceeded (120 requests/minute per token)
POST/tasks

Create a task

Required scope: task:write

Parameters
ParameterInTypeDescription
Idempotency-KeyheaderstringA retry with the same key does not create a second task.
X-Request-IdheaderstringOptional correlation id, echoed back in the response.

Example body

{
  "title": "Ship the release notes",
  "priority": "High",
  "due_date": "2026-12-01T09:00:00Z"
}

curl

curl -X POST 'https://onyxdeck.com/api/v1/tasks' \
  -H "Authorization: Bearer $ONYXDECK_TOKEN" \
  -H 'Content-Type: application/json' \
  -d '{"title":"Ship the release notes","priority":"High","due_date":"2026-12-01T09:00:00Z"}'

Responses

  • 200 OK
  • 201 Created
  • 401 Token missing, invalid, expired or revoked
  • 403 The token lacks the required scope
  • 422 Validation error
  • 429 Rate limit exceeded (120 requests/minute per token)
GET/tasks/{id}

Get a task

Required scope: task:read

Parameters
ParameterInTypeDescription
id*pathstring (uuid)—
X-Request-IdheaderstringOptional correlation id, echoed back in the response.

curl

curl -X GET 'https://onyxdeck.com/api/v1/tasks/<id>' \
  -H "Authorization: Bearer $ONYXDECK_TOKEN"

Responses

  • 200 OK
  • 401 Token missing, invalid, expired or revoked
  • 403 The token lacks the required scope
  • 404 Not found
  • 429 Rate limit exceeded (120 requests/minute per token)
PATCH/tasks/{id}

Update a task

Required scope: task:write

Parameters
ParameterInTypeDescription
id*pathstring (uuid)—
X-Request-IdheaderstringOptional correlation id, echoed back in the response.

Example body

{
  "status": "In Progress"
}

curl

curl -X PATCH 'https://onyxdeck.com/api/v1/tasks/<id>' \
  -H "Authorization: Bearer $ONYXDECK_TOKEN" \
  -H 'Content-Type: application/json' \
  -d '{"status":"In Progress"}'

Responses

  • 200 OK
  • 401 Token missing, invalid, expired or revoked
  • 403 The token lacks the required scope
  • 404 Not found
  • 422 Validation error
  • 429 Rate limit exceeded (120 requests/minute per token)
DELETE/tasks/{id}

Move a task to the trash

Required scope: task:write

Parameters
ParameterInTypeDescription
id*pathstring (uuid)—
X-Request-IdheaderstringOptional correlation id, echoed back in the response.

curl

curl -X DELETE 'https://onyxdeck.com/api/v1/tasks/<id>' \
  -H "Authorization: Bearer $ONYXDECK_TOKEN"

Responses

  • 204 No content
  • 401 Token missing, invalid, expired or revoked
  • 403 The token lacks the required scope
  • 404 Not found
  • 429 Rate limit exceeded (120 requests/minute per token)

Boards

Boards and columns

GET/boards

List boards with their columns

Required scope: board:read

Parameters
ParameterInTypeDescription
limitqueryinteger—
cursorquerystring`page.next_cursor` from the previous response.
X-Request-IdheaderstringOptional correlation id, echoed back in the response.

curl

curl -X GET 'https://onyxdeck.com/api/v1/boards' \
  -H "Authorization: Bearer $ONYXDECK_TOKEN"

Responses

  • 200 OK
  • 401 Token missing, invalid, expired or revoked
  • 403 The token lacks the required scope
  • 429 Rate limit exceeded (120 requests/minute per token)

Projects

Projects (read-only)

GET/projects

List projects

Required scope: project:read

Parameters
ParameterInTypeDescription
statusquerystringComma-separated statuses: planned, active, paused, done, archived
limitqueryinteger—
cursorquerystring`page.next_cursor` from the previous response.
X-Request-IdheaderstringOptional correlation id, echoed back in the response.

curl

curl -X GET 'https://onyxdeck.com/api/v1/projects' \
  -H "Authorization: Bearer $ONYXDECK_TOKEN"

Responses

  • 200 OK
  • 401 Token missing, invalid, expired or revoked
  • 403 The token lacks the required scope
  • 422 Validation error
  • 429 Rate limit exceeded (120 requests/minute per token)
GET/projects/{id}

Get a project

Required scope: project:read

Parameters
ParameterInTypeDescription
id*pathstring (uuid)—
X-Request-IdheaderstringOptional correlation id, echoed back in the response.

curl

curl -X GET 'https://onyxdeck.com/api/v1/projects/<id>' \
  -H "Authorization: Bearer $ONYXDECK_TOKEN"

Responses

  • 200 OK
  • 401 Token missing, invalid, expired or revoked
  • 403 The token lacks the required scope
  • 404 Not found
  • 429 Rate limit exceeded (120 requests/minute per token)

Members

Members (read-only)

GET/members

List workspace members (read-only)

Required scope: member:read

Parameters
ParameterInTypeDescription
rolequerystring—
qquerystringSearch in the name
limitqueryinteger—
cursorquerystring`page.next_cursor` from the previous response.
X-Request-IdheaderstringOptional correlation id, echoed back in the response.

curl

curl -X GET 'https://onyxdeck.com/api/v1/members' \
  -H "Authorization: Bearer $ONYXDECK_TOKEN"

Responses

  • 200 OK
  • 401 Token missing, invalid, expired or revoked
  • 403 The token lacks the required scope
  • 422 Validation error
  • 429 Rate limit exceeded (120 requests/minute per token)

Labels

Labels and task labels

GET/labels

List labels

Required scope: label:read

Parameters
ParameterInTypeDescription
qquerystringSearch in the name
limitqueryinteger—
cursorquerystring`page.next_cursor` from the previous response.
X-Request-IdheaderstringOptional correlation id, echoed back in the response.

curl

curl -X GET 'https://onyxdeck.com/api/v1/labels' \
  -H "Authorization: Bearer $ONYXDECK_TOKEN"

Responses

  • 200 OK
  • 401 Token missing, invalid, expired or revoked
  • 403 The token lacks the required scope
  • 422 Validation error
  • 429 Rate limit exceeded (120 requests/minute per token)
POST/labels

Create a label

Required scope: label:write

Parameters
ParameterInTypeDescription
X-Request-IdheaderstringOptional correlation id, echoed back in the response.

Example body

{
  "name": "customer",
  "color": "#0ea5e9"
}

curl

curl -X POST 'https://onyxdeck.com/api/v1/labels' \
  -H "Authorization: Bearer $ONYXDECK_TOKEN" \
  -H 'Content-Type: application/json' \
  -d '{"name":"customer","color":"#0ea5e9"}'

Responses

  • 201 Created
  • 401 Token missing, invalid, expired or revoked
  • 403 The token lacks the required scope
  • 409 Conflict
  • 422 Validation error
  • 429 Rate limit exceeded (120 requests/minute per token)
GET/tasks/{id}/labels

Labels on a task

Required scope: label:read

Parameters
ParameterInTypeDescription
id*pathstring (uuid)—
X-Request-IdheaderstringOptional correlation id, echoed back in the response.

curl

curl -X GET 'https://onyxdeck.com/api/v1/tasks/<id>/labels' \
  -H "Authorization: Bearer $ONYXDECK_TOKEN"

Responses

  • 200 OK
  • 401 Token missing, invalid, expired or revoked
  • 403 The token lacks the required scope
  • 404 Not found
  • 429 Rate limit exceeded (120 requests/minute per token)
POST/tasks/{id}/labels

Add a label to a task (idempotent)

Required scope: label:write

Parameters
ParameterInTypeDescription
id*pathstring (uuid)—
X-Request-IdheaderstringOptional correlation id, echoed back in the response.

Example body

{
  "label_id": "7d1c5c3e-0000-4000-8000-000000000002"
}

curl

curl -X POST 'https://onyxdeck.com/api/v1/tasks/<id>/labels' \
  -H "Authorization: Bearer $ONYXDECK_TOKEN" \
  -H 'Content-Type: application/json' \
  -d '{"label_id":"7d1c5c3e-0000-4000-8000-000000000002"}'

Responses

  • 200 OK
  • 201 Created
  • 401 Token missing, invalid, expired or revoked
  • 403 The token lacks the required scope
  • 404 Not found
  • 422 Validation error
  • 429 Rate limit exceeded (120 requests/minute per token)
DELETE/tasks/{id}/labels/{label_id}

Remove a label from a task

Required scope: label:write

Parameters
ParameterInTypeDescription
id*pathstring (uuid)—
label_id*pathstring (uuid)—
X-Request-IdheaderstringOptional correlation id, echoed back in the response.

curl

curl -X DELETE 'https://onyxdeck.com/api/v1/tasks/<id>/labels/<label_id>' \
  -H "Authorization: Bearer $ONYXDECK_TOKEN"

Responses

  • 204 No content
  • 401 Token missing, invalid, expired or revoked
  • 403 The token lacks the required scope
  • 404 Not found
  • 429 Rate limit exceeded (120 requests/minute per token)

Comments

Task comments

GET/comments

List comments (of one task or of the whole workspace)

Required scope: comment:read

Parameters
ParameterInTypeDescription
task_idquerystring (uuid)With it: that task’s comments, oldest first. Without it: the workspace’s latest comments, newest first.
limitqueryinteger—
cursorquerystring`page.next_cursor` from the previous response.
X-Request-IdheaderstringOptional correlation id, echoed back in the response.

curl

curl -X GET 'https://onyxdeck.com/api/v1/comments' \
  -H "Authorization: Bearer $ONYXDECK_TOKEN"

Responses

  • 200 OK
  • 401 Token missing, invalid, expired or revoked
  • 403 The token lacks the required scope
  • 404 Not found
  • 422 Validation error
  • 429 Rate limit exceeded (120 requests/minute per token)
POST/comments

Add a comment to a task

Required scope: comment:write

Parameters
ParameterInTypeDescription
X-Request-IdheaderstringOptional correlation id, echoed back in the response.

Example body

{
  "task_id": "7d1c5c3e-0000-4000-8000-000000000001",
  "body": "Deployed to staging."
}

curl

curl -X POST 'https://onyxdeck.com/api/v1/comments' \
  -H "Authorization: Bearer $ONYXDECK_TOKEN" \
  -H 'Content-Type: application/json' \
  -d '{"task_id":"7d1c5c3e-0000-4000-8000-000000000001","body":"Deployed to staging."}'

Responses

  • 201 Created
  • 401 Token missing, invalid, expired or revoked
  • 403 The token lacks the required scope
  • 404 Not found
  • 422 Validation error
  • 429 Rate limit exceeded (120 requests/minute per token)

Webhooks

REST hook subscriptions

GET/webhooks

REST hook subscriptions created via the API

Required scope: webhook:manage

Parameters
ParameterInTypeDescription
X-Request-IdheaderstringOptional correlation id, echoed back in the response.

curl

curl -X GET 'https://onyxdeck.com/api/v1/webhooks' \
  -H "Authorization: Bearer $ONYXDECK_TOKEN"

Responses

  • 200 OK
  • 401 Token missing, invalid, expired or revoked
  • 403 The token lacks the required scope
  • 429 Rate limit exceeded (120 requests/minute per token)
POST/webhooks

Open a REST hook subscription (Zapier/Make “subscribe”)

Required scope: webhook:manage

Parameters
ParameterInTypeDescription
X-Request-IdheaderstringOptional correlation id, echoed back in the response.

Example body

{
  "target_url": "https://hooks.example.com/onyxdeck",
  "events": [
    "task.created",
    "task.completed"
  ]
}

curl

curl -X POST 'https://onyxdeck.com/api/v1/webhooks' \
  -H "Authorization: Bearer $ONYXDECK_TOKEN" \
  -H 'Content-Type: application/json' \
  -d '{"target_url":"https://hooks.example.com/onyxdeck","events":["task.created","task.completed"]}'

Responses

  • 201 Created
  • 401 Token missing, invalid, expired or revoked
  • 403 The token lacks the required scope
  • 422 Validation error
  • 429 Rate limit exceeded (120 requests/minute per token)
GET/webhooks/{id}

Get a subscription

Required scope: webhook:manage

Parameters
ParameterInTypeDescription
id*pathstring (uuid)—
X-Request-IdheaderstringOptional correlation id, echoed back in the response.

curl

curl -X GET 'https://onyxdeck.com/api/v1/webhooks/<id>' \
  -H "Authorization: Bearer $ONYXDECK_TOKEN"

Responses

  • 200 OK
  • 401 Token missing, invalid, expired or revoked
  • 403 The token lacks the required scope
  • 404 Not found
  • 429 Rate limit exceeded (120 requests/minute per token)
DELETE/webhooks/{id}

Close a subscription (Zapier/Make “unsubscribe”)

Required scope: webhook:manage

Parameters
ParameterInTypeDescription
id*pathstring (uuid)—
X-Request-IdheaderstringOptional correlation id, echoed back in the response.

curl

curl -X DELETE 'https://onyxdeck.com/api/v1/webhooks/<id>' \
  -H "Authorization: Bearer $ONYXDECK_TOKEN"

Responses

  • 204 No content
  • 401 Token missing, invalid, expired or revoked
  • 403 The token lacks the required scope
  • 404 Not found
  • 429 Rate limit exceeded (120 requests/minute per token)

Webhook delivery

Events you subscribe to with POST /webhooks are delivered as JSON and signed with HMAC-SHA256. Non-2xx responses (5xx/429) are retried.

Events: task.createdtask.updatedtask.status_changedtask.completedtask.deletedcomment.created

X-OnyxDeck-Timestamp: 1763500000
X-OnyxDeck-Signature-256: t=1763500000,v1=<hex hmac_sha256(secret, timestamp + "." + rawBody)>

Reject signatures older than 5 minutes.