HivePost API
Menu

Guides

Idempotency

Add an Idempotency-Key header to POST /v1/posts, POST /v1/media and POST /v1/connect-links. Use any 1 to 255 printable characters, like an order id or a UUID.

  • The same key from the same API key within 24 hours returns the first answer, with Idempotent-Replayed: true.
  • The same key with a different body answers 409 idempotency_conflict.
  • While the first request is still running, a second one also gets 409 idempotency_conflict; try again in a moment.
  • After a 500 the key is free again, so the retry runs.
  • Connect links: the replay gives the same link with a new url; the first one stops working.