sinth

Your first API request

Use the key from your purchase email to talk to the Sinth starter assistant. Each successful reply costs $0.02 from your prepaid balance.

Send a message

Replace YOUR_SINTH_KEY below. Keep your key on your server; never publish it in browser code.

curl https://sinth.ai/api/v1/chat \
  -H "Authorization: Bearer YOUR_SINTH_KEY" \
  -H "Content-Type: application/json" \
  -d '{"message":"Hello! What can you help me with?","end_user":"my-first-user"}'

Keep the same end_user value to continue a conversation. Use a different value for each of your users.

Check your balance

curl https://sinth.ai/api/v1/usage -H "Authorization: Bearer YOUR_SINTH_KEY"

A 401 response means the key is invalid or inactive. A 402 response means you need more credit. If a chat request fails with refunded: true, its credit has been returned. Sandbox keys work only in their test environment.

Add credit