Skip to Content
Pindown.ai is in early alpha - features may change
Pages APIAdd Pin to Page

Add Pin to Page

Add an existing pin to a page. Pins appear on the page in the order they are added.

Endpoint

POST /v1/pages/:pageId/pins

Authentication

Requires API key with pages:write scope. You must be the page owner or an editor.

Authorization: Bearer pk_live_your_api_key

Path Parameters

ParameterTypeRequiredDescription
pageIdstringYesPage ID (e.g., pg-abc123)

Request Body

FieldTypeRequiredDescription
pin_idstringYesPin ID to add (e.g., p-xyz789)

Example

import { PindownClient } from '@pindownai/client-js' const client = new PindownClient({ apiKey: process.env.PINDOWN_API_KEY }) await client.pages.addPin('pg-abc123', { pin_id: 'p-xyz789' }) console.log('Pin added to page')

Response

{ "success": true, "message": "Pin added to page successfully" }

Notes

  • Pins appear on the page in the order they are added (top to bottom)
  • The same pin can be added to multiple pages
  • Adding a pin to a page does not affect the pin itself

Next Steps