Skip to main content

Sending requests

Once you acquired your personal API key, you are ready to send your requests to Paprwork API.

Authorization header#

The Bearer token is the form of credentials to be used to access Paprwork API. It makes a request on behalf of the user that owns the token.

You must pass this token to any API endpoint you will send a request to. To do so, include the following header in your request and make sure to replace $PAPRWORK_API_KEY with your generated API key:

Authorization: Bearer $PAPRWORK_API_KEY

If you were to include this i a cURL request, it would look like the following :

curl --request GET \
--url 'https://staging.back.paprwork.io' \
--header 'Authorization: Bearer $PAPRWORK_API_KEY'