cURL
curl --request GET \ --url https://api.truecall.com/campaigns/{id} \ --header 'Authorization: Bearer <token>'
{ "status": "success", "data": { "id": "<string>", "api_key": "<string>", "name": "<string>", "created_at": 1718104009000, "sources_config": { "allow": [ "<string>" ], "block": [ "<string>" ], "allow_all": true } } }
Retrieves details of a specific campaign identified by its ID.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
ID of the item to retrieve.
Campaign details response
success
error
"success"
Show child attributes
id of the campaign
api_key associated with the campaign
name of the campaign
timestamp representation of when the item was created
1718104009000
allow / block sources configuration of the campaign
list all the allowed sources this campaign allows (if applicable)
list all the blocked sources this campaign allows (if applicable)
true = allow any source