POST /accounts/{account_id}/stream
Initiates a video upload using the TUS protocol. On success, the server responds with a status code 201 (created) and includes a location
header to indicate where the content should be uploaded. Refer to https://tus.io for protocol details.
Servers
- https://api.cloudflare.com/client/v4
Path parameters
Name | Type | Required | Description |
---|---|---|---|
account_id |
String | Yes |
Request headers
Name | Type | Required | Description |
---|---|---|---|
Content-Type |
String | Yes |
The media type of the request body.
Default value: "application/json" |
Upload-Metadata |
String | No | |
Upload-Creator |
String | No | |
Tus-Resumable |
String | Yes |
Possible values:
|
Upload-Length |
Integer | Yes |
Query parameters
Name | Type | Required | Description |
---|---|---|---|
direct_user |
Boolean | No |
Default value: false |
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.