Saltar al contenido principal

Create a webhook endpoint

POST 

/webhook_endpoints

Hometown checks the URL before it is saved. It must use HTTPS on port 443 or 1024 to 65535, resolve to public addresses only and answer without a redirect. An environment has at most 16 active endpoints. The answer carries the signing secret, which is not shown again. This operation takes no Idempotency-Key, so the secret is never stored for a replay.

Request​

Responses​

The endpoint, with its secret.

Response Headers
    X-Request-Id

    The id of this request. Quote it when you contact support.

    Hometown-Version

    The API version that answered: the one the request named, or the version the account is pinned to.

    RateLimit-Policy

    The per-minute limit of the account, as limit;w=60.

    RateLimit

    Requests left in the current minute: limit, remaining and reset in seconds.