Pular para o conteúdo principal
POST
Create a signal campaign

Autorizações

X-API-Key
string
header
obrigatório

Partner API key (ck_…). Created by Interactive Layers; shown only once.

Corpo

application/json
name
string
obrigatório
Required string length: 2 - 80
brand_name
string
obrigatório
Required string length: 1 - 60
categories
string[]
obrigatório

Context categories (natural language) that trigger the campaign.

Required array length: 1 - 20 elements
campaign_id
string | null

Optional id (lowercase slug). Generated when omitted.

Pattern: ^[a-z0-9][a-z0-9-]{2,39}$
keywords
string[]

Targeting keywords written into the break marker.

Maximum array length: 30
external_ids
External Ids · object

Ids in your ad stack, e.g. {"springserve": "123"}.

brief
string
padrão:""
Maximum string length: 2000
positive_examples
string[]
Maximum array length: 20
negative_examples
string[]
Maximum array length: 20
safety_rules
string[]
Maximum array length: 20
trigger_mode
enum<string>
padrão:need

need: someone expresses an own need; topic: the conversation is about it.

Opções disponíveis:
need,
topic
active
boolean
padrão:true
start_at
number | null

Unix seconds

end_at
number | null

Unix seconds

sources
string[]

Restrict to these source ids (empty = all your sources).

Maximum array length: 50

Resposta

Successful Response

campaign_id
string
obrigatório
name
string
obrigatório
brand_name
string
obrigatório
categories
string[]
obrigatório
keywords
string[]
obrigatório
external_ids
External Ids · object
obrigatório
brief
string
obrigatório
positive_examples
string[]
obrigatório
negative_examples
string[]
obrigatório
safety_rules
string[]
obrigatório
trigger_mode
string
obrigatório
active
boolean
obrigatório
sources
string[]
obrigatório
created_at
number
obrigatório
updated_at
number
obrigatório
start_at
number | null
end_at
number | null