senders_create
Create a new sender by sending a POST request with a required name and optional VAPID keys. Returns a JSON object of the created sender.
Instructions
To create a new sender, send a POST request to /senders setting the
required attributes.
A sender will be created using the provided information.
The response body will contain a JSON object with the attributes of your new sender.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | The human-readable name set for the sender. | |
| vapid_public_key | No | The VAPID public key associated to the subscriptions. This is automatically generated upon sender creation. You can optionally provide it if you want to import your existing key. | |
| vapid_private_key | No | The VAPID private key used to sign notifications. This is automatically generated upon sender creation. You can optionally provide it if you want to import your existing key. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | A unique identifier for each sender. This is automatically generated upon sender creation. | |
| name | No | The human-readable name set for the sender. | |
| created_at | No | A time value given in ISO 8601 format. It represents when the sender was created. | |
| vapid_public_key | No | The VAPID public key associated to the subscriptions. This is automatically generated upon sender creation. You can optionally provide it if you want to import your existing key. | |
| vapid_private_key | No | The VAPID private key used to sign notifications. This is automatically generated upon sender creation. You can optionally provide it if you want to import your existing key. |