Reizen
Maak een reis
Creëert in eerste instantie veilige visuele automatisering.
POST
/journeysjourneys:writeVerzoek
namestring · bodyNaam van de reis.verplichtdescriptionstring · bodyDoel van de reis.optioneeltriggerstring · bodyInitiële trigger.verplichtblocksarray · bodyStroomblokken.optioneelchannelsarray · bodyToegestane kanalen.optioneelsegment_idstring · bodyGeschikt segment.optioneelactiveboolean · bodyActiveer de reis.optioneelVoorbeeld
curl
curl -X POST 'https://achadu.com/api/v1/journeys' \
+ -H 'Authorization: Bearer ach_live_...' \
+ -H 'Accept: application/json' \
+ -H 'Content-Type: application/json' \
+ --data '{
"name": "My integration",
"trigger": "string",
"description": "string",
"blocks": [],
"channels": [
"instagram"
]
}'Antwoord
201Bron gemaakt4xxFout met code, bericht en request_id