---
title: "Oauth Callback"
method: GET
path: "/v1/pinterest/oauth/callback"
tags: ["Pinterest"]
---

# Oauth Callback

`GET /v1/pinterest/oauth/callback`

## Request

- Base URL: `https://api.pinbridge.io` (the document declares no server; this is the origin it was published from)
- URL: `https://api.pinbridge.io/v1/pinterest/oauth/callback`
- Auth: none declared

Handle Pinterest OAuth callback.

Exchanges code for access token and stores account.

## Query parameters

- `code` string, nullable: Authorization code from Pinterest
- `state` string, required: State parameter for CSRF protection
- `error` string, nullable: Set by Pinterest when access was refused

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/pinbridge/apis/pinbridge-api.md) · [All operations](https://skmtc.dev/pinbridge/apis/pinbridge-api/llms.txt) · [OpenAPI document](https://skmtc.dev/pinbridge/apis/pinbridge-api/revisions/b17603589d01?raw)
