How do I set up a webhook integration in Codemagic?

Last updated: October 7, 2026

Context

You may want to set up a webhook to connect your Codemagic application with a repository host such as GitHub, GitLab, or Bitbucket. This allows Codemagic to automatically trigger builds on events like pushes, pull requests, or branch/tag creation.

Answer

Webhook settings are found in your app settings, not your team settings. Follow the steps below to set up a webhook:

  1. Open your application settings on Codemagic (navigate directly to your app, not the team settings page).

  2. Go to the Webhooks section and copy your payload URL.

  3. In GitHub, navigate to Settings > Webhooks > Add webhook.

  4. Paste the payload URL copied from Codemagic. Both application/json and application/x-www-form-urlencoded are supported as the Content type.

  5. Select the following events to trigger the webhook: Branch or tag creation, Pull requests, and Pushes.

  6. Save the webhook configuration.

Image of a Codemagic Webhooks settings page and a GitHub Webhooks configuration flow describing how to paste a payload URL and select events.

Note: Make sure you are in your app settings and not your team settings. The Webhooks option will not appear in the team settings area.