Skip to main content
POST
Create a Custom From Address

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Payload to create a custom 'from' address.

name
string
required

The name associated with the address. Must be no longer than 50 characters.

Example:

"John Doe"

addressLine1
string
required

The first line of the address. Must be no longer than 100 characters.

Example:

"Address 1"

addressLine2
string
required

The second line of the address. Optional and must be no longer than 100 characters.

Example:

"Address 2"

city
string
required

The city of the address. Must be no longer than 100 characters.

Example:

"City"

state
string
required

The state of the address. Must be a 2-letter state short-name code.

Example:

"ST"

zip
string
required

The postal code of the address. Must be no longer than 15 characters.

Example:

"123456"

companyName
string

The company name associated with the address. Optional and must be no longer than 50 characters.

Example:

"Company A"

phone
string | null

The phone number associated with the address. Optional and must be no longer than 15 characters.

Example:

""

email
string | null

The email address associated with the address. Optional and must be no longer than 100 characters.

Example:

"example@domain.com"

note
string | null

An internal note that identifies this address. Optional and must be no longer than 200 characters.

Example:

"This is the billing address for Company A."

Response

Custom 'from' address created successfully.

success
boolean
Example:

true

data
object