Connect an integration with an API key
curl --request POST \
--url https://api.pineyard.ai/integrations/api-key \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"credentials": {
"api_key": "<string>"
}
}
'const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({credentials: {api_key: '<string>'}})
};
fetch('https://api.pineyard.ai/integrations/api-key', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.pineyard.ai/integrations/api-key"
payload = { "credentials": { "api_key": "<string>" } }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)Integrations
Connect an integration with an API key
Submit API-key credentials for a non-OAuth connector (Cal.com / Calendly / Zendesk)
POST
/
integrations
/
api-key
Connect an integration with an API key
curl --request POST \
--url https://api.pineyard.ai/integrations/api-key \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"credentials": {
"api_key": "<string>"
}
}
'const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({credentials: {api_key: '<string>'}})
};
fetch('https://api.pineyard.ai/integrations/api-key', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.pineyard.ai/integrations/api-key"
payload = { "credentials": { "api_key": "<string>" } }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)
