Forming Requests

There are a few prerequisites you'll need in order to start making requests to our endpoints:

  • Authentication Credentials: All requests require authentication via your API keys, except quote retrievals, which only need the X-Spot-Partner-Id. Learn more here.
  • Idempotency-Key: A unique value per request to prevent duplicate enrollments, including retries after network failures. So in the case a request is retried, you can be confident only one enrollment will be queued.
  • X-Spot-Partner-Id: Provided by Spot and required in all request headers.

Our endpoints also include certain required fields – such as productId, productType, and productDuration in quote retrievals – that we'll work with you to define in order to get successful responses.