Skip to main content
Our Run API uses Bearer tokens to authenticate requests, there are three types of these tokens:
  • Platform Token generated by our built-in platform auth provider (including SSO/SAML).
  • API Key generated by user, bound to User or Service Account (starts with sk-...).
  • Provider Token generated by user’s configured external providers e.g.: Firebase.

API Keys

View the API Keys Documentation page
While making request, you must also pass instance identifier of your instance.
There are two ways of passing token and instance identifier to the request.
These examples show only GET method but you can set any of following methods: GET, POST, PUT, PATCH, DELETE during Endpoint creation.
  • Headers - preferred option to pass your tokens.
curl -X GET "https://run.revong.com/{YOUR_PATH}" \
-H "Authorization: Bearer sk-..." \
-H "Instance: instance_shortId_or_id"
  • Query parameter - optionally you can use query parameters (but we don’t recommend it).
curl "https://run.revong.com/{YOUR_PATH}?token=sk-...&instance=instance_shortId_or_id"
You can also combine these both were you feel comfortable with, keep in mind that we don’t consider ‘instanceId’ as being a secret.