Clients / Email Addresses / Create

NameClients / Email Addresses / Create
DescriptionCreate one or more email addresses for an existing client
TypePOST
URL/v9/clients/:client_id/email_addresses
Credential TypeAPI

Long Description

Create one or more email addresses for an existing client. Note that this takes an array of email addresses even if only creating one.

Parameters

Name
Description
Type
Presence
LocationLimitations
client_idThe ID of the specific ClientIntegerRequiredURI
addressThe email addressStringRequiredBody
labelA label to associate with this addressStringOptionalBody20 characters max


Examples

RequestResponse
POST /v9/clients/:client_id/email_addresses
{
   "email_addresses":[
      {
         "label":"Work",
         "address":"moe@moestavern.com"
      }
   ]
}
{
   "email_addresses":[
      {
         "address":"moe@moestavern.com",
         "label":"Work",
         "updated_at":"2014-02-05T16:00:48Z",
         "url":"/clients/109402/email_addresses/145996",
         "id":"145996"
      }
   ]
}