Skip to main content
All API requests require an X-API-KEY header with your Writesonic API key.
curl --request POST \
  --url https://api.writesonic.com/v2/geo/business/prompts \
  --header 'Content-Type: application/json' \
  --header 'X-API-KEY: <your-api-key>' \
  --data '{
    "project_id": "your-project-id"
  }'

How to Find Your API Key

1

Log in to Writesonic

Go to app.writesonic.com and sign in with your account.
2

Open the API Dashboard

Hover over your profile picture in the top-right corner and select API Dashboard from the menu.
3

Activate the API

Find the activation toggle and switch it on to enable API access.
4

Reveal your API key

Click the Reveal API Key button. Your key will be displayed — click to copy it.
Never commit your API key to public repositories (GitHub, GitLab, Bitbucket) or store it in client-side code. Use environment variables or a secrets manager.

Base URL

All GEO API endpoints use the following base URL:
https://api.writesonic.com

Authentication Header

HeaderValueRequired
X-API-KEYYour Writesonic API keyYes
Content-Typeapplication/jsonYes

Error Responses

Status CodeMeaning
401Missing or invalid API key
403API key valid but insufficient permissions
422Validation error in request body
429Rate limit exceeded