The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.
TypeScript clickhousemysqlnextjsopen-sourceplanetscaleprismatailwindcsstinybirdtypescriptupstashvercel
Update projectSlug to workspaceId in bulk-create-links endpoint
Kiran K9c05e868eeab
diff --git a/apps/docs/api-reference/endpoint/bulk-create-links.mdx b/apps/docs/api-reference/endpoint/bulk-create-links.mdxindex 8e84732322..7939241dd1 100644--- a/apps/docs/api-reference/endpoint/bulk-create-links.mdx+++ b/apps/docs/api-reference/endpoint/bulk-create-links.mdx@@ -1,7 +1,7 @@---openapi: post /links/bulkog:title: 'Bulk create links with the Dub.co API - API Reference'-description: Bulk create up to 100 links for the authenticated project.+description: Bulk create up to 100 links for the authenticated workspace.---<Warning>@@ -13,7 +13,7 @@ description: Bulk create up to 100 links for the authenticated project.<RequestExample>```bash cURLcurl --request POST \- --url https://api.dub.co/links/bulk?projectSlug={YOUR_PROJECT_SLUG} \+ --url https://api.dub.co/links/bulk?workspaceId={WORKSPACE_ID} \--header 'Authorization: Bearer {YOUR_TOKEN}' \--header 'Content-Type: application/json' \--data '[@@ -45,7 +45,7 @@ const options = {])};-fetch('https://api.dub.co/projects/steven/links/bulk', options)+fetch('https://api.dub.co/links/bulk?workspaceId={WORKSPACE_ID}', options).then(response => response.json()).then(response => console.log(response)).catch(err => console.error(err));