---
title: "Get a Video Token"
method: POST
path: "/network/post/create/"
tags: ["Video"]
---

# Get a Video Token

`POST /network/post/create/`

## Request

- Base URL: `https://api.blog2social.com/rest/v1.0`
- URL: `https://api.blog2social.com/rest/v1.0/network/post/create/`
- Auth: none declared
- TypeScript: <https://skmtc.dev/blog2social/apis/blog2social-api/docs/network/post/create/post~2.ts> (a function with typed inputs; its response is checked against the schema)

Receive a video token for a video post. This is a separate video-token initialization workflow and intentionally uses the trailing-slash path and the `items` property. It must not be merged with the standard `/network/post/create` publisher.<br>A response of 200 OK only means the progress of sending the post was successfully handled by our API. Please check the result of the post on the network.

## Request body

- object[]
  - `client_user_network_id` integer: User network auth id to wich the post should go
  - `title` string: Set post title
  - `message` string: Set post message
  - `postFormat` 2: Set post format (Video&#058; 2)
  - `customUrl` string: Set post url content
  - `noCache` 0 | 1: If the link shoud get a no_cache parameter
  - `tags` string[]: Tags to post
  - `board` string: Pinterest board to post to
  - `mediaObjects` object[]: List of Media Objects to add to the post (For Facebook and X you can add up to 4 images, for Instagram up to 10 and for LinkedIn up to 9. Every other Network will only post the first image in the list)
    - `type` 'VIDEO': Video
    - `url` string: URL to the file
  - `is_retweet` 0 | 1: Indicator, if the post should be a retweet
  - `network_post_id` string: The id of the post you want to retweet
  - `post_id` integer: Identifier that will be returned with the Post Result Object, so you can pair it up with your request.
  - `make_threads` 0 | 1: The post message gets cut and added as comments to the post if a message exceeds the character limit (X only)
  - `ignore_link` 0 | 1: If enabled, the link URL won't be added to the end of the post message

## Response `200`

OK

- object[]
  - `error` integer
  - `network_id` integer
  - `type` integer
  - `client_user_network_id` integer
  - `extra` object
    - `expired` integer: return only when the authorisation is expired (value 1)
  - `video_token` string
  - `video_upload_type` integer

## Other responses

- `400`: Bad Request
- `401`: Unauthorized
- `500`: Interal Server Error

---

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