Hatch

Send each new activity event to this https address, signed like form webhooks. The signing secret is in the answer only when it’s new. Owners, after entering their password.

On this page

PUT/api/workspaces/{workspace}/stream

Authorization

  • session: Authorization: Bearer <token>. The session token from signing in (or the session cookie in a browser on the same origin).

Path parameters

  • workspace string (required)

Request body

  • url string: At most 2000 characters

Response

200: It worked

  • stream ActivityStream (required)

    • url string (required): At most 2000 characters
    • createdAt integer (required)
    • lastSentAt integer | null (required)
    • lastError string | null (required)
    • paused boolean (required): Stopped after many failed deliveries in a row. A test that goes through, or a new address, starts it again.
  • secret string: At most 200 characters

Other answers:

  • 4XX: Refused, with a message to show the person