Skip to main content
POST
Typescript (SDK)

Authorizations

Authorization
string
header
required

API key in the format: Bearer {api_token}

Headers

Idempotency-Key
string

Makes this write safe to retry: a repeat with the same key replays the first response instead of creating a second resource. Scoped to the account, remembered for 24 hours; reusing a key with a different payload is an error.

Maximum string length: 255

Path Parameters

id
string
required

Approval id (apr_...)

Body

application/json
reason
string

Optional reason recorded on the approval

Response

Success

object
string
required
id
string
required
approval_id
string
required
status
string
required
kind
string
required
action_type
string | null
required
title
string | null
required
app_slug
string | null
required
tool_name
string | null
required
result
object | null
required
error
string | null
required
reason
string | null
required
chat_id
string | null
required
created_at
string
required
resolved_at
string | null
required