Manage Call Attributes
Call attributes are metadata associated with calls in your FreJun account. They can be used to store additional information about calls, such as the purpose of the call, the department handling it, or any other relevant details.
Creating Call Attributes
Section titled “Creating Call Attributes”Create new call attributes with the provided details.
POST /integrations/organization-detail-api/
Headers
| Name | Value |
|---|---|
| Authorization | Bearer Access Token |
| Content-Type | application/json |
Query Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| string | No | The email of Frejun User |
Payload
call_outcomesarray of string
List of call outcomes to add
call_reasonsarray of string
List of call reasons to add
tagsarray of string
List of tags to add
Response
{ "success": true, "added_call_outcomes": [ "string" ], "added_call_reasons": [ "string" ], "added_tags": [ "string" ]}Retrieving Call Attributes
Section titled “Retrieving Call Attributes”Retrieve all call attributes associated with your organization.
GET /integrations/organization-detail-api/
Headers
| Name | Value |
|---|---|
| Authorization | Bearer Access Token |
Query Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| string | No | The email of Frejun User |
Response
{ "success": true, "call_outcome": [ "string" ], "call_reason": [ "string" ], "call_tag": [ { "id": 0, "name": "string" } ]}Deleting Call Attributes
Section titled “Deleting Call Attributes”Delete call attributes by their name.
PATCH /integrations/organization-detail-api/
Headers
| Name | Value |
|---|---|
| Authorization | Bearer Access Token |
| Content-Type | application/json |
Query Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| string | No | The email of Frejun User |
Payload
call_outcomes_to_removearray of string
List of call outcomes to remove
call_reasons_to_removearray of string
List of call reasons to remove
tags_to_removearray of string
List of tags to remove
Response
{ "success": true, "removed_call_outcomes": [ "string" ], "removed_call_reasons": [ "string" ], "removed_tags": [ "string" ]}