Authentication

The Marq API uses OAuth 2 to authenticate requests. You can read more about how to go through the OAuth 2 flow in this documentation.

You will need to pass an Authorization header using the bearer authentication scheme.

Your OAuth credentials carry many privileges, so be sure to keep them secure! Do not share your secret credentials in publicly accessible areas such as GitHub, client-side code, and so forth.

All API requests must be made over HTTPS. Calls made over plain HTTP will fail. API requests without authentication will also fail.

curl --request GET \
  --url 'https://api.marq.com/v1/example' \
  --header 'Authorization: Bearer YOUR_TOKEN' \
  --header 'Content-Type: application/json'