Authentication

Authentication is made with API key. You can generate it in your Woodpecker panel. Not sure how? Check this guide.


API Key is a part of an API Key and Integrations add-on, click here to learn how to get it on Marketplace »


Remember, API key is a required parameter. We'll return an error if it's missing or invalid. Another noteworthy thing is that if you use Agency panel, each company you've added can have their own API keys. Therefore, to access any data from a specific company added to your Agency, you need to generate API key for this company.

Your API key identifies your account so keep it secret!

To make request you can place your API key in headers, as following:

headers : { 
"Authentication" : "Basic <API KEY>"
}

If you prefer to use cURL, you can use the following syntax:

curl --location --request GET 'https://api.woodpecker.co/rest/v1/endpoint_of_your_choice' \ 
--header 'Authorization: Basic <API_KEY>'

Remember to encode your API key to Base64 format before using it in cURL request.

Did this answer your question?