Ga naar de inhoud
AchaduDevelopers
Operationele APIGa naar website
Dashboard
Developers/API/journey_activate
Reizen

Activeer reis

Activeer of pauzeer een bestaande reis.

POST/journeys/{id}/activatejourneys:write

Verzoek

idstring · pathResource-ID.verplicht
activeboolean · bodygewenste staat; standaard waar.optioneel

Voorbeeld

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
}'

Antwoord

200Operatie voltooid
4xxFout met code, bericht en request_id