Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Page Properties
labelapi_docs_client_actions
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_
address
addresses 
Code Block
languageruby
themeConfluence
languageruby
{
   "email_addresses":[
      {
         "label":"Work",
         "address":"moe@moestavern.com"
      }
   ]
}
Code Block
languageruby
themeConfluence
languageruby
{
   "email_addresses":[
      {
         "address":"moe@moestavern.com",
         "label":"Work",
         "updated_at":"2014-02-05T16:00:48Z",
         "url":"/clients/109402/email_addresses/145996",
         "id":"145996"
      }
   ]
}