PPylon Developers
ApiSubscribe

Record a pending newsletter subscription and send its confirmation email

POST
/api/v1/subscribe
AuthorizationBearer <token>

Enter your bearer token from the Pylon Auth API.

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/problem+json

curl -X POST "https://loading/api/v1/subscribe" \  -H "Content-Type: application/json" \  -d '{    "email": "string"  }'
{
  "ok": true
}
{
  "status": 0,
  "title": "string",
  "code": "string",
  "args": {},
  "errors": null
}