Skip to main content
POST
Deliver a Hug event

Authorizations

Authorization
string
header
required

Not needed from the same machine. From another host: a dispatch JWT CliqHub signed for this daemon, or a cliq_tok_… personal token whose user is in the daemon's realm.

Body

application/json
hug_id
string
required

The Hug the event is about

Minimum string length: 1
seq
integer
required

Event number, per Hug (delivered in order; duplicates ignored)

Required range: x <= 9007199254740991
type
enum<string>
required

What happened

Available options:
response,
expired,
cancelled
run_id
string

Its run

payload
object

The event: { response } for a response, { reason? } when cancelled

tx_id
string

Hub command id (dedup + ack)

{key}
any

Response

Success.

ok
boolean
required
data
object
required