Zum Inhalt springen
AchaduDevelopers
Developers/API/journey_activate
Reisen

Reise aktivieren

Aktivieren oder pausieren Sie eine bestehende Reise.

POST/journeys/{id}/activatejourneys:write

Anfrage

idstring · pathRessourcenbezeichner.obligatorisch
activeboolean · bodygewünschter Zustand; Standardmäßig wahr.optional

Beispiel

curl
curl -X POST 'https://achadu.com/api/v1/journeys/resource_id/activate' \
+  -H 'Authorization: Bearer ach_live_...' \
+  -H 'Accept: application/json' \
+  -H 'Content-Type: application/json' \
+  --data '{
  "active": true
}'

Antwort

200Vorgang abgeschlossen
4xxFehler mit Code, Nachricht und request_id