Hi, I'm trying to use the HTTP API to pull a smart views from Close CRM. I've tested the API in postman and it's working with a Basic Auth. However, when I run the HTTP API in Clay it doesn't work. Clay received a 401 error from the API with Content: {"error": "Unauthorized"} I've tried adding the API key as the header account, and in the headers (seperate and combined) and it's not working. Could someone help please?
To resolve the 401 Unauthorized error, first check your API key in Clay. Go to your profile picture, select Settings, then Your Profile, and find the API Key section. Ensure you're using the correct API key in your HTTP API integration.
For the Close CRM integration, make sure you're using the correct authentication method. If Postman works with Basic Auth, you might need to adjust your headers in Clay. In the Headers section of the HTTP API action, add: LBKS{ "Authorization": "Basic <your_api_key> " }LBKS
Replace <your_api_key> with your actual Close API key.
If the issue persists, please copy and paste your JSON configuration so we can troubleshoot further.
Source: HTTP API with Clay
Not helpful, I've tried this
I've figured it out- needed to use base 64
Awesome, I think you might have what you need here, so I'll tentatively mark this closed for the moment. Please keep in touch if you hit other roadblocks!