Skip to main content
POST
Create media resource

Authorizations

X-API-KEY
string
header
required

Use the format X-API-KEY YOUR_API_KEY. Each key is tied to a single broadcast.

Path Parameters

userId
string<objectId>
required

Resource identifier.

Body

application/json
data
string | null
Example:

"string"

path
string | null
Example:

"string"

url
string<uri> | null
Example:

"https://example.com"

external
boolean | null
Example:

true

externalUrl
string | null
Example:

"string"

metadata
object

Response

201 - application/json

Success

_id
string<objectId>
required
Example:

"64b7f8b6f23a4a4f3d0a9b12"

_userId
string
required
Example:

"string"

mediaUrl
string
required
Example:

"string"

external
boolean
required
Example:

true

_createdAt
string<date-time>
required
Example:

"2024-01-01T00:00:00.000Z"

externalUrl
string | null
Example:

"string"

_updatedAt
string<date-time> | null
Example:

"2024-01-01T00:00:00.000Z"

_reference
string | null
Example:

"string"