Step 4: Use access token for REST API requests

Prerequisites

Use token for REST API requests

With the access token, you can make requests to Marq's REST APIs and get access to data from the Marq platform. To make an authenticated request, include an Authorization header with the access token as a "Bearer" token (i.e. Authorization: Bearer <access token>)

📘

Revoking an app's access

Access can be revoked by the user or team admin at any time if they decide that they no longer want the app to have access to the user's Marq data.

curl 'https://api.marq.com/v1/templates' \
     --request 'GET' \
     --header 'Authorization: Bearer oauth2-2DSLkdfWOEIdsl2304Sdkls...' \