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!

N.B Your credentials will initially only work for sandbox environment. Production credentials will not be sent until later.

Two Scenarios

1. Existing Terra Customer

  • Use existing testing credentials to configure webhook endpoint

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"
  }'
  • Start ordering!

2. New Customer

  • Provide necessary information (payment details etc.)

  • Provide endpoint to receive webhooks

  • Receive credentials

  • Start ordering!!

Last updated

Was this helpful?