Akteora API docs

Idempotency

A request that times out may or may not have happened. Retrying a POST blindly can make two links, two exports, two webhook endpoints. An Idempotency-Key makes the retry safe: send the same key with the same body, and you get the first answer back instead of a second action.

curl https://api.akteora.com/v1/brands/brd_01K59Y7T3HR2D6FBJ3M1Q0W8ZK/links \
  -H "Authorization: Bearer $AKTEORA_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: 5d0c9f5e-8a41-4b43-9d8e-2a7f1c6b0e93" \
  -d '{ "title": "How was your first month?", "…": "…" }'

The SDK passes it like any header:

await unwrap(
  akteora.POST('/v1/exports', {
    body: { format: 'csv' },
    headers: { 'Idempotency-Key': crypto.randomUUID() },
  }),
)