Skip to main content
POST
Change who answers a conversation (handover)

Request contract

  • Method and path: POST /apis/v1/social/inbox/conversations/{conversationId}/thread-control
  • Availability: enabled
  • Request URL template: https://api.aisa.one/apis/v1/social/inbox/conversations/{conversationId}/thread-control
  • conversationId: path; required
Complete OpenAPI definition Effective request declaration (including authentication and referenced schemas):

Cost and request rules

No additional charge for this operation.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

conversationId
string
required

The conversation ID

Body

application/json
accountId
string
required

One of your social accounts (acc_...).

Pattern: ^acc_[0-9A-Za-z]{22}$
action
enum<string>
required

request is Facebook and Instagram only. take and request are refused with platform_not_supported on Instagram accounts connected with Instagram Login.

Available options:
release,
take,
pass,
request
metadata
string

Free-form note forwarded verbatim to the app receiving control (its messaging_handovers webhook).

Maximum string length: 2000
target
enum<string>

WhatsApp only. With action pass: send control to Meta Business Agent instead of the escalation partner.

Available options:
ai_agent
targetAppId
string

Facebook and Instagram only, required with action pass: the Meta app id receiving the thread.

Pattern: ^[0-9]+$

Response

Control transferred (or, for request, asked for)

control
object
success
boolean