From c0ea4c60e4917ab3199f1187cb4146bd59ffb586 Mon Sep 17 00:00:00 2001 From: roshboi Date: Wed, 20 May 2026 18:17:14 +1000 Subject: [PATCH] fix(docs): correct API example URLs from /documents to /document (#2836) ## Description Corrected API endpoint path from /api/v2/documents to /api/v2/document The current example in the docs(/api/v2/documents) returns a 404 NOT_FOUND object. --- .../docs/developers/getting-started/authentication.mdx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/docs/content/docs/developers/getting-started/authentication.mdx b/apps/docs/content/docs/developers/getting-started/authentication.mdx index 40e595d6d..44dd7944c 100644 --- a/apps/docs/content/docs/developers/getting-started/authentication.mdx +++ b/apps/docs/content/docs/developers/getting-started/authentication.mdx @@ -73,14 +73,14 @@ Include the token in the `Authorization` header of your HTTP requests. ### cURL ```bash -curl https://app.documenso.com/api/v2/documents \ +curl https://app.documenso.com/api/v2/document \ -H "Authorization: api_xxxxxxxxxxxxxxxx" ``` ### JavaScript / TypeScript ```typescript -const response = await fetch('https://app.documenso.com/api/v2/documents', { +const response = await fetch('https://app.documenso.com/api/v2/document', { method: 'GET', headers: { Authorization: 'api_xxxxxxxxxxxxxxxx',