curl --request PUT \
--url https://api.meetcampfire.com/integrations/api/v1/webhook/{id} \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
"url": "<string>",
"topics": [
{
"name": "<string>"
}
],
"active": true
}'
{
"id": 123,
"uuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"url": "<string>",
"token": "<string>",
"topics": [
{
"id": 123,
"name": "<string>"
}
],
"active": true,
"created_at": "2023-11-07T05:31:56Z",
"last_modified_at": "2023-11-07T05:31:56Z",
"customer": 123
}
curl --request PUT \
--url https://api.meetcampfire.com/integrations/api/v1/webhook/{id} \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
"url": "<string>",
"topics": [
{
"name": "<string>"
}
],
"active": true
}'
{
"id": 123,
"uuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"url": "<string>",
"token": "<string>",
"topics": [
{
"id": 123,
"name": "<string>"
}
],
"active": true,
"created_at": "2023-11-07T05:31:56Z",
"last_modified_at": "2023-11-07T05:31:56Z",
"customer": 123
}
Token-based authentication with required prefix "Token"
The response is of type object
.