Append one event using only a scoped source bearer token
POST
/api/v1/channel-ingress/delegated/{id}/events
const url = 'http://localhost:11044/api/v1/channel-ingress/delegated/example/events';const options = {method: 'POST', headers: {'X-Embabel-Api-Key': '<X-Embabel-Api-Key>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url http://localhost:11044/api/v1/channel-ingress/delegated/example/events \ --header 'X-Embabel-Api-Key: <X-Embabel-Api-Key>'Accepts eventId, streamId, occurredAt and payload. The host derives source and attribution; exact retries return the durable receipt.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”id
required
string
Id of the delegation the bearer token was issued under (a lowercase UUID, as the owner got it at issue); another shape, or a token that is not this delegation’s current one, is refused with 403
Responses
Section titled “Responses”The durable receipt: receiptId, offset and replayed
Media type*/*

