Webhooks
Instant HTTP callbacks on every completed task
Last updated
Was this helpful?
Instant HTTP callbacks on every completed task
Last updated
Was this helpful?
Webhooks are POST
requests sent by the Human Lambdas API towards a callback URL of your choice, which you can register per queue in its corresponding screen.
Currently, Webhooks can only be enabled for completed tasks. The callback structure mimics the format of the task object.
Here's how you can replicate a sample Webhooks callback:
We currently only support setting one webhook per queue between the UI and the API. The webhook object is represented in the API as:
With target
being the URL that will receive a callback every time a task in a specific queue is completed.
GET
https://api.humanlambdas.com/orgs/$ORGANIZATION_ID/queues/$QUEUE_ID/webhook
ORGANIZATION_ID
integer
The organization's identifier
QUEUE_ID
integer
The queue's identifier
Authorization
string
Token $API_KEY
or visit the Introduction page for more details
PUT
https://api.humanlambdas.com/orgs/$ORGANIZATION_ID/queues/$QUEUE_ID/webhook
ORGANIZATION_ID
integer
The organization's identifier
QUEUE_ID
integer
The queue's identifier
Authorization
string
Token $API_KEY
or visit the Introduction page for more details
Content-Type
string
application/json