Skip to content

Create a handoff ticket

POST
/projects/{id}/tickets
curl --request POST \
--url https://example.com/api/projects/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/tickets \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "title": "example", "description": "example", "request_type": "bug", "roles": [ "frontend" ], "priority": "low", "blocking": false, "evidence": {}, "suggested_resolution": "example", "implementation_notes": "example", "actor_role": "example", "actor_id": "example", "source": "example" }'
id
required
string format: uuid

Project UUID

Media type application/json
object
title
required
string
>= 5 characters <= 140 characters
description
required
string
>= 10 characters <= 5000 characters
request_type
required
string
Allowed values: bug clarification_needed decision_needed feature_request
roles

Explicit role assignments (required for MCP bot ticket creation).

Array<string>
Allowed values: frontend backend design devops qa other
priority
required
string
Allowed values: low medium high
blocking
required
boolean
evidence
object
key
additional properties
any
suggested_resolution
string
<= 2000 characters
implementation_notes

Implementation guidance for the assignee

string
<= 5000 characters
actor_role

Optional actor role; defaults to user in portal.

string
actor_id

Optional actor id; defaults to current user in portal.

string
source

Optional source; defaults to portal in portal API.

string

Created ticket

Media type application/json
object
ticket
required
object
id
required
string format: uuid
status
required
string
created_at
required
string format: date-time

Invalid request

Media type application/json
object
error
required

Human-readable error message

string
code

Stable machine-readable error code for client branching

string
fieldErrors

First validation message per field path

object
key
additional properties
string
issues

Structured validation issues (Zod)

Array<object>
object
path
required
string
message
required
string
retryAfter

Seconds until rate limit resets (429 responses)

number

Not authenticated

Media type application/json
object
error
required

Human-readable error message

string
code

Stable machine-readable error code for client branching

string
fieldErrors

First validation message per field path

object
key
additional properties
string
issues

Structured validation issues (Zod)

Array<object>
object
path
required
string
message
required
string
retryAfter

Seconds until rate limit resets (429 responses)

number
reconnect

True if re-linking GitHub may fix the issue

boolean

Forbidden

Media type application/json
object
error
required

Human-readable error message

string
code

Stable machine-readable error code for client branching

string
fieldErrors

First validation message per field path

object
key
additional properties
string
issues

Structured validation issues (Zod)

Array<object>
object
path
required
string
message
required
string
retryAfter

Seconds until rate limit resets (429 responses)

number