Skip to main content
POST
/
customFromAddresses
Create a Custom From Address
curl --request POST \
  --url https://test.onlinecheckwriter.com/api/v3/customFromAddresses \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "John Doe",
  "companyName": "Company A",
  "addressLine1": "Address 1",
  "addressLine2": "Address 2",
  "city": "City",
  "state": "ST",
  "zip": "123456",
  "phone": "",
  "email": "[email protected]",
  "note": "This is the billing address for Company A."
}
'
{
  "success": true,
  "data": {
    "id": "5EJy7VeBQGzn1m3",
    "name": "John Doe",
    "companyName": "Company A",
    "addressLine1": "Address 1",
    "addressLine2": "Address 2",
    "city": "City",
    "state": "ST",
    "zip": "123456",
    "phone": "",
    "email": "[email protected]",
    "note": "This is the billing address for Company A."
  }
}

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.

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