Skip to main content
Our Platform API uses Bearer tokens to authenticate requests, there are two 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-...).
Please note that unlike Run API - Authentication, Provider Tokens are not supported in Platform API, to perform any API requests we recommend setting up API Key.

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.
  • Headers - preferred option to pass your tokens.
curl -X GET "https://api.revong.com/api/v1/me/time" \
-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://api.revong.com/api/v1/me/time?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.