Aiviue
QSR & HospitalityLogistics & DeliveryAutomotiveBFSIRetail
JobsJob SeekersInsightsAboutHire Now

Get started

  • Overview
  • Quickstart

Guides

  • Authentication
  • Tenants
  • Idempotency
  • Webhooks
  • Errors and rate limits
  • Sandbox
  • Versioning and changelog

Reference

  • API reference

Guide

Idempotency

Retry write requests safely with X-Idempotency-Key.

View as markdown

Networks fail. To make retries safe, every write request (POST, PUT, PATCH, DELETE) must carry an idempotency key:

X-Idempotency-Key: create-job-REQ-1042

A write without the header is rejected with 400 VALIDATION_ERROR. The token endpoints are the exception.

How keys behave

Keys are scoped to your partner account and the tenant in X-Tenant-ID, and are kept for 24 hours.

You sendResult
A new keyThe request runs normally.
The same key and the same body againThe original status and response body are returned; nothing runs twice.
The same key with a different body409 IDEMPOTENCY_CONFLICT
The same key while the first request is still running409 IDEMPOTENCY_CONFLICT with retryable: true — wait and retry.

Only responses below 500 are stored. If the original request failed with a server error, retrying with the same key runs it again.

Choosing keys

  • Use one key per logical operation, and reuse it for every retry of that operation.
  • Derive it from your own data where you can, e.g. create-job-<external_job_id> or decision-<candidate_id>-<your event id>. A random UUID stored with the pending operation also works.
  • Don't reuse a key for a different operation.

If the idempotency store is briefly unavailable the API returns 503 SERVICE_UNAVAILABLE; retry with the same key after a short backoff.

NextWebhooks →

Aiviue

AI hiring software for frontline teams in India

Company

  • About Us
  • Pricing
  • Insights
  • Job Seekers
  • Developers
  • Hire Now

Industries

  • QSR & Hospitality
  • Logistics & Delivery
  • Automotive
  • BFSI
  • Retail

© 2026 Aiviue. All rights reserved.

Privacy PolicyTerms of ServiceRefund PolicyCancellation Policy