API Keys
- Obtaining: To access the API, you’ll need a valid
API key
. Retrieve it from the SiteGPT billing dashboard. If unavailable, please contact the admin. - Authentication: SiteGPT primarily authenticates using API keys.
- Usage: Always include your
API key
in the request header:
JSON Response
Expect responses from the API in JSON format. Ensure your system can parse this data structure. For errors, check theerror
key within the JSON response.
Handling Authentication Errors
If yourAPI key
is absent, not formatted correctly, or invalid, you’ll receive a 401 Unauthorized
HTTP response.