---
title: "Provider API operations PubNio calls"
description: "The 50 X, Instagram, Facebook, TikTok, YouTube, and Pinterest API requests these pages cover: when PubNio sends each, the scopes it needs, its error codes, and its pinned spec."
---

> 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.

# Provider API operations PubNio calls

PubNio's adapters call 50 provider API operations listed here. Each page names the PubNio operations that lead to the call, the scopes the provider's spec lists next to the ones PubNio requests, the error codes PubNio handles for it, and the pinned spec revision it was checked against.

## X

- [`POST /2/tweets`](https://pubnio.com/docs/providers/x/operations/create-posts/): to create each post of an X delivery and every comment it sends
- [`GET /2/users/me`](https://pubnio.com/docs/providers/x/operations/get-users-me/): to identify the X account a person just signed in with
- [`POST /2/media/upload`](https://pubnio.com/docs/providers/x/operations/media-upload/): to upload an image or GIF before it creates the post
- [`POST /2/media/upload/initialize`](https://pubnio.com/docs/providers/x/operations/initialize-media-upload/): to open a chunked upload for a video
- [`POST /2/media/upload/{id}/append`](https://pubnio.com/docs/providers/x/operations/append-media-upload/): to send a video to X in segments
- [`POST /2/media/upload/{id}/finalize`](https://pubnio.com/docs/providers/x/operations/finalize-media-upload/): to close a video upload once every segment is sent
- [`GET /2/media/upload`](https://pubnio.com/docs/providers/x/operations/get-media-upload-status/): to wait for X to finish processing an uploaded video
- [`GET /2/tweets/{id}`](https://pubnio.com/docs/providers/x/operations/get-posts-by-id/): to confirm a delivered post exists and read its metrics
- [`POST /2/articles/draft`](https://pubnio.com/docs/providers/x/operations/article-create-draft/): to save an X Article as a draft
- [`GET /2/users/{id}`](https://pubnio.com/docs/providers/x/operations/get-users-by-id/): to read an X account's follower count
- [`GET /2/users/{id}/tweets`](https://pubnio.com/docs/providers/x/operations/get-users-posts/): to total an X account's engagement over a date range

## Instagram

- [`POST /{ig-user-id}/media`](https://pubnio.com/docs/providers/instagram/operations/ig-user-media/): to create the unpublished container an Instagram post starts from
- [`POST /{ig-user-id}/media_publish`](https://pubnio.com/docs/providers/instagram/operations/ig-user-media-publish/): to publish a finished container
- [`GET /{ig-user-id}/content_publishing_limit`](https://pubnio.com/docs/providers/instagram/operations/ig-user-content-publishing-limit/): to read how much of an account's daily publishing cap is used
- [`GET /{ig-media-id}`](https://pubnio.com/docs/providers/instagram/operations/ig-media-get/): to confirm a published Instagram post and read its permalink
- [`POST /{ig-media-id}`](https://pubnio.com/docs/providers/instagram/operations/ig-media-update/): to turn comments on or off for a published post
- [`POST /{ig-media-id}/comments`](https://pubnio.com/docs/providers/instagram/operations/ig-media-comments/): to post a comment under an Instagram post
- [`POST /{ig-comment-id}/replies`](https://pubnio.com/docs/providers/instagram/operations/ig-comment-replies/): to reply to a comment on an Instagram post
- [`GET /{ig-media-id}/insights`](https://pubnio.com/docs/providers/instagram/operations/ig-media-insights/): to read a published post's insights
- [`GET /{ig-user-id}/insights`](https://pubnio.com/docs/providers/instagram/operations/ig-user-insights/): to read an Instagram account's daily insights

## Facebook

- [`POST /{page-id}/feed`](https://pubnio.com/docs/providers/facebook/operations/page-feed/): to publish a Page text, link, or multi-photo post
- [`POST /{page-id}/photos`](https://pubnio.com/docs/providers/facebook/operations/page-photos/): to stage the photos of a Page post
- [`POST /{page-id}/videos`](https://pubnio.com/docs/providers/facebook/operations/page-videos/): to upload and publish a Page feed video
- [`POST /{page-id}/video_reels`](https://pubnio.com/docs/providers/facebook/operations/page-video-reels/): to start and finish a Facebook Reel
- [`POST /{page-id}/video_stories`](https://pubnio.com/docs/providers/facebook/operations/page-video-stories/): to start and finish a Facebook video story
- [`POST /{page-id}/photo_stories`](https://pubnio.com/docs/providers/facebook/operations/page-photo-stories/): to publish a staged photo as a Facebook story
- [`POST /{album-id}/photos`](https://pubnio.com/docs/providers/facebook/operations/album-photos/): to add a published photo to a Page album
- [`GET /{page-id}/insights`](https://pubnio.com/docs/providers/facebook/operations/page-insights/): to read a Page's daily insights
- [`GET /me/accounts`](https://pubnio.com/docs/providers/facebook/operations/user-accounts/): to list the Pages a person can publish to
- [`GET /me/permissions`](https://pubnio.com/docs/providers/facebook/operations/user-permissions/): to record which permissions a person granted

## TikTok

- [`GET /open_api/v1.3/business/video/settings/`](https://pubnio.com/docs/providers/tiktok/operations/business-video-settings/): to check a post's privacy and interaction settings against the account
- [`POST /open_api/v1.3/business/video/publish/`](https://pubnio.com/docs/providers/tiktok/operations/business-video-publish/): to publish a video to a TikTok business account
- [`POST /open_api/v1.3/business/photo/publish/`](https://pubnio.com/docs/providers/tiktok/operations/business-photo-publish/): to publish a photo post to a TikTok business account
- [`GET /open_api/v1.3/business/publish/status/`](https://pubnio.com/docs/providers/tiktok/operations/business-publish-status/): to learn whether a TikTok publish finished and get the post ID
- [`GET /open_api/v1.3/business/get/`](https://pubnio.com/docs/providers/tiktok/operations/business-get/): to identify a TikTok business account and read its daily metrics
- [`GET /open_api/v1.3/business/video/list/`](https://pubnio.com/docs/providers/tiktok/operations/business-video-list/): to read a published TikTok video's metrics

## YouTube

- [`POST /upload/youtube/v3/videos`](https://pubnio.com/docs/providers/youtube/operations/videos-insert/): to upload a video to a YouTube channel
- [`POST /upload/youtube/v3/thumbnails/set`](https://pubnio.com/docs/providers/youtube/operations/thumbnails-set/): to set a custom thumbnail on an uploaded video
- [`GET /youtube/v3/videos`](https://pubnio.com/docs/providers/youtube/operations/videos-list/): to confirm an uploaded video finished processing
- [`GET /youtube/v3/channels`](https://pubnio.com/docs/providers/youtube/operations/channels-list/): to identify the signed-in channel and read its subscriber count
- [`POST /youtube/v3/commentThreads`](https://pubnio.com/docs/providers/youtube/operations/comment-threads-insert/): to post a video's first comment
- [`GET /v2/reports`](https://pubnio.com/docs/providers/youtube/operations/analytics-reports-query/): to read video and channel analytics

## Pinterest

- [`POST /pins`](https://pubnio.com/docs/providers/pinterest/operations/pins-create/): to create a Pin on a board
- [`POST /media`](https://pubnio.com/docs/providers/pinterest/operations/media-create/): to register a video upload with Pinterest
- [`GET /media/{media_id}`](https://pubnio.com/docs/providers/pinterest/operations/media-get/): to wait for an uploaded video to finish processing
- [`GET /pins/{pin_id}`](https://pubnio.com/docs/providers/pinterest/operations/pins-get/): to confirm a created Pin landed on the right board
- [`GET /user_account`](https://pubnio.com/docs/providers/pinterest/operations/user-account-get/): to identify the signed-in Pinterest account and read its followers
- [`GET /boards`](https://pubnio.com/docs/providers/pinterest/operations/boards-list/): to list the boards a person can publish to
- [`GET /pins/{pin_id}/analytics`](https://pubnio.com/docs/providers/pinterest/operations/pins-analytics/): to read a published Pin's metrics
- [`GET /user_account/analytics`](https://pubnio.com/docs/providers/pinterest/operations/user-account-analytics/): to read a Pinterest account's daily metrics

## Pinned specs

| Spec                                                                                                                                                    | Revision                                   | SHA-256                                                            | Refresh |
| ------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------ | ------------------------------------------------------------------ | ------- |
| [X API v2 OpenAPI document](https://api.x.com/2/openapi.json)                                                                                           | `2.175`                                    | `bdbe79a5fd2610b4d0e80c90e4aa2248190250268953c89587edfc1012dfb1ca` | weekly  |
| [Meta facebook-business-sdk-codegen API specs](https://github.com/facebook/facebook-business-sdk-codegen/tree/5c1fa8a1653722b402133f033fcc321d67981bbd) | `5c1fa8a1653722b402133f033fcc321d67981bbd` | `b4db9a60e6c427e6c6295ac936351086b8de75558e931ee24e7f6d0b0d3dc7a5` | by hand |
| [TikTok API for Business documentation](https://business-api.tiktok.com/portal/docs)                                                                    | `2026-11-30T22:54:08.607Z`                 | `f4b85ddfe4acfd134d6c06f138dd730f013d03d071e02c760832fc324f8d3ac4` | weekly  |
| [YouTube Data API v3 discovery document](https://youtube.googleapis.com/$discovery/rest?version=v3)                                                     | `20261124`                                 | `949200b7a72472a31a90ef536f1bc0194bde7d0de4c746fb7730c9e5a7283773` | weekly  |
| [YouTube Analytics API v2 discovery document](https://youtubeanalytics.googleapis.com/$discovery/rest?version=v2)                                       | `20261129`                                 | `459b3296ebb36f2e76f68341b15abac13c6a9e89a53953902b0d614e332de09e` | weekly  |
| [Pinterest REST API OpenAPI description](https://github.com/pinterest/api-description/blob/5c6c1fc9a6dbdee1df537f3f805f09262c496917/v5/openapi.json)    | `5c6c1fc9a6dbdee1df537f3f805f09262c496917` | `19899fd1c8f30395190f316f86127413ee9102eecdd41878b755f7caf5236a50` | by hand |

Pages show names, methods, paths, and scope names from these specs, not their parameter tables or descriptions; the provider's own reference has those.

Source: https://pubnio.com/docs/providers/operations/index.mdx
