I'm new to working with APIs and I keep receiving a 'response 401' when trying to connect to the Redtail API.
Here is a bit of documentation on Redtail: https://help.redtailtechnology.com/hc/en-us/articles/203964430-Authentication-Methods-
And here is my code:
import requests
headers = {
'APIKey': '6C135EDF-C37C-4039-AEF3-5DFC079F9E6A',
'Username': 'Statementone',
'Password': 'sonedemo'
}
r = requests.get('https://api2.redtailtechnology.com/crm/v1/rest/', n
headers=headers)
print(r)
Any help would be greatly appreciated!