Skip to content

API reference

List campaigns

GET /campaigns

The campaigns this key can use, page by page (cursor = the next_cursor you were given). Needs campaigns:read.

Name In Type Required Notes
cursor query string
limit query integer Default 50. 1 to 100.
Terminal window
curl -X GET 'https://v2-api.callview.ai/api/v1/external/campaigns' \
-u "$CALLVIEW_KEY_ID:$CALLVIEW_SECRET"

200 A page of campaigns

{
"data": [
{
"id": "7c1f2b9e-4a3d-4e8f-9b21-5d6a7e8f9a01",
"name": "Roofing leads",
"status": "active",
"livemode": true
}
],
"meta": {
"next_cursor": null,
"has_more": false
}
}
Status Codes
400 invalid_request
401 authentication_failed
403 permission_denied
429 rate_limited, too_many_concurrent_requests
500 internal_error

Part of Campaigns. Every example sends your key ID and secret as CALLVIEW_KEY_ID and CALLVIEW_SECRET (see Keys and authentication).