Webhooks
POST /v0/webhooks/{webhook-id}/actions/activate
Changed onActivate a webhook
Request
- Base URLhttps://api.griffin.com
- AuthAPI key in header Authorization
- TypeScripthttps://skmtc.dev/griffin/apis/the-griffin-api/docs/v0/webhooks/:webhook-id/actions/activate/post.tsA function with typed inputs. Its response is checked against the schema.
Path parameters
webhook-idstring required
Response
OK
Example response
{
"webhook-description": "Griffin API webhook",
"activate-webhook-url": "/v0/webhooks/wh.ICAgICAgd2ViaG9vay1pZA/actions/activate",
"deactivate-webhook-url": "/v0/webhooks/wh.ICAgICAgd2ViaG9vay1pZA/actions/deactivate",
"created-by": "/v0/users/ur.ICAgICAgICAgdXNlci1pZA",
"organization-url": "/v0/organizations/og.IG9yZ2FuaXphdGlvbi1pZA",
"test-webhook-url": "/v0/webhooks/wh.ICAgICAgd2ViaG9vay1pZA/actions/test",
"webhook-url": "/v0/webhooks/wh.ICAgICAgd2ViaG9vay1pZA",
"webhook-destination-url": "https://example.com/griffin/webhook/"
}Changes
- info
api operation id
post-webhooks-webhook-id-actions-activatewas added
- info