Skip to Content
API ReferenceStore settings

Sender email

Send customer emails from your own address: verify it, make it the sender, check it, or remove it.

By default, customer emails such as delivery emails come from SellApp's address, shown as default_from. You can send them from your own address instead. There are no DNS records to add: the owner of the address proves it by opening a link.

  1. Send the verification email. POST /v2/store/settings/sender-email/verification with {"email": "orders@launch-lab.example.com"}. SellApp's email provider, Amazon SES, emails a verification link to that address. Nothing changes for your customers yet: the response shows the address under pending with verified: false.
  2. Open the link. The owner of the address opens the link in that email. The link is valid for 24 hours.
  3. Check it, if you like. GET /v2/store/settings/sender-email?email=orders@launch-lab.example.com reports pending.verified: true once the link was opened.
  4. Make it the sender. PUT /v2/store/settings/sender-email with the same address. From then on, email is the address, verified is true, and customer_emails_from shows it. Set the name customers see with sender_name in personalization settings.

Until step 4 succeeds, customer emails keep coming from default_from. They also go back to it whenever the email provider stops reporting the address verified: customer_emails_from always shows the address in use.

Sending verification emails is limited to one per address and five per store in 24 hours. Step 4 must happen within 7 days of step 1; after that, send the verification again. A store has one sender email at a time: to switch, remove the current one with DELETE and start again. Removing it also clears the sender name.

GET
/v2/store/settings/sender-email

Get the address your customer emails come from: the store's custom sender email when it is set and verified, otherwise SellApp's default address. While you set up an address, pass it as email to see in pending whether its owner has opened the verification link yet. You only learn this for an address this store sent a verification email to in the last 7 days. Requires the store API-key ability and the store permission in your team role. OAuth callers use the admin grant and select a store with X-STORE. Current membership and role permissions apply to every request.

Authorization

headerAuthorizationBearer <API Key>

Provide your SellApp API key as a bearer token.

Query Parameters

email?string

An address you are setting up as the sender email. When it differs from the current sender, the response reports it in pending.

Lengthlength <= 255

Header Parameters

X-STORE?string

Store slug. Required for OAuth access tokens. API keys may omit it to use their current store, or the first accessible store when no current store is selected.

Response Body

Successful response.

application/json
  1. response
data*
Example Request
curl -X GET 'https://sell.app/api/v2/store/settings/sender-email?email=orders%40launch-lab.example.com' \  -H 'X-STORE: launch-lab'
{  "data": {    "email": null,    "verified": null,    "sender_name": null,    "default_from": "noreply@sell.app",    "customer_emails_from": "noreply@sell.app",    "pending": {      "email": "orders@launch-lab.example.com",      "verified": true    }  }}
POST
/v2/store/settings/sender-email/verification

Ask SellApp's email provider, Amazon SES, to email a verification link to the address: the first step of using your own address as the sender of customer emails. The store's sender does not change yet, so email stays null and customer emails keep coming from default_from. The address must be valid and its domain must accept email, and no other store may use it as its sender. The store must not have a sender email already: remove it first with DELETE /v2/store/settings/sender-email. Limits: one verification email per address and five per store in 24 hours; a refused request returns 422 on email with when the next one can be sent, and does not count. 422 on email too when another store is setting up the address. 503 when the email provider does not accept the request: nothing changed, try again later. Do not repeat a successful request: open the link in the email already sent. The example omits email, which is always null in this response. Requires the store API-key ability and the store permission in your team role. OAuth callers use the admin grant and select a store with X-STORE. Current membership and role permissions apply to every request.

Authorization

headerAuthorizationBearer <API Key>

Provide your SellApp API key as a bearer token.

Header Parameters

X-STORE?string

Store slug. Required for OAuth access tokens. API keys may omit it to use their current store, or the first accessible store when no current store is selected.

Request Body

application/json
  1. body
email*string

The address customer emails should come from.

Formatemail
Lengthlength <= 255

Response Body

Successful response.

application/json
  1. response
data*
Example Request
curl -X POST 'https://sell.app/api/v2/store/settings/sender-email/verification' \  -H 'X-STORE: launch-lab' \  -H 'Content-Type: application/json' \  -d '{  "email": "orders@launch-lab.example.com"}'
{  "data": {    "verified": null,    "sender_name": null,    "default_from": "noreply@sell.app",    "customer_emails_from": "noreply@sell.app",    "pending": {      "email": "orders@launch-lab.example.com",      "verified": false    }  }}

Set the sender email

PUT
/v2/store/settings/sender-email

Make a verified address the store's sender: customer emails then come from it, with the sender name from the personalization settings. Send the address you sent a verification email to with POST /v2/store/settings/sender-email/verification after its owner opened the link. Refused with 422 on email when the link was not opened yet, when this store did not send the address a verification email in the last 7 days, or when the store already has another sender (remove it first). Sending the current sender again returns 200 with the current state and changes nothing, so a retry is safe. Requires the store API-key ability and the store permission in your team role. OAuth callers use the admin grant and select a store with X-STORE. Current membership and role permissions apply to every request.

Authorization

headerAuthorizationBearer <API Key>

Provide your SellApp API key as a bearer token.

Header Parameters

X-STORE?string

Store slug. Required for OAuth access tokens. API keys may omit it to use their current store, or the first accessible store when no current store is selected.

Request Body

application/json
  1. body
email*string

The address customer emails should come from.

Formatemail
Lengthlength <= 255

Response Body

Successful response.

application/json
  1. response
data*
Example Request
curl -X PUT 'https://sell.app/api/v2/store/settings/sender-email' \  -H 'X-STORE: launch-lab' \  -H 'Content-Type: application/json' \  -d '{  "email": "orders@launch-lab.example.com"}'
{  "data": {    "email": "orders@launch-lab.example.com",    "verified": true,    "sender_name": null,    "default_from": "noreply@sell.app",    "customer_emails_from": "orders@launch-lab.example.com",    "pending": null  }}

Delete the sender email

DELETE
/v2/store/settings/sender-email

Remove the store's custom sender email: SellApp deletes the address at its email provider, then clears it and the sender name, so customer emails come from default_from again. To use the address again later, start over with a new verification email. Pass the sender you expect to remove as email; a different sender returns 422 on email and nothing is removed. 422 on email also when the store has no custom sender email, so a repeated request after a success is refused. 503 when the email provider fails: nothing was changed, try again later. Requires the store API-key ability and the store permission in your team role. OAuth callers use the admin grant and select a store with X-STORE. Current membership and role permissions apply to every request.

Authorization

headerAuthorizationBearer <API Key>

Provide your SellApp API key as a bearer token.

Query Parameters

email?string

The sender email you expect to remove. Protects against removing an address someone else set up after you read it.

Lengthlength <= 255

Header Parameters

X-STORE?string

Store slug. Required for OAuth access tokens. API keys may omit it to use their current store, or the first accessible store when no current store is selected.

Response Body

Successful response.

application/json
  1. response
data*
Example Request
curl -X DELETE 'https://sell.app/api/v2/store/settings/sender-email?email=orders%40launch-lab.example.com' \  -H 'X-STORE: launch-lab'
{  "data": {    "email": null,    "verified": null,    "sender_name": null,    "default_from": "noreply@sell.app",    "customer_emails_from": "noreply@sell.app",    "pending": null  }}