Agents: Call Centers
A group of agents who share softphone settings and can be assigned to handle calls together.
GET /call_centers
Authorization Requiredhttps://[your-subdomain].trackdrive.net/api/v1/call_centers
List Call Center records.
List the call centers configured in your account, used to group agents under a shared softphone provider.
Params
| Param name | Description |
|---|---|
|
page Optional |
Return the next page of results.
|
|
per_page Optional |
How many results to return per page. The default is 25.
|
|
created_at_to Optional |
Date formatted like 2016-01-01 12:25:15 -0500
|
|
created_at_from Optional |
Date formatted like 2016-01-01 12:25:15 -0500
|
|
fulltext Optional |
Search for any record that matches this text
|
|
time_zone Optional |
Date ranges will be parsed using this time zone.
|
|
columns Optional |
Specify the columns you would like returned by the API for a given resource.
Limiting the columns can significantly increase API response time since only the requested data will be processed.
columns=uuid,number,created_at
Must be any combination of:
|
|
root Optional |
Pass
|
GET /call_centers/new
Authorization Requiredhttps://[your-subdomain].trackdrive.net/api/v1/call_centers/new
Build Call Center with defaults.
Return a new, unsaved call center pre-filled with defaults.
Params
| Param name | Description |
|---|---|
|
name Optional Blank value allowed |
Name
|
|
description Optional Blank value allowed |
Description
|
|
user_call_center_id Optional Blank value allowed |
Your external ID for this call center.
|
|
record_token_additional_id Optional Blank value allowed |
Record Token Additional
|
|
external_record_id Optional Blank value allowed |
Your own identifier for this call center, used to correlate it with a record in an external system.
|
|
attribution_token_value_ids Optional Blank value allowed |
The ids of the Token Values whose tokens will be additionally applied to calls handled by this call center.
|
|
record_token_additional_list Optional Blank value allowed |
Assign additional tokens that will be applied to leads and calls by passing a comma separated string of key:value pairs.
|
POST /call_centers
Authorization Requiredhttps://[your-subdomain].trackdrive.net/api/v1/call_centers
Create Call Center.
Create a call center with a name and your own external identifier (user_call_center_id), and choose the softphone provider its agents will connect through.
Params
| Param name | Description |
|---|---|
|
name Optional Blank value allowed |
Name
|
|
description Optional Blank value allowed |
Description
|
|
user_call_center_id Optional Blank value allowed |
Your external ID for this call center.
|
|
record_token_additional_id Optional Blank value allowed |
Record Token Additional
|
|
external_record_id Optional Blank value allowed |
Your own identifier for this call center, used to correlate it with a record in an external system.
|
|
attribution_token_value_ids Optional Blank value allowed |
The ids of the Token Values whose tokens will be additionally applied to calls handled by this call center.
|
|
record_token_additional_list Optional Blank value allowed |
Assign additional tokens that will be applied to leads and calls by passing a comma separated string of key:value pairs.
|
GET /call_centers/:id
Authorization Requiredhttps://[your-subdomain].trackdrive.net/api/v1/call_centers/:id
Get Call Center by id.
Retrieve a single call center by id.
PUT /call_centers/:id
Authorization Requiredhttps://[your-subdomain].trackdrive.net/api/v1/call_centers/:id
Update Call Center by id.
Rename a call center or change its softphone provider. Changing the provider re-applies it to the softphone URLs of the call center's agents.
Params
| Param name | Description |
|---|---|
|
name Optional Blank value allowed |
Name
|
|
description Optional Blank value allowed |
Description
|
|
user_call_center_id Optional Blank value allowed |
Your external ID for this call center.
|
|
record_token_additional_id Optional Blank value allowed |
Record Token Additional
|
|
external_record_id Optional Blank value allowed |
Your own identifier for this call center, used to correlate it with a record in an external system.
|
|
attribution_token_value_ids Optional Blank value allowed |
The ids of the Token Values whose tokens will be additionally applied to calls handled by this call center.
|
|
record_token_additional_list Optional Blank value allowed |
Assign additional tokens that will be applied to leads and calls by passing a comma separated string of key:value pairs.
|
DELETE /call_centers/:id
Authorization Requiredhttps://[your-subdomain].trackdrive.net/api/v1/call_centers/:id
Destroy Call Center by id.
Permanently delete a call center.