Create Media
Create a new media object.
Media created in this way will be empty. You can add either new or existing files using the Files endpoints.
Authorization
Request Body
application/json
RequiredThe request body should contain a properly formatted JSON object with one or more of title
, alt
, or metadata
properties. See Media Object for more details.
title
stringalt
stringmetadata
objectResponse Body
Success
TypeScript Definitions
Use the response body type in TypeScript.
meta
objectdata
objecterror
object | null | nulllinks
object