← Back to Dashboard

Quick Start

Generate your first synthetic document in under 2 minutes.

Create an API Key

Log in at app.symagedocs.ai, go to Account > API Keys, click Create Key, and copy it immediately.

ImportantThe key is shown once and cannot be retrieved later. Store it securely.

List Available Forms

curl https://symagedocs.ai/api/v1/forms \
  -H "Authorization: Bearer sk_live_YOUR_KEY"

Generate Documents

curl -X POST https://symagedocs.ai/api/v1/generate \
  -H "Authorization: Bearer sk_live_YOUR_KEY" \
  -H "Content-Type: application/json" \
  -d '{{"form_id": "irs_w2_2025", "quantity": 10, "output_formats": ["pdf_typed", "json"]}}'

Poll for Completion

curl https://symagedocs.ai/api/v1/jobs/YOUR_JOB_ID \
  -H "Authorization: Bearer sk_live_YOUR_KEY"

Wait until status is "completed".

Download Results

curl -o documents.zip \
  https://symagedocs.ai/api/v1/jobs/YOUR_JOB_ID/download/pdf_typed \
  -H "Authorization: Bearer sk_live_YOUR_KEY"
curl -o data.json \
  https://symagedocs.ai/api/v1/jobs/YOUR_JOB_ID/download/json \
  -H "Authorization: Bearer sk_live_YOUR_KEY"

What's Next?

GuideDescription
AuthenticationKeys, scopes, rotation, and security
WebhooksReal-time event notifications with signature verification
Rate Limits & ErrorsError codes and retry strategies
Credit SystemPricing and balance checking
Code SamplesPython, cURL, and JavaScript examples