TSWG API Client Onboarding

Start using your paid TSWG API key safely.

Use this guide after your payment has been manually verified and your API key has been issued by the TSWG team. Keep your key private. Use the health endpoint to confirm status, limits, usage, and queue activity.

1. Confirm your key

Call the key health endpoint with your API key. It returns client status, monthly limit, SVG usage, AI queue counts, and latest payment intent context.

curl -H "X-TSWG-API-KEY: YOUR_API_KEY" \
https://thesurestwayguides.com/tswg-api-key-health.php

2. Use SVG delivery

Use SVG catalog metadata publicly, then request protected SVG payloads using your key.

curl -H "X-TSWG-ICON-KEY: YOUR_API_KEY" \
"https://thesurestwayguides.com/tswg-svg-icon-api.php?slug=ai-agent-system"

3. Queue AI/media jobs

AI jobs are accepted into the queue. Provider execution requires configured provider keys, model routing, output review, and proof before public claims.

curl -X POST \
-H "X-TSWG-API-KEY: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"prompt":"Create an avatar presenter","input_mode":"text"}' \
"https://thesurestwayguides.com/tswg-ai-api.php?action=create&type=avatar"

4. Check job status

Use the request ID returned by the AI queue endpoint.

curl -H "X-TSWG-API-KEY: YOUR_API_KEY" \
"https://thesurestwayguides.com/tswg-ai-api.php?action=status&id=REQUEST_ID"

Available plan levels

PlanMonthly limitBase price
Starter API Access 10,000 $49.00/mo
Growth API Access 100,000 $199.00/mo
Platform API Access 1,000,000 $799.00/mo
Proof rule: Generated output is not a proven result until screenshots, metrics, credentials, and authenticity notes are reviewed and approved.