---
title: "Create a token from a share"
method: POST
path: "/1/vod/channel/{channel}/share/{share}/token"
tags: ["V2 > Share"]
---

# Create a token from a share

`POST /1/vod/channel/{channel}/share/{share}/token`

Create a token from a share, please take care to add https://player.vod2.infomaniak.com and https://api.vod2.infomaniak.com when using allowed_domains along when using infomaniak player

## Path parameters

- `channel` integer, required
- `share` integer, required

## Response `200`

OK

- object
  - `result` 'success' | 'error' | 'asynchronous', required — Result of the HTTP request
  - `data` string

---

[API](https://skmtc.dev/infomaniak/apis/api-reference-developer-tools.md) · [All operations](https://skmtc.dev/infomaniak/apis/api-reference-developer-tools/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/infomaniak/api-reference-developer-tools/revisions/158a854b0c7d/schema)
