🔓Authentication

Piloty Solutions uses OAuth tokens to allow access to the API. We expect the OAuth token to be included in all API requests:

  • 1/ in a header that looks like the following: Authorization: Bearer PILOTY_TOKEN

  • 2/ Or, through query string: ?access-token=PILOTY_TOKEN

You must replace PILOTY_TOKEN with your personal API token.

curl "PILOTY_API_ENDPOINT_HERE"
   -d "access-token=PILOTY_TOKEN" 
   -H "Authorization: Bearer PILOTY_TOKEN"
  

Last updated