Set a custom header on a project webhook
One step with GitLab. We can help you get access.
Get something done
Set a custom header on a project webhook
with GitLab
Works with AI assistants
Use GitLab: its GitLab REST Hooks API lets you set a custom header on a project webhook in a single step (PUT /api/v4/projects/{id}/hooks/{hook_id}/custom_headers/{key}). GitLab also has an MCP server, so an AI assistant like Claude or ChatGPT can do it for you. capabilities.work can help you get signed up and connected.
- How do I add a custom header to a project webhook?
- Can I change one custom header on a project hook?
Say it to your AI assistant
- Set custom header {key} on project webhook {hook_id} in {id} to {value}.
- Update project hook {hook_id} in {id} so {key} has value {value}.
For your developer
PUT /api/v4/projects/{id}/hooks/{hook_id}/custom_headers/{key} in GitLab REST Hooks API. Full spec on APIs.io.