Actions30
- Asset Actions
- Board Actions
- Connection Actions
- Pin Actions
- Rate Meter Actions
- Schedule Actions
- Term Actions
- Webhook Actions
Connection → Complete OAuth Callback
AI-generatedSummary
Complete the Pinterest OAuth authentication by exchanging the OAuth callback code and state for a connected Pinterest account confirmation.
Inputs
- OAuth Code (required) — Pinterest OAuth callback code obtained from the OAuth redirect
- OAuth State (required) — Signed OAuth state returned by the Start OAuth operation
Output shape
a list of JSON objects, one per input item, each containing the OAuth completion status, message, associated Pinterest account ID if successful, and raw API response data.
The operation returns one result object per input item. On error, the output may include an error message and item index if 'Continue on Fail' is enabled. This operation requires the OAuth Code and OAuth State parameters, which are typically obtained from the Pinterest OAuth redirect after the user authorizes access.
Examples
Example 1: User completes OAuth flow by providing received OAuth Code and OAuth State
Provide 'oauthCode' and 'oauthState' from the Pinterest OAuth callback to complete authentication and retrieve the connected account information.