POST
/
add_webhook
curl --request POST \
  --url https://api.carbon.ai/add_webhook \
  --header 'Content-Type: application/json' \
  --header 'authorization: <api-key>' \
  --data '{
  "url": "<string>"
}'
{
  "id": 123,
  "organization_id": 123,
  "url": "<string>",
  "signing_key": "<string>",
  "created_at": "2023-11-07T05:31:56Z",
  "updated_at": "2023-11-07T05:31:56Z"
}

Authorizations

authorization
string
headerrequired

Bearer <token>, corresponds to API keys.

Body

application/json
url
string
required

Response

200 - application/json
id
integer
required
organization_id
integer
required
url
string
required
signing_key
string
required
created_at
string
required
updated_at
string
required