Skip to 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.

Create new call attributes with the provided details.

POST /integrations/organization-detail-api/

Headers

NameValue
AuthorizationBearer Access Token
Content-Typeapplication/json

Query Parameters

NameTypeRequiredDescription
emailstringNoThe email of Frejun User

Payload

call_outcomes
array of string

List of call outcomes to add

call_reasons
array of string

List of call reasons to add

tags
array of string

List of tags to add

Response

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

Retrieve all call attributes associated with your organization.

GET /integrations/organization-detail-api/

Headers

NameValue
AuthorizationBearer Access Token

Query Parameters

NameTypeRequiredDescription
emailstringNoThe email of Frejun User

Response

{
"success": true,
"call_outcome": [
"string"
],
"call_reason": [
"string"
],
"call_tag": [
{
"id": 0,
"name": "string"
}
]
}

Delete call attributes by their name.

PATCH /integrations/organization-detail-api/

Headers

NameValue
AuthorizationBearer Access Token
Content-Typeapplication/json

Query Parameters

NameTypeRequiredDescription
emailstringNoThe email of Frejun User

Payload

call_outcomes_to_remove
array of string

List of call outcomes to remove

call_reasons_to_remove
array of string

List of call reasons to remove

tags_to_remove
array of string

List of tags to remove

Response

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