All categoriesAPIAuthentication

Authentication

To start using API you need to generate API token. You can do that on API settings page in your account.

Our API supports 2 ways to transfer token: via headers and via parameter in GET request.

Authentication via Headers

You need to provide Authorization header with Bearer token:

curl -H 'Accept: application/json'\
-H "Authorization: Bearer <API_TOKEN>"\
https://productroad.com/api/v1/me/

Authentication via Query String Param

You can provide access_token as URL query string parameter:

curl -H 'Accept: application/json'\
https://productroad.com/api/v1/me/?access_token=<API_TOKEN>

If authorization is successful, you should receive a response with your account information. If such a response is received, it means that authorization is OK and you can start using other endpoints.

{
"id": "<YOUR ID>",
"email": "<YOUR EMAIL>",
"name": "<YOUR NAME>",
"alias": "<YOUR ALIAS>"
}