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": "09883b6e-4149-42d6-899a-6423159d3c58",
    "media_id": "58706ed9-6b04-4310-90dd-646fdaa08d08"
  }
}
'
{
  "id": "da6843e5-4bf3-4ed8-bd0b-1bfa1634317c",
  "object": "review_media",
  "alt": null,
  "title": null,
  "url": null,
  "media": "58706ed9-6b04-4310-90dd-646fdaa08d08",
  "review": "09883b6e-4149-42d6-899a-6423159d3c58",
  "created_at": 1772113046,
  "updated_at": 1772113046
}

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.