API Authentication

Authenticate with the WISEROWS REST API using API keys.

2 min read

API Authentication

All API requests require authentication via an API key passed in the Authorization header.

Getting Your API Key

1

Navigate to Settings

Go to Settings > API Keys in your project.

2

Generate a Key

Click Generate New Key. Give it a descriptive name (e.g., "Production Backend").

3

Copy and Store Securely

Copy the key — it's only shown once. Store it in your environment variables.

Making Requests

Include the API key in the Authorization header with the Bearer prefix:

curl -X GET https://your-convex-url.convex.site/api/entities \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json"

Base URL

All API endpoints are served from your Convex deployment URL:

https://<your-deployment>.convex.site/api/

Response Format

All responses use JSON with a consistent structure:

Request Parameters

Authorizationstringrequired
API key with `Bearer` prefix. Example: `Bearer ds_key_abc123...`
Content-Typestringrequired
Must be `application/json` for all requests with a body.
X-Project-Idstringrequired
The project ID to scope the request to.

Rate Limits

4 of 4
Plan
Requests/minute
Burst Limit
Free6010
Pro30050
Team1,000100
EnterpriseCustomCustom
Warning
Never expose your API key in client-side code. Always make API calls from a server or backend service.
Was this helpful?

Command Palette

Search for a command to run...