Skip to main content
POST
/
v1
/
review_medias
Create
curl --request POST \
  --url https://{defaultHost}/v1/review_medias \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "review_media": {
    "review_id": "6e717fa5-9769-4efc-9c28-eb7601cab7ac",
    "media_id": "af35a274-d66d-4820-9e8e-c933ebdbd441"
  }
}
'
{
  "id": "027b48ec-4b4b-4903-99f1-43be189194fc",
  "object": "review_media",
  "alt": null,
  "title": null,
  "url": null,
  "media": "af35a274-d66d-4820-9e8e-c933ebdbd441",
  "review": "6e717fa5-9769-4efc-9c28-eb7601cab7ac",
  "created_at": 1767909766,
  "updated_at": 1767909766
}

Authorizations

Authorization
string
header
required

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

Body

application/json
review_media
object

Response

200 - application/json

Success

id
string | null

The UUID of the specific object.

object
string

A string describing the object type returned.

alt
string | null

The HTML alt attribute for the review media.

title
string | null

The HTML title attribute for the review media.

url
string | null

Instead of attaching a Media record, a public URL can be set. If set, this URL will be used to serve the review media asset.

media

Expandable – The associated media ID.

review

Expandable – The associated review ID.

created_at
integer | null

Time at which the object was created. Measured in seconds since the Unix epoch.

updated_at
integer | null

Time at which the object was last updated. Measured in seconds since the Unix epoch.