Getting Started

Getting Started

Step 1 — Create a Treatar Account

Log in to your Treatar Business account.

Navigate to:

Settings → API Keys

Copy your API key.

Environment
Key Prefix

Production

sk_live

Staging

sk_test

Step 2 — Make Your First Request

Example:

curl https://api.treatar.com/v1/health \
  -H "Authorization: Bearer sk_live_xxxxx"

Step 3 — Use Sandbox First

Always test your integration using:

https://sandbox.treatar.com/v1

with your:

sk_test_xxxxx

Last updated