Overview
Dropmark users can have multiple email addresses associated with their account and you can use the /emails
endpoint to manage the current user’s list of emails.
List all email addresses
Endpoint
GET https://api.dropmark.com/v1/emails
Response
Status: 200 OK
[
{
"id": 1,
"email": "jane@example.com"
}
]
Create an email address
Endpoint
POST https://api.dropmark.com/v1/emails
Input
Name | Type |
---|---|
email |
String |
Example
{
"email": "jane@example.com"
}
Response
Status: 201 Created
{
"id": 1,
"email": "jane@example.com"
}
Delete an email address
Endpoint
DELETE https://api.dropmark.com/v1/emails/:email_id
Response
Status: 200 OK
{
"code": "deleted",
"message": "E-mail address deleted"
}