Skip to main content
POST
Create campaign

Authorizations

public-api-key
string
header
required

Your public API key from the Yuno Dashboard

private-secret-key
string
header
required

Your private secret key (server-side only)

Body

application/json
name
string
required

Campaign name

start_date
string<date-time>
required

Campaign start date

end_date
string<date-time>
required

Campaign end date

country
string
required

ISO 3166-1 alpha-2 country code

description
string

Campaign description

Response

Campaign created

id
string<uuid>
name
string
description
string
status
enum<string>
Available options:
ACTIVE,
INACTIVE,
DRAFT,
EXPIRED
start_date
string<date-time>
end_date
string<date-time>
country
string
created_at
string<date-time>
updated_at
string<date-time>