Auth Token
Revnue utilizes authentication bearer tokens passed using an auth header to allows users to perform actions against the Revnue API on behalf of their account. Bearer tokens (RFC 6750) are the most common way of accessing OAuth 2.0 APIs and must be made over an HTTPS connection.
Auth tokens can be generated by Administrators within the Revnue settings page (image below). Only Administrators have the ability to disable existing auth tokens or regenerate a new token, if necessary.
Auth tokens are passed using an auth header to any of our HTTPS API endpoints (example below).
curl --request GET \
--url 'https://{{base_url}}/api/v2/contract/?company=1' \
--header 'Authorization: Bearer $BEARER_TOKEN'