Skip to Content
Pindown.ai is in early alpha - features may change
Pinboards APIShare Pinboard

Update Sharing Settings

Control who can access your pinboard.

Endpoint

POST /v1/pinboards/:boardId/share

Authentication

Requires API key with pinboards:share scope.

Request Body

FieldTypeRequiredDescription
is_publicbooleanNoMake pinboard publicly accessible
require_sign_inbooleanNoRequire sign-in to view
allow_commentsbooleanNoEnable comments

Example

import { PindownClient } from '@pindownai/client-js' const client = new PindownClient({ apiKey: process.env.PINDOWN_API_KEY }) // Make pinboard public const result = await client.pinboards.share('pb-abc123', { is_public: true, allow_comments: true }) console.log(`Share URL: ${result.shareable_url}`) // Make private again await client.pinboards.share('pb-abc123', { is_public: false })

Response

{ "success": true, "data": { "id": "pb-abc123", "is_public": true, "require_sign_in": false, "allow_comments": true } }

Rate Limiting

This endpoint costs 3 tokens per request (email costs for notifications).