OrkStageOrkStage
API referencestatus

POST /public/status/{slug}/subscriptions

POST /public/status/{slug}/subscriptions: OrkStage Control API v1 endpoint reference.

POST
/api/v1/public/status/{slug}/subscriptions

Authorization

headerAuthorizationBearer <ork_<env>_<id>_<secret>>

Organization API key (scoped). Sessions use the cookie instead.

Path Parameters

slug*string

Header Parameters

x-orkstage-csrf?unknown

Cookie sessions: send "1" on POST/PATCH/PUT/DELETE. Not needed with an API key.

Request Body

application/json
  1. body
email*string
Match^(?:[A-Za-z0-9_'+\-]+\.)*[A-Za-z0-9_'+\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$
Formatemail
Lengthlength <= 254

Response Body

Example Request
curl -X POST 'http://localhost:4000/api/v1/public/status/string/subscriptions' \  -H 'Content-Type: application/json' \  -d '{  "email": "user@example.com"}'
Example Response202
Empty