---
title: "Pinterest get user account API: GET /user_account"
description: "When PubNio calls Pinterest's get user account request, GET /user_account: the scopes it needs, the errors PubNio handles for it, and its pinned spec revision."
---

> Documentation Index
> Fetch the complete documentation index at: https://pubnio.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Pinterest get user account API: GET /user_account

PubNio calls Pinterest's `GET /user_account` (`user_account/get`) to identify the signed-in Pinterest account and read its followers.

## How PubNio calls it

- Connecting an account: after the sign-in that [`POST /api/v1/integrations/{provider}/connect`](https://pubnio.com/api/v1/docs#tag/integrations/POST/api/v1/integrations/{provider}/connect) or [`POST /api/v1/integrations/accounts/{accountId}/reconnect`](https://pubnio.com/api/v1/docs#tag/integrations/POST/api/v1/integrations/accounts/{accountId}/reconnect) starts, the sign-in callback makes this call before it saves the account.
- Account analytics: the account sync makes this call; [`GET /api/v1/workspaces/{workspaceId}/analytics/accounts/{accountId}`](https://pubnio.com/api/v1/docs#tag/analytics/GET/api/v1/workspaces/{workspaceId}/analytics/accounts/{accountId}) returns what it stored.
- At sign-in the account's ID becomes the connection's subject, and its profile image becomes the avatar of every board PubNio connects.
- For account analytics PubNio reads the follower count from the same endpoint. It stores `follower_count` when Pinterest returns a number and leaves it out when the count is null.
- A response without an `id` is refused; `username` and `profile_image` are optional.

## Scopes

- The pinned spec lists one scope: `user_accounts:read`.
- PubNio's Pinterest sign-in requests every one of them.
- Before the account analytics sync makes this call, PubNio checks that the account granted `pins:read` and `user_accounts:read`.

## Errors

PubNio has no Pinterest error code pages yet. [Provider error codes](https://pubnio.com/docs/errors/providers/) covers the providers that have them.

## Spec and changes

`user_account/get` in the pinned spec, revision `5c6c1fc9a6dbdee1df537f3f805f09262c496917`.

Refreshed by hand: no weekly change record.

## Limits

- PubNio connects boards, not the account: the account itself is never a publishing destination.

## Sources

- [Pinterest REST API OpenAPI description](https://github.com/pinterest/api-description/blob/5c6c1fc9a6dbdee1df537f3f805f09262c496917/v5/openapi.json)

## Related

- [Provider API operations PubNio calls](https://pubnio.com/docs/providers/operations/)
- [Pinterest rate limits and quota](https://pubnio.com/docs/providers/pinterest/quota/)

Source: https://pubnio.com/docs/providers/pinterest/operations/user-account-get/index.mdx
