POST /2/media/subtitles
Creates subtitles for a specific Media file.
Servers
- https://api.x.com
Request headers
| Name | Type | Required | Description |
|---|---|---|---|
Content-Type |
String | Yes |
The media type of the request body.
Default value: "application/json" |
Request body fields
| Name | Type | Required | Description |
|---|---|---|---|
id |
String | No |
The unique identifier of this Media. |
media_category |
String | No |
The media category of uploaded media to which subtitles should be added/deleted Valid values:
|
subtitles |
Object | No | |
subtitles.id |
String | No |
The unique identifier of this Media. |
subtitles.display_name |
String | No |
Language name in a human readable form |
subtitles.language_code |
String | No |
The language code should be a BCP47 code (e.g. 'EN", "SP") |
How to start integrating
- Add HTTP Task to your workflow definition.
- Search for the API you want to integrate with and click on the name.
- This loads the API reference documentation and prepares the Http request settings.
- Click Test request to test run your request to the API and see the API's response.