Environment | URL |
---|---|
Sandbox | https://api-sandbox.synctera.com |
Production | https://api.synctera.com |
baseurl
, e.g.
apikey
, see the Authentication section for more details.
Authorization: Bearer {API_KEY}
For example, the beginning of a request using a fictitious key:
apikey
, e.g.
baseurl
, see the Environments section for more details.
Idempotency-Key: {KEY}
to your request, where {KEY}
is an arbitrary value that you generate. When you repeat a request (e.g. because of an error or timeout), you need to send the same idempotency key as the previous attempt. When sending a distinct (not repeated) request, you must send a new, distinct, idempotency key.
Each idempotency key and any resulting cached responses persist for 7 days and then disappear.
An example of a cURL request using an idempotent request header with an example key value of 259:
IDEMPOTENCY_INVALID_REUSE
error code.
If you re-use an idempotency key while the previous request is still being processed, you will receive a 409 response with an IDEMPOTENCY_CONCURRENT_USE
error code.