Skip to main content

Prerequisites

Step 1: Get your API key

1

Open the Developer Dashboard

Go to smartlyq.com/my/developer and create a new API key.
2

Copy your key

Your key looks like sqk_live_xxxxxxxxxxxx. Keep it safe — you won’t be able to see it again.
3

Add credits

API usage is prepaid. Top up your Developer wallet from the same dashboard.

Step 2: Make your first request

Verify your key by fetching your profile:
curl -X GET https://api.smartlyq.com/v1/me \
  -H "Authorization: Bearer sqk_live_xxxxxxxxxxxx"
You should receive a JSON response with your user profile and plan details.

Step 3: Generate content

Try generating an article (returns a job you can poll):
curl -X POST https://api.smartlyq.com/v1/articles/generate \
  -H "Authorization: Bearer sqk_live_xxxxxxxxxxxx" \
  -H "Content-Type: application/json" \
  -d '{
    "title": "10 Tips for Social Media Marketing",
    "model": "gpt-4.1-nano",
    "language": "en"
  }'
The response includes a job_id. Poll GET /jobs/{job_id} until the job completes.

Next steps