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": "36a8b51d-6ebf-4fe5-8a94-4dc2811b5a81",
    "media_id": "c8366952-3eeb-468b-8880-b08026252d71"
  }
}
'
{
  "id": "1af41384-184e-4f5c-a843-4a66ac013ea8",
  "object": "review_media",
  "alt": null,
  "title": null,
  "url": null,
  "media": "c8366952-3eeb-468b-8880-b08026252d71",
  "review": "36a8b51d-6ebf-4fe5-8a94-4dc2811b5a81",
  "created_at": 1780925610,
  "updated_at": 1780925610
}

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.