Webhooks and public endpoints
Every address Entropix exposes to the internet, what calls it and how each call is checked.
Most of Entropix is behind sign-in. A few addresses must be reachable from the internet because other systems call them: your Git host when a merge request changes, Slack and Teams when someone writes to an agent, your runners, and your own systems using the Chat API. People's browsers also open the sign-in pages before anyone is signed in. This page lists every one of these addresses, what calls it and how Entropix checks each call before it acts on it. Use it to review Entropix with your security team, or to set up the proxy in front of a server you run.
https://portal.entropixs.com/hooks/, plus /healthz and the sign-in pages (/login, /signup, /links/ and /assets/)
Nothing to do on the hosted portal. On a server you run, an Operator sets up the proxy.
Before you start
- Every address shown in the portal (webhook URLs, the Chat API's
poll_url, file links, the Teams endpoint) is built from your portal's public address. - Each address takes its own kind of credential, and no credential opens another door. A browser's sign-in cookie does nothing on
/hooks/, and a webhook secret does nothing on the portal's pages. - Discord needs no public address: Entropix connects out to Discord instead (see Discord).
Every public address
| Address | Called by | Checked by |
|---|---|---|
POST /hooks/github | GitHub, for the GitHub App | HMAC signature with the App's webhook secret |
POST /hooks/gitlab/{hookID} | GitLab, one address per connected group or project | Secret token, compared in constant time |
POST /hooks/slack/events/{hookID} | Slack, one address per agent's Slack app | Slack's request signature and timestamp |
GET /hooks/slack/oauth | A person's browser, after approving a Slack install | A one-time install code |
POST /hooks/teams/{hookID} | Microsoft Teams, one address per agent's bot | A signed Bot Framework token |
/hooks/runner/* (seven endpoints) | Your runners | A runner credential (erun_…), or a one-time token to register |
/hooks/api/v1/* (seven endpoints) | Your systems, through the Chat API | An agent's API key (eapi_…); file links are signed |
POST /hooks/contact | The contact form on the Entropix website | No credential |
GET /healthz | Load balancers and monitors | No credential; reveals nothing |
GET and POST /login, /signup | People's browsers | Email and password, with a back-off after failures |
GET and POST /links/{secret} | People's browsers, from an invite or reset link | The one-time link itself |
GET /assets/{name} | People's browsers | No credential: the portal's own stylesheet, script and fonts |
GitHub
POST /hooks/github is the GitHub App's one webhook address, shared by every organisation that installed the App.
- Check. The
X-Hub-Signature-256header (sha256=and the HMAC-SHA256 of the body under the App's webhook secret) must match. The organisation is found from the installation named inside the verified body, never from the address. - Events read.
pull_request,pull_request_review_comment,issue_commentandping. Any other event, or a delivery already received, is answered202and ignored. - Answers.
202accepted;401bad signature;404an installation no organisation holds;400a body it cannot read;413over 4 MiB;500a portal error. - Where you see refusals. On Settings › Integrations, Refused before sign-in (N) counts deliveries refused before an organisation was known, with Why it was refused.
Setting it up is in Connect GitHub or GitLab.
GitLab
POST /hooks/gitlab/{hookID} is one address per GitLab connection, on a random id the portal makes. Settings › Integrations shows it; Entropix adds the webhook on GitLab itself when it can, or you add it by hand with Merge request events and Comments ticked.
- Check. The
X-Gitlab-Tokenheader must equal that connection's secret token, compared in constant time. The id picks the secret, so nothing in the body is read before the check. - Answers.
202accepted;401an unknown address or a wrong token;404the connection was removed while the delivery was read;400a body it cannot read;413over 4 MiB;500a portal error. - Good to know. GitLab sends the secret itself with each delivery, not a signature, so anyone who learns it can send deliveries. If you think it leaked, choose Show a new secret token on Settings › Integrations and paste the new one on GitLab.
Slack
Each agent's Slack app has its own events address, POST /hooks/slack/events/{hookID}. Entropix puts it in the app manifest it makes for you, so you never type it.
- Check. The
X-Slack-Signatureheader (v0=and the HMAC-SHA256 ofv0:<timestamp>:<body>under the app's signing secret) must match, andX-Slack-Request-Timestampmust be within 300 seconds of now. Slack's one-timeurl_verificationis answered with its challenge; it is accepted unsigned only before the app has a signing secret. - Answers.
200accepted;401a bad or old signature;413over 4 MiB.
GET /hooks/slack/oauth is where Slack sends your browser after you approve an install. It takes a one-time install code made when you started, finishes the install, and returns you to the page you started from (with a note if you cancelled or the code expired). Setting it up is in Slack.
Microsoft Teams
Each agent's Teams bot has its own address, POST /hooks/teams/{hookID}. You paste it as the bot's Endpoint address in the Teams Developer Portal; it ends in /hooks/teams/ and a code that is that bot's alone.
- Check. The
Authorizationheader must carry a Bot Framework token: signed with RS256 by a Microsoft key endorsed for Teams, issued byhttps://api.botframework.com, for this bot's app id, in date (with 5 minutes' leeway), and naming the same service address as the message. Nothing is stored before the check passes. - Answers.
200accepted;401a bad token;413over 256 KiB;500.
Setting it up is in Microsoft Teams.
Runners
Your runners call seven addresses: POST /hooks/runner/register, POST /hooks/runner/poll, POST /hooks/runner/ops/{id}, POST /hooks/runner/ops/{id}/chunk and GET /hooks/runner/queue, and, for a runner in tests mode, GET /hooks/runner/tests/{id} and POST /hooks/runner/tests/{id}/events.
- Check. Register takes a one-time registration token (
ereg_…, good for one hour) in the body. Every other call needsAuthorization: Bearer erun_…, the runner's own credential, and acts only for that runner's organisation. A sign-in cookie or a personal access token is refused there. - Answers.
401"not a valid runner credential";404a call or job that is not this runner's;400"the body is not the JSON this route takes" (also for a body over its size);413a Git chunk over 4 MiB or a test events post over 32 MiB;500"the portal could not do that". - Sizes and timing. A poll is held open for up to 25 seconds. A result post may be up to 72 MiB; a Git chunk up to 4 MiB; other bodies up to 64 KiB.
See Runners and Runners in tests mode for what each one does.
Chat API
Your systems call POST /hooks/api/v1/messages, GET /hooks/api/v1/messages/{id}, GET and DELETE /hooks/api/v1/conversations/{id}, and follow file links to GET /hooks/api/v1/files/{id}.
- Check.
Authorization: Bearer eapi_…, an agent's API key. It opens only that agent's conversations of that key family, and on an end-user key only that end user's. Anything else is401(no key or not an API key),403(revoked, or replaced and past its grace period) or404(not this key's). A file link carries its own signature, lasts 10 minutes and needs no key. - Limits. 60 messages a minute and 1,000 a day per key, 10 a minute and 200 a day per end user, and at most 10 waiting polls per key at once. A body is at most 128 KiB.
- Going out. Callbacks to your own address are signed with the key's callback secret (
Entropix-Signature).
Every field and error is in the Chat API reference.
The contact form
POST /hooks/contact takes the contact form on the Entropix website: a browser form post with the fields name, email, company, team_size, interests and message, at most 64 KiB. It needs no credential, stores one enquiry and nothing else, and sends the browser back to the website's contact page. A hidden field catches simple bots: a form that fills it is thanked and dropped. It reads nothing of any organisation. A server you run does not need it, and your proxy may refuse it.
Health check
GET /healthz answers 200 ok when the database answers within 2 seconds, and 503 database unavailable otherwise. It needs no sign-in and says nothing else.
Sign-in pages
A person must reach these before they have a session, so they need none.
/loginand/signup. The sign-in and sign-up forms. A sign-in is checked against the person's email and password; after 5 failures each new try waits, from 5 seconds up to 5 minutes (see Sign-in back-off). Sign-up makes a new organisation./links/{secret}. An invite link (good for 7 days) or a reset link (good for 24 hours). The secret in the address is the check, and it works once. These pages never send the address on as a referrer./assets/{name}. The portal's own stylesheet, script and fonts. They hold nothing of any organisation.- Forms. A form post that a browser sends from another site is refused with
403.
What is not public
- The portal's pages need a signed-in person's session. Every address not listed above is behind sign-in, including the pages a sign-in elsewhere returns you to: the GitHub App install and a tool server's OAuth sign-in both come back to pages that need you signed in to the portal.
/mcp, the address coding agents connect to, takes only a personal access token (etx_…, made on Connect Claude Code or Cursor). It is not a webhook: keep it off the open internet, and never put it behind a public tunnel.
| Credential | Starts with | Opens |
|---|---|---|
| Sign-in session | (a browser cookie) | The portal's pages |
| Personal access token | etx_ | /mcp |
| Runner registration token | ereg_ | POST /hooks/runner/register, once |
| Runner credential | erun_ | /hooks/runner/* |
| Agent API key | eapi_ | /hooks/api/v1/* |
| Callback secret | whsec_ | Nothing: you use it to check Entropix's callbacks |
If you run your own server
For an Operator putting a proxy in front of Entropix:
- Set
ENTROPIX_PUBLIC_URLto the portal'shttps://address. Every address the portal shows is built from it, and Entropix refuses to listen on anything but loopback without anhttpspublic address. - TLS and rate limiting are the proxy's job.
- People's browsers need the portal's pages,
/login,/signup,/links/and/assets/included. They need not be open to the internet if your people reach the portal over your own network. - Pass
/hooks/github,/hooks/gitlab/,/hooks/slack/,/hooks/teams/,/hooks/runner/and/hooks/api/through only for the integrations you use./hooks/contactis for the Entropix website only. - Allow request bodies of up to 72 MiB on
/hooks/runner/ops/and 32 MiB on/hooks/runner/tests/, and read timeouts longer than 30 seconds for runner polls (25 seconds) and Chat API waits (up to 30 seconds). - Set
ENTROPIX_GITHUB_WEBHOOK_SECRETto your GitHub App's webhook secret. With none set,/hooks/githubrefuses every delivery. - Keep
/mcpto the networks your developers use.
All settings are in Configuration.
What you can and can't do
- Allow only the public addresses for the integrations you use.
- Replace a GitLab secret token, a runner credential or an API key at any time.
- See refused GitHub and GitLab deliveries on Settings › Integrations.
- Run Discord and runners with no inbound address at all.
- Use one kind of credential on another door: a cookie, token, key or secret opens only its own.
- Choose the random part of a GitLab, Slack or Teams address.
- Send Entropix webhooks from anything but the service they are for: each check is tied to that service's own secret or signing keys.
Troubleshooting
- GitHub shows
401on deliveries - The webhook secret on the GitHub App does not match the portal's. On a server you run, set
ENTROPIX_GITHUB_WEBHOOK_SECRETto the App's secret; on the hosted portal, contact Entropix. - GitHub shows
404on deliveries - The App is installed on an account no organisation has connected. Finish the connection on Settings › Integrations.
- GitLab shows
401 - The secret token on GitLab is not the connection's current one. Choose Show a new secret token and paste it into the webhook on GitLab.
- Slack says the request URL did not respond, or Teams messages get no answer
- The proxy is not passing
/hooks/slack/or/hooks/teams/through, or the portal's public address is wrong. Check the address the portal shows against your proxy. - Large runner results fail at the proxy (often with
413) - Raise the proxy's body limit on
/hooks/runner/ops/to 72 MiB.