Skip to main content

Authorization


In order to authenticate requests, an API key should be included in the header of requests to the APIs. Please email integrations@donary.com to receive a unique token.

Example of a cURL command with an API key as a header, replace YOUR_API_KEY with a valid key from the integrations team:

curl --location --request PUT 'https://webapi.donary.com/V1/External/SaveCampaign' \
--header 'APIKey: YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--data '{"orgGuid": "115e9d3d-baf2-4089-b896-9b2621ffcf1b", "campaignNumber": 0, "campaignName": "Gold Page", "campaignFriendlyName": "Request Donation / Gold Page"}'