Skip to main content
POST
/
livestate
/
broadcast
Broadcast Event
curl --request POST \
  --url https://api.velt.dev/v2/livestate/broadcast \
  --header 'Content-Type: application/json' \
  --header 'x-velt-api-key: <api-key>' \
  --header 'x-velt-auth-token: <api-key>' \
  --data '{
  "data": {
    "organizationId": "YOUR_ORGANIZATION_ID",
    "documentId": "YOUR_DOCUMENT_ID",
    "liveStateDataId": "sample_live_state_data_id",
    "data": {
      "status": "active",
      "message": "Hello World",
      "customField": "custom value"
    },
    "merge": true
  }
}'
{
  "result": {
    "status": "success",
    "message": "Operation completed successfully",
    "data": {}
  }
}

Authorizations

x-velt-api-key
string
header
required

Your API key from the Velt Console

x-velt-auth-token
string
header
required

Your Auth Token for authentication

Body

application/json
data
object
required

Response

Event broadcasted successfully

result
object