Voyages
Créer un voyage
Crée une automatisation visuelle initialement sûre.
POST
/journeysjourneys:writeDemande
namestring · bodyNom du voyage.obligatoiredescriptionstring · bodyObjectif du voyage.facultatiftriggerstring · bodyDéclencheur initial.obligatoireblocksarray · bodyBlocs de flux.facultatifchannelsarray · bodyChaînes autorisées.facultatifsegment_idstring · bodySegment éligible.facultatifactiveboolean · bodyActivez le voyage.facultatifExemple
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"
]
}'Réponse
201Ressource créée4xxErreur avec le code, le message et request_id