cURL
curl --request POST \ --url https://depot.mesa.dev/api/v1/{org}/{repo}/webhooks \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "url": "<string>", "events": [ "push" ], "branches": [ "<string>" ], "globs": [ "<string>" ], "secret": "<string>" } '
{ "id": "<string>", "url": "<string>", "events": [ "push" ], "branches": [ "<string>" ], "globs": [ "<string>" ], "created_at": "<string>", "updated_at": "<string>", "secret": "<string>" }
Create a webhook for a repository
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
1
push
Webhook created