curl --request POST \
--url https://api.getenso.ai/schedules \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "Monthly Invoice - Acme",
"cron": "0 0 1 * *",
"ContractPlanId": "42",
"active": true
}
'{
"status": "success",
"message": "Success",
"data": {}
}Create a new billing schedule (e.g. monthly auto-invoicing for a contract plan).
curl --request POST \
--url https://api.getenso.ai/schedules \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "Monthly Invoice - Acme",
"cron": "0 0 1 * *",
"ContractPlanId": "42",
"active": true
}
'{
"status": "success",
"message": "Success",
"data": {}
}JWT bearer token obtained from POST /auth/system-login using your client credentials.