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": "70b3d044-ff24-441a-b2f0-f2be32d85f54",
    "media_id": "7d366def-e684-4413-aa30-56099aa5547d"
  }
}
'
{
  "id": "c377a0fb-670f-455f-9d5e-11ba74c6a356",
  "object": "review_media",
  "alt": null,
  "title": null,
  "url": null,
  "media": "7d366def-e684-4413-aa30-56099aa5547d",
  "review": "70b3d044-ff24-441a-b2f0-f2be32d85f54",
  "created_at": 1770234897,
  "updated_at": 1770234897
}

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.