PinBridge Link domains API
The Link domains API from PinBridge — 2 operation(s) for link domains.
The Link domains API from PinBridge — 2 operation(s) for link domains.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/pinbridge-io:pinbridge-io-link-domains-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: PinBridge Link domains API
description: 'Developer-first Pinterest publishing engine with queues, pacing, and webhooks
## Error contract
Every non-2xx JSON response carries a top-level `error` envelope next to the
legacy `detail` field:
```json
{
"detail": "...",
"error": {
"code": "board_access_denied",
"message": "Pinterest denied access to this board for the connected account.",
"remediation": "Refresh the board list and choose a board owned by this account.",
"request_id": "8c2c1f0e-...",
"board_id": "1234567890",
"account_id": "..."
}
}
```
`error.code` is stable and safe to branch on; `error.message` is for humans;
`error.remediation` says what to change; `error.request_id` matches the
`X-Request-ID` response header for support. Extra keys give machine-readable
context (`board_id`, `account_id`, `retry_after_seconds`, `required_scope`, ...).
Validation failures use `code: validation_error` and list field errors under
`error.errors`.
## Publish headroom headers
Publish-shaped responses (`POST /v1/pins`, `/v1/pins/batch`, `/v1/pins/validate`,
`/v1/pins/{id}/retry`) carry the remaining monthly quota and Pinterest rate
headroom: `X-PinBridge-Quota-Limit`, `X-PinBridge-Quota-Used`,
`X-PinBridge-Quota-Remaining`, `X-Pinterest-RateLimit-Remaining`,
`X-Pinterest-RateLimit-Capacity`, `X-Pinterest-RateLimit-Refill-Per-Second`.
On a batch the rate headers describe the first pin''s account and are omitted
when the batch spans several accounts.
## API key scopes
API keys carry `read`, `write` and `destructive` scopes and an optional Pinterest
account allow-list. A request outside the key''s grants fails with
`403 insufficient_scope` or `403 account_not_permitted`.'
version: 1.93.1
tags:
- name: Link domains
paths:
/v1/link-domains/{domain}:
get:
tags:
- Link domains
summary: Get Link Domain Status
description: 'Say whether pins that link to a domain can be published.
Pinterest refuses some links as possible spam. PinBridge then stops sending pins
that link to that domain, from every workspace, and publish calls answer
`link_domain_blocked`. Subdomains and links that wrap the domain in a redirect
are covered too.'
operationId: get_link_domain_status_v1_link_domains__domain__get
parameters:
- name: domain
in: path
required: true
schema:
type: string
title: Domain
- name: x-api-key
in: header
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: X-Api-Key
- name: authorization
in: header
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: Authorization
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/LinkDomainStatusResponse'
'422':
description: Validation Error
content:
application/json:
schema:
oneOf:
- $ref: '#/components/schemas/HTTPValidationError'
- $ref: '#/components/schemas/ErrorResponse'
security:
- ApiKeyAuth: []
- BearerAuth: []
/v1/link-domains/{domain}/retry-request:
post:
tags:
- Link domains
summary: Request Link Domain Retry
description: 'Ask for one test pin after Pinterest lifted its block on a domain.
Appeal to Pinterest first. Once Pinterest says the block is lifted, send this
request from a workspace whose pins linked there. PinBridge reviews it and lets
that workspace send one pin. If Pinterest publishes it, the block is lifted for
everyone. If Pinterest refuses it, the block becomes permanent. Each domain
gets one test.'
operationId: request_link_domain_retry_v1_link_domains__domain__retry_request_post
parameters:
- name: domain
in: path
required: true
schema:
type: string
title: Domain
- name: x-api-key
in: header
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: X-Api-Key
- name: authorization
in: header
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: Authorization
requestBody:
content:
application/json:
schema:
anyOf:
- $ref: '#/components/schemas/LinkDomainRetryRequest'
- type: 'null'
title: Data
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/LinkDomainStatusResponse'
'422':
description: Validation Error
content:
application/json:
schema:
oneOf:
- $ref: '#/components/schemas/HTTPValidationError'
- $ref: '#/components/schemas/ErrorResponse'
security:
- ApiKeyAuth: []
- BearerAuth: []
components:
schemas:
LinkDomainStatusResponse:
properties:
domain:
type: string
title: Domain
description: The domain asked about, normalized.
blocked_domain:
anyOf:
- type: string
- type: 'null'
title: Blocked Domain
description: The listed domain that covers it (the same domain or a parent).
status:
type: string
enum:
- not_blocked
- blocked
- retry_requested
- retry_approved
- banned
title: Status
publishable:
type: boolean
title: Publishable
description: True when this workspace can link there now.
retry_available:
type: boolean
title: Retry Available
description: True when the domain's one test can still be requested.
retry_requested_by_this_workspace:
type: boolean
title: Retry Requested By This Workspace
default: false
message:
type: string
title: Message
remediation:
anyOf:
- type: string
- type: 'null'
title: Remediation
type: object
required:
- domain
- status
- publishable
- retry_available
- message
title: LinkDomainStatusResponse
description: Whether pins that link to a domain can be published, as one workspace sees it.
HTTPValidationError:
properties:
detail:
items:
$ref: '#/components/schemas/ValidationError'
type: array
title: Detail
type: object
title: HTTPValidationError
LinkDomainRetryRequest:
properties:
note:
anyOf:
- type: string
maxLength: 2000
- type: 'null'
title: Note
description: What changed, for example the date Pinterest accepted the appeal.
type: object
title: LinkDomainRetryRequest
description: Ask PinBridge to test one pin after Pinterest lifted a block.
ErrorResponse:
type: object
title: ErrorResponse
properties:
detail:
description: Legacy detail payload (string, object, or list).
error:
$ref: '#/components/schemas/ErrorEnvelope'
ErrorEnvelope:
type: object
title: ErrorEnvelope
description: Documented error contract carried by every non-2xx response.
required:
- code
- message
properties:
code:
type: string
description: Stable machine-readable error code.
message:
type: string
description: Human-readable explanation.
remediation:
type: string
nullable: true
description: What to change to make the request succeed.
request_id:
type: string
nullable: true
description: Correlates with the X-Request-ID header; quote it to support.
additionalProperties: true
ValidationError:
properties:
loc:
items:
anyOf:
- type: string
- type: integer
type: array
title: Location
msg:
type: string
title: Message
type:
type: string
title: Error Type
type: object
required:
- loc
- msg
- type
title: ValidationError
securitySchemes:
ApiKeyAuth:
type: apiKey
in: header
name: X-API-Key
description: API key created via `/v1/api-keys`.
BearerAuth:
type: http
scheme: bearer
bearerFormat: JWT or API Key
description: 'Auth header: `Authorization: Bearer <jwt-or-api-key>`.'