Every API response includes anDocumentation Index
Fetch the complete documentation index at: https://docs.social-api.ai/llms.txt
Use this file to discover all available pages before exploring further.
X-Request-ID header. The same value appears in every error response body as request_id. Include this ID when reporting an issue to support and we can find the full server-side trace for your call in seconds.
Supplying your own ID
If your application already generates correlation IDs (for tracing across your own services), send them on theX-Request-ID request header. The server uses your ID when it matches ^[a-zA-Z0-9_-]{1,64}$ and falls back to generating an 8-char hex ID otherwise.
Example
X-Request-ID: my-trace-abc-123 on success and on error.
Error response shape
request_id from the response body (or the X-Request-ID response header) and include it in your support email or message. That lets us pull the full log trace for the failing request without you having to re-run anything.
Logging request IDs in your application
It is good practice to log theX-Request-ID from every response alongside your own trace context. Here is a minimal example in TypeScript: