POST
/
v2
/
watch
/
event
curl --request POST \
  --url https://api.prelude.dev/v2/watch/event \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "events": [
    {
      "target": {
        "type": "phone_number",
        "value": "+30123456789"
      },
      "label": "onboarding.start",
      "confidence": "maximum"
    }
  ]
}'
{
  "status": "success",
  "request_id": "3d19215e-2991-4a05-a41a-527314e6ff6a"
}

Authorizations

Authorization
string
header
required

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

Body

application/json

Response

200
application/json
OK

The response is of type object.