Skip to main content
GET
/
api
/
export
/
do-not-call-list
Export do not call list
curl --request GET \
  --url https://api.getstrada.com/api/export/do-not-call-list \
  --header 'Authorization: Bearer <token>'
{
  "doNotCallList": [
    {
      "customerPhoneNumber": "+14155551234",
      "callId": "call_abc123",
      "createdAt": "2024-01-15T10:30:00Z"
    },
    {
      "customerPhoneNumber": "+14155555678",
      "callId": null,
      "createdAt": "2024-01-14T08:15:00Z"
    }
  ],
  "metadata": {
    "nextPage": "https://api.getstrada.com/api/export/do-not-call-list?createdAtLt=2024-01-14T08:14:59.999Z&pageSize=10000"
  }
}

Authorizations

Authorization
string
header
required

API Key authentication

Query Parameters

createdAtGt
string<date-time>

Filter entries created after this timestamp

createdAtLt
string<date-time>

Filter entries created before this timestamp

pageSize
integer
default:10000

Number of results per page (max 10000)

Required range: 1 <= x <= 10000

Response

Successfully retrieved Do Not Call list entries

doNotCallList
object[]
metadata
object