Skip to main content
POST
/
v1
/
assets
/
:id
/
add-to-page
Add Asset To Page
curl --request POST \
  --url https://api.oviond.com/v1/assets/:id/add-to-page \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "source_id": "<string>",
  "page_id": "<string>",
  "client_id": "<string>"
}
'
{
  "success": true,
  "data": {
    "inserted_count": 123,
    "widget_ids": [
      "<string>"
    ]
  }
}

Authorizations

Authorization
string
header
required

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

Path Parameters

id
string
required

Body

application/json
source_id
string
required

Project id to add the asset widgets to

Minimum string length: 1
page_id
string
required

Page id to place the widgets on

Minimum string length: 1
client_id
string | null

Client id the project belongs to — drives the connectivity → demo decision. Falls back to the project's client when omitted.

Response

Widgets instantiated

success
enum<boolean>
required
Available options:
true
data
object
required