Reisen
Reise erstellen
Erstellt zunächst eine sichere visuelle Automatisierung.
POST
/journeysjourneys:writeAnfrage
namestring · bodyReisename.obligatorischdescriptionstring · bodyZiel der Reise.optionaltriggerstring · bodyErster Auslöser.obligatorischblocksarray · bodyDurchflussblockaden.optionalchannelsarray · bodyZulässige Kanäle.optionalsegment_idstring · bodyBerechtigtes Segment.optionalactiveboolean · bodyAktivieren Sie die Reise.optionalBeispiel
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"
]
}'Antwort
201Ressource erstellt4xxFehler mit Code, Nachricht und request_id