POST
/
notifications
/
templates
curl --request POST \
  --url https://api.pxyz.dev/api/v0/notifications/templates \
  --header 'Content-Type: application/json' \
  --data '{
  "tenantId": "<string>",
  "type": "email",
  "name": "<string>",
  "body": {},
  "subject": "<string>"
}'
{
  "id": "<string>",
  "tenantId": "<string>",
  "name": "<string>",
  "body": "<any>",
  "subject": "<string>",
  "type": "email",
  "createdAt": "2023-11-07T05:31:56Z",
  "updatedAt": "2023-11-07T05:31:56Z"
}

Body

application/json

Response

200
application/json

Successful response

The response is of type object.