Call Frequency
A cap on how many times contacts in specified states can be called within a set time interval.
GET /state_call_limits
Authorization Requiredhttps://[your-subdomain].trackdrive.com/api/v1/state_call_limits
List State Call Frequency records.
Lists State Call Frequency rules, which cap how often calls can be placed to phone numbers in specific US states over a configured interval. Requires the company_preferences permission.
Params
| Param name | Description |
|---|---|
|
ids Optional |
Return records matching these ids.
|
|
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 /state_call_limits/new
Authorization Requiredhttps://[your-subdomain].trackdrive.com/api/v1/state_call_limits/new
Build State Call Frequency with defaults.
Builds a State Call Frequency rule with default attributes without saving it.
Params
| Param name | Description |
|---|---|
|
states Optional Blank value allowed |
States
|
|
name Optional Blank value allowed |
Name
|
|
call_limit_interval Optional Blank value allowed |
Call Limit Interval
|
|
call_limit_limit Optional Blank value allowed |
Call Limit Limit
|
POST /state_call_limits
Authorization Requiredhttps://[your-subdomain].trackdrive.com/api/v1/state_call_limits
Create State Call Frequency.
Creates a State Call Frequency rule specifying the states it applies to along with the call limit and interval.
Params
| Param name | Description |
|---|---|
|
states Optional Blank value allowed |
States
|
|
name Optional Blank value allowed |
Name
|
|
call_limit_interval Optional Blank value allowed |
Call Limit Interval
|
|
call_limit_limit Optional Blank value allowed |
Call Limit Limit
|
GET /state_call_limits/:id
Authorization Requiredhttps://[your-subdomain].trackdrive.com/api/v1/state_call_limits/:id
Get State Call Frequency by id.
Retrieves a State Call Frequency rule by id.
PUT /state_call_limits/:id
Authorization Requiredhttps://[your-subdomain].trackdrive.com/api/v1/state_call_limits/:id
Update State Call Frequency by id.
Updates a State Call Frequency rule's states or limit. System-provided rules (those with a template_id) cannot be modified and the request is rejected.
Params
| Param name | Description |
|---|---|
|
states Optional Blank value allowed |
States
|
|
name Optional Blank value allowed |
Name
|
|
call_limit_interval Optional Blank value allowed |
Call Limit Interval
|
|
call_limit_limit Optional Blank value allowed |
Call Limit Limit
|
DELETE /state_call_limits/:id
Authorization Requiredhttps://[your-subdomain].trackdrive.com/api/v1/state_call_limits/:id
Destroy State Call Frequency by id.
Deletes a State Call Frequency rule by id. System-provided rules (those with a template_id) cannot be deleted and the request is rejected.