Horaires
Créer un planning
Offre de programme ou texte pour une date ISO.
POST
/schedulesschedules:writeDemande
typestring · bodyTapez : offre ou SMS.facultatifatstring · bodyDate et heure ISO 8601.obligatoiresegment_idstring · bodySegment cible.facultatifgroup_idstring · bodyGroupe spécifique.facultatifoffer_idstring · bodyOffre programmée.facultatiftextstring · bodyTexte pour la planification textuelle.facultatifimagestring · bodyImage facultative.facultatifrecurrencestring · bodyRègle de récurrence.facultatifactiveboolean · bodyActive la planification.facultatifExemple
curl
curl -X POST 'https://achadu.com/api/v1/schedules' \
+ -H 'Authorization: Bearer ach_live_...' \
+ -H 'Accept: application/json' \
+ -H 'Content-Type: application/json' \
+ --data '{
"at": "2026-09-01T15:00:00Z",
"type": "string",
"segment_id": "string",
"group_id": "string"
}'Réponse
201Ressource créée4xxErreur avec le code, le message et request_id