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": "f4894b39-7e55-4ad9-9984-6623d46ed376",
    "media_id": "1b1f01be-da91-4dfd-b5e7-73b40e1fc0c3"
  }
}
'
{
  "id": "d7d08a4c-0a29-4b6c-a77c-6b0b0cde4174",
  "object": "review_media",
  "alt": null,
  "title": null,
  "url": null,
  "media": "1b1f01be-da91-4dfd-b5e7-73b40e1fc0c3",
  "review": "f4894b39-7e55-4ad9-9984-6623d46ed376",
  "created_at": 1771429906,
  "updated_at": 1771429906
}

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.