Add an email address to a person
Adds an email address; with is_primary: true it becomes the primary one and the previous primary stays as a secondary. An address the person already has (any letter case) adds nothing and answers added: false, made primary when asked. An address another person has is refused (422 DUPLICATE_EMAIL). A malformed address is 422 INVALID_EMAIL. Requires people:write.
Body
addressstringrequiredEmail address
is_ primarybooleanMake it the primary address
Parameters
idstringrequiredpathPerson ID
Response
Email address added, or already there
Invalid id or body
Invalid API key
Insufficient scope
Person not found
Invalid or duplicate email address
Internal server error
Authorization
bearer_ authhttp (bearer) in headerAPI key or OAuth access token in Authorization header
Scopes: people:write
oauth2_ authoauth2OAuth authorization code flow with mandatory S256 PKCE.
Scopes: people:write
apikey_ authapiKey in queryAPI key in query string
Scopes: people:write
