Authentication
You'll need to authenticate your requests to access any of the endpoints in the InvoiceAhoy API. In this guide, we'll look at how authentication works.
API Key authentication
Your account comes with a default API Key. You use the API key as a Bearer Token
in your HTTP requests:
Example request with API Key auth
curl https://api.invoiceahoy.com/v1/invoices \
-H "Authorization: Bearer {token}"
Using an SDK
If you use one of our official SDKs, you won't have to worry about any of the above — fetch your access token from the InvoiceAhoy dashboard under API settings, and the client library will take care of the rest. All the client libraries use OAuth2 behind the scenes.