Skip to main content
POST
Register Provider Asset

Authorizations

Authorization
string
header
required

API Key authentication. Format: Bearer YOUR_API_KEY.

Path Parameters

provider
enum<string>
required

Provider that owns the asset library. Only bytedance is supported.

Available options:
bytedance
Example:

"bytedance"

Body

application/json
url
string<uri>
required

One public HTTPS URL with no userinfo. Maximum 2048 characters.

Maximum string length: 2048
Example:

"https://cdn.example.com/hero.png"

type
enum<string>
required

Asset type. Case-sensitive.

Available options:
image,
video,
audio
name
string

Optional display name. Maximum 64 characters. Blank is treated as omitted.

Maximum string length: 64

Response

Asset registered. This example is active, which is when it can be referenced. The provider may also return processing or failed.

code
integer
required
Example:

0

message
string
required
Example:

"success"

data
object
required