Skip to main content
POST
/
businesses
/
{id}
/
email_addresses
Create an email address for a business
curl --request POST \
  --url https://api.pocketflows.com/businesses/{id}/email_addresses \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "email_address": "<string>",
  "display_name": "<string>",
  "one_off": true
}
'
{
  "id": "<string>",
  "email_address": "<string>",
  "display_name": "<string>",
  "reply_to": "<string>",
  "business": "<string>",
  "one_off": true
}

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Path Parameters

id
string
required

The ID of the business

Body

application/json
email_address
string
required

The email address. Must have the same domain as an existing business email address

display_name
string
required

The display name for the email address

one_off
boolean

Whether this is a one-off email address

Response

200 - application/json

The created EmailAddress object

id
string
required

The ID of the business's email address

email_address
string
required

The email address of the business's email address

display_name
string
required

The display name of the business's email address

reply_to
string | null
required

The reply-to address

business
string | null
required

The business associated with this email address

one_off
boolean
required

Whether the email address is one-off