Set a URL variable on a webhook
One step with GitLab. We can help you get access.
Get something done
Set a URL variable on a webhook
with GitLab · Webhook & Event Subscription Management
Works with AI assistants
Use GitLab: its GitLab Webhooks Webhook Configuration API lets you set a URL variable on a webhook in a single step (PUT /projects/{id}/hooks/{hook_id}/url_variables/{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 keep a secret out of a webhook URL by using a URL variable?
- Can I substitute a placeholder in the webhook URL with a stored value?
Say it to your AI assistant
- Set URL variable {key} to {value} on webhook {hook_id} of project {id}.
- Store {value} as the {key} URL placeholder for hook {hook_id} in {id}.
For your developer
PUT /projects/{id}/hooks/{hook_id}/url_variables/{key} in GitLab Webhooks Webhook Configuration API. Full spec on APIs.io.