Skip to main content
POST
/
assets
/
{assetId}
/
events
Push asset custom event.
curl --request POST \
  --url https://api.example.com/assets/{assetId}/events \
  --header 'Content-Type: application/json' \
  --data '
{
  "eventType": "<string>",
  "metadata": [
    {
      "key": "<string>",
      "value": "<string>"
    }
  ]
}
'
{}

Path Parameters

assetId
string
required

the asset id

Query Parameters

whenAt
string

Optional: the whenAt datetime

branchId
string
required

the branchId

Body

application/json
eventType
string
required

The event type

metadata
object[]

metadata assigned to the object

Response

The response is of type object.