> ## Documentation Index
> Fetch the complete documentation index at: https://creatorinsights.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# API Authentication

Send your own saved key in the x-api-key header. REST also accepts Authorization: Bearer YOUR\_API\_KEY. Keep keys in private environment variables and server-side automation credentials. Do not share them in screenshots or URLs.

A missing or invalid key returns HTTP 401. Dedicated /v1 routes use success:false with error and message; /api/v1 tool routes can return status:false with an error string. Handle the HTTP status before mapping fields. API-key access is available today. MCP clients can use per-user OAuth. REST API-key authentication remains supported. New workspace write permissions require the matching backend rollout and renewed OAuth consent.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.