Skip to content

Account Management API

Open API playground All endpoints

Manage account-level calling attributes such as outcomes, reasons, and tags.

List Call Dispositions

GET/api/v2/integrations/organization-detail-api/

Retrieve call outcomes, call reasons, and tags for the organization.

Auth: Authorization header or Authorization: Bearer

Parameters

NameInTypeDescription
emailquerystring | null

The email of Frejun User

Responses

StatusDescription
200

Successful Response

400

Bad Request

401

Unauthorized

404

Not Found

500

Internal Server Error

Example response (200)
{
  "success": true,
  "call_outcome": [
    "string"
  ],
  "call_reason": [
    "string"
  ],
  "call_tag": [
    {
      "id": 0,
      "name": "string"
    }
  ]
}

Add Call Dispositions

POST/api/v2/integrations/organization-detail-api/

Add call outcomes, call reasons, and/or tags to the organization.

Enforces limits of 15 call outcomes, 10 call reasons. Duplicates are ignored and only newly added items are returned.

Auth: Authorization header or Authorization: Bearer

Parameters

NameInTypeDescription
emailquerystring | null

The email of Frejun User

Request body

call_outcomesarray of string | null

List of call outcomes to add

call_reasonsarray of string | null

List of call reasons to add

tagsarray of string | null

List of tags to add

Example request
{
  "call_outcomes": [],
  "call_reasons": [],
  "tags": []
}

Responses

StatusDescription
200

Successful Response

400

Bad Request

401

Unauthorized

404

Not Found

500

Internal Server Error

Example response (200)
{
  "success": true,
  "added_call_outcomes": [
    "string"
  ],
  "added_call_reasons": [
    "string"
  ],
  "added_tags": [
    "string"
  ]
}

Delete call dispositions

PATCH/api/v2/integrations/organization-detail-api/

Remove call outcomes, call reasons, and/or tags from the organization.

Requires the 'manage call dispositions' feature permission. Returns the lists of items that were actually removed.

Auth: Authorization header or Authorization: Bearer

Parameters

NameInTypeDescription
emailquerystring | null

The email of Frejun User

Request body

call_outcomes_to_removearray of string | null

List of call outcomes to remove

call_reasons_to_removearray of string | null

List of call reasons to remove

tags_to_removearray of string | null

List of tags to remove

Example request
{
  "call_outcomes_to_remove": [],
  "call_reasons_to_remove": [],
  "tags_to_remove": []
}

Responses

StatusDescription
200

Successful Response

400

Bad Request

401

Unauthorized

404

Not Found

500

Internal Server Error

Example response (200)
{
  "success": true,
  "removed_call_outcomes": [
    "string"
  ],
  "removed_call_reasons": [
    "string"
  ],
  "removed_tags": [
    "string"
  ]
}