Communications Campaigns
cURL
curl --request GET \ --url https://api-sandbox.y.uno/v1/campaigns/{campaign_id} \ --header 'account-code: <api-key>' \ --header 'private-secret-key: <api-key>' \ --header 'public-api-key: <api-key>'
{ "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "name": "<string>", "description": "<string>", "status": "ACTIVE", "start_date": "2023-11-07T05:31:56Z", "end_date": "2023-11-07T05:31:56Z", "country": "<string>", "created_at": "2023-11-07T05:31:56Z", "updated_at": "2023-11-07T05:31:56Z" }
Your public API key from the Yuno Dashboard
Your private secret key (server-side only)
Your account identifier. The alias X-Account-Code is also accepted.
The unique identifier of the campaign
Campaign details
ACTIVE
INACTIVE
DRAFT
EXPIRED