Account setup and API keys
This guide walks you through obtaining the API keys necessary to start using our services. Currently, account set up for new partners is done manually but we will change this in the future!
Two Scenarios
1. Existing Terra Customer
curl --location --request PATCH \
'https://diagnostics-sandbox.tryterra.co/api/v1/clients/webhook-url' \
--header 'Content-Type: application/json' \
--header 'Authorization: Basic <YOUR_CLIENT_ID:YOUR_CLIENT_SECRET_BASE64>'
--data '{
"webhook_url": "https://your-domain.com/webhooks/terra"
}'import requests
url = "https://diagnostics-sandbox.tryterra.co/api/v1/clients/webhook-url"
headers = {
'Content-Type': 'application/json',
'Authorization': 'Basic <YOUR_CLIENT_ID:YOUR_CLIENT_SECRET_BASE64>'
}
data = {
"webhook_url": "https://your-domain.com/webhooks/terra"
}
response = requests.patch(url, headers=headers, json=data)
print(response.text)
print(response.status_code)2. New Customer
Last updated
Was this helpful?