Find texts

GET {{baseUrl}}/texts?fields=<string>&limit=<integer>&offset=<integer>&id=<integer>&campaignId=<integer>&batchId=<integer>&fromNumber=<string>&toNumber=<string>&label=<string>&states=<string>&results=<string>&inbound=<boolean>&intervalBegin=<integer>&intervalEnd=<integer>

Searches for texts sent or received by user. Use campaignId=0 parameter to query for all texts sent through the POST /texts API. See call states and results

Request Params

KeyDatatypeRequiredDescription
fieldsstringLimit fields received in response. E.g. fields: id, name or fields items (id, name), see more at partial response page.
limitstringTo set the maximum number of records to return in a paged list response. The default is 100
offsetstringOffset to the start of a given page. The default is 0. Check pagination page for more information about pagination in CallFire API.
idstringLists the Call ids to search for. If calls ids are specified then other query parameters can be ignored
campaignIdstringAn id of a campaign, queries for calls included to a particular campaign. Specify null for all campaigns and 0 for default campaign
batchIdstringAn id of a contact batch, queries for calls of a particular contact batch
fromNumberstringPhone number in E.164 format (11-digit) that call was from. Example: 12132000384
toNumberstringPhone number in E.164 format (11-digit) that call was sent to. Example: 12132000384
labelstringA label for a specific call
statesstringSearches for all calls which correspond to statuses listed in a comma separated string. Available values: READY, SELECTED, CALLBACK, FINISHED, DISABLED, DNC, DUP, INVALID, TIMEOUT, PERIOD_LIMIT. See call states and results
resultsstringSearches for all calls with statuses listed in a comma separated string. Available values: SENT, RECEIVED, DNT, TOO_BIG, INTERNAL_ERROR, CARRIER_ERROR, CARRIER_TEMP_ERROR, UNDIALED. See call states and results
inboundstringFilters inbound calls for "true" value and outbound calls for "false" value
intervalBeginstringStart of the find time interval, formatted in unix time milliseconds. Example: 1473781817000 for Sat, 05 Jan 1985 14:03:37 GMT
intervalEndstringEnd of the find time interval, formatted in unix time milliseconds. Example: 1473781817000 for Sat, 05 Jan 1985 14:03:37 GMT