Skip to main content

Public API

The public API lets your own app read and create automations and message templates. It is available on every paid plan, from Creator Pro.

Create a key in Developer, then send it on every request.

Base URL: https://api.autodm.live/public/v1

OpenAPI file: https://api.autodm.live/public/v1/openapi.json

That file is the machine-readable description of every path, field, and error. You can open it in any OpenAPI tool. No API key is required to download it.

Create a key​

  1. Open Developer in AutoDM.
  2. Name the key and choose Read only or Read and write.
  3. Copy the key. It is shown once and starts with adpk_.

A read-only key can call GET. A read and write key can also call POST.

You can limit a key to specific IP addresses. Leave the list empty to allow every address. Ranges are not supported, only single IPv4 or IPv6 addresses.

Call the API​

curl https://api.autodm.live/public/v1/automations \
-H "Authorization: Bearer adpk_your_key"

Pages​

List endpoints return one page, not the whole account.

QueryMeaning
pagePage number. Starts at 1.
limitHow many rows. Defaults to 25. The maximum is 100.

The response includes total, page, limit, and totalPages.

curl "https://api.autodm.live/public/v1/templates?page=1&limit=25" \
-H "Authorization: Bearer adpk_your_key"

Limits​

Each key can make 60 requests per minute. These response headers show the current window:

  • RateLimit-Limit
  • RateLimit-Remaining
  • RateLimit-Reset (seconds until the window resets)

Over the limit, the API returns 429 and a Retry-After header.

Errors​

Errors are JSON:

{
"statusCode": 401,
"message": "A public API key is required.",
"error": "Unauthorized",
"timestamp": "2026-01-01T00:00:00.000Z",
"path": "/public/v1/automations"
}
StatusWhen
401The key is missing, invalid, or revoked.
403A read-only key tried to write, or the IP is not on the allowlist.
404That automation or template does not exist.
429The key made too many requests this minute.
503The public API is not turned on for this account.

AI reply options are not part of this API. Sending them returns 400.

What you can call​

  • Automations: list, create, pause, resume, and read counts.
  • Templates: list, create, and read a message template.