Skip to main content

API Authentication

Partners will be provided with a unique API key that acts as an authentication mechanism for API calls.

This API key must be included in the request header named APIKEY for every API call, ensuring secure and authorized access to the Kindly API endpoints.

Authenticate requests

import requests

url = base_url + "/PartnerServices/GetDonationDetails?fromDate=2020-01-01&toDate=2030-01-01"

try:
response = requests.get(url, headers={ "APIKEY": "valid token" })

# Valid API key
assert response.status_code == 200
except Exception as e:
pass