Skip to main content

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

Create new call attributes with the provided details.

POST/api/v1/integrations/organization-detail-api/

Headers

NameValue
AuthorizationBearer Access Token
Content-Typeapplication/json

Query Parameters

NameTypeRequiredDescription
emailstringYesThe email of Frejun User

Payload

call_outcomes
Array of strings

List of call outcomes to add

call_reasons
Array of strings

List of call reasons to add

tags
Array of strings

List of tags to add

Response

{
"success": true,
"added_call_outcomes": [
"string"
],
"added_call_reasons": [
"string"
],
"added_tags": [
"string"
]
}

Retrieving Call Attributes

Retrieve all call attributes associated with your organization.

GET/api/v1/integrations/organization-detail-api/

Headers

NameValue
AuthorizationBearer Access Token

Query Parameters

NameTypeRequiredDescription
emailstringYesThe email of Frejun User

Response

{
"success": true,
"calloutcome": [
"string"
],
"call_result": [
"string"
],
"call_tag": [
{
"id": "integer",
"name": "string"
}
]
}

Deleting Call Attributes

Delete call attributes by their name.

PATCH/api/v1/integrations/organization-detail-api/

Headers

NameValue
AuthorizationBearer Access Token
Content-Typeapplication/json

Query Parameters

NameTypeRequiredDescription
emailstringYesThe email of Frejun User

Payload

call_outcomes_to_remove
Array of strings

List of call outcomes to remove

call_reasons_to_remove
Array of strings

List of call reasons to remove

tags_to_remove
Array of strings

List of tags to remove

Response

{
"success": true,
"removed_call_outcomes": [
"string"
],
"removed_call_reasons": [
"string"
],
"removed_tags": [
"string"
]
}