main
organizations

Get Disposition Codes

Changed on

Serve the disposition catalog so clients never hardcode the list.

Built-in codes come from the enums that write the field; custom codes are whatever this organization's finished runs have actually recorded, so an org with a disposition mapping still gets a usable filter.

get/api/v1/organizations/disposition-codes

Request

  • Base URL
    https://app.dograh.com
  • URL
    https://app.dograh.com/api/v1/organizations/disposition-codes
  • Auth
    none declared

Headers

authorizationstring nullable
X-API-Keystring nullable

Response

Successful Response

codesstring[] required

Every code that can appear in gathered_context.mapped_call_disposition: the platform's built-in dispositions plus any custom mapped codes this organization's runs have produced.

end_task_reason_codesstring[] required

Disposition codes defined by Pipecat's EndTaskReason enum.

system_codesstring[] required

Only the platform's built-in dispositions, without the custom codes this organization's runs have produced. This is the set a disposition mapping translates from, so the mapping editor seeds its rows here: codes also contains mapped codes, which are the targets of a mapping rather than its sources.

Changes