POST
/
uploads
curl --request POST \
  --url https://api.vidbeo.com/v2/uploads \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "Example",
  "size": 12345
}'
{
  "success": true,
  "result": {
    "id": "abcde12345abcde12345a",
    "name": "Example",
    "size": 12345,
    "key": "path/to/file",
    "url": "https://example.com/path/to/file",
    "created_by": "abcde12345abcde12345a",
    "created_time": "2024-01-01T00:00:00.000Z",
    "updated_by": "abcde12345abcde12345a",
    "updated_time": "2024-01-01T00:00:00.000Z"
  },
  "links": {},
  "errors": []
}

Authorizations

Authorization
string
headerrequired

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
name
string

The file name

size
integer

The file size, in bytes

Response

200 - application/json
success
boolean
required
result
object
required
links
object
required
errors
object[]
required