The Refermo API uses token (or bearer) authentication. Every endpoint requires authentication.
Find your API key
You can find your API key on the Settings page in your account. Each user in each account has their own API key.
Use your API key
When making requests, use your API key in the Authorization
header.
cURL:
curl https://api.refermo.co/v1/members/
-H "Authorization: Bearer e7ceb49c48bodc49db4995e6c40a4a19"
Python:
headers = {'Authorization': 'Bearer e7ceb49c48bodc49db4995e6c40a4a19'}
resp = requests.get('https://api.refermo.co/v1/members/', headers=headers)