To query the SumoQuote API, you will need either a Bearer Token generated from an OAuth 2.0 connection or and API token created in SumoQuote. See the AUTHENTICATION section for more details.

OAuth 2.0
All API requests require a Bearer Token.
Apply the token to the request in a header:

const headers = {
  'Content-Type': 'application/json',
  'Authorization': `Bearer ${token}`
}

API Token
All API requests require the token to be in the header

const headers = {
  'Content-Type': 'application/json',
  'sq-api-key': `${token}`
}