Skip to main content

Rotate the signing secret

POST 

/webhook_endpoints/:id/rotate_secret

A new secret signs every delivery from now on. For 24 hours the previous secret signs too, as a second v1 in Hometown-Signature, so receivers can switch without missing an event.

Request​

Responses​

The endpoint, with its new 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.