POST
/
use-cases
/
{id}
/
add-webhook
curl --request POST \
  --url https://app.happyrobot.ai/api/v1/use-cases/{id}/add-webhook \
  --header 'Content-Type: application/json' \
  --header 'authorization: <authorization>' \
  --data '{
  "url": "<string>",
  "headers": [
    {
      "key": "<string>",
      "value": "<string>"
    }
  ]
}'
This response does not have an example.

Headers

authorization
string
required

Your API key for authentication. Use Bearer format.

Example:

"Bearer API_KEY"

Path Parameters

id
string
required

ID of the use case.

Required string length: 24

Body

application/json
Body
url
string

URL of the webhook.

headers
object[]

Headers of the webhook.

Response

200
_mintlify/placeholder

200