Skip to content
Docs

A tool's webhook check

GET
/api/hooks/{connection}

Called by the tool, not by you: WhatsApp checks the address with its verify token here and gets its challenge back. The address to give it is this path with the connection's id.

Path Parameters

connection*string

The connection's id (from GET /api/workspaces/:ws/connections).

Response Body

The tool's challenge, as plain text, when its token matches the connection's.

Example Request
curl -X GET 'https://app.useroster.work/api/hooks/string'
Example Response200
Empty