Skip to content

Create or replay a ticket for one Context Capture report

POST
/integrations/context-capture/v1/tickets
curl --request POST \
--url https://example.com/api/integrations/context-capture/v1/tickets \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "externalReportId": "example", "title": "example", "description": "example" }'

Private integration endpoint. The ah_cc credential is bound to one project.

Media type application/json
object
externalReportId
required
string
>= 1 characters <= 200 characters
title
required
string
>= 5 characters <= 140 characters
description
required
string
>= 10 characters <= 5000 characters

Existing linked ticket

Media type application/json
object
id
required
string format: uuid
number
required
integer
>= 1
title
required
string
status
required
string
Allowed values: open closed
stage
required
string
Allowed values: backlog up_next in_progress validation live
priority
required
string
Allowed values: low medium high
revision
required
string format: date-time
updatedAt
required
string format: date-time
portalUrl
required
string format: uri

Ticket created

Media type application/json
object
id
required
string format: uuid
number
required
integer
>= 1
title
required
string
status
required
string
Allowed values: open closed
stage
required
string
Allowed values: backlog up_next in_progress validation live
priority
required
string
Allowed values: low medium high
revision
required
string format: date-time
updatedAt
required
string format: date-time
portalUrl
required
string format: uri

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

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

Rate limited