People

Create an email address for a person

Changed on

Add a new email address to an existing person

post/v1/people/{person_id}/email_addresses

Request

  • Base URL
    https://api.slant.app
  • URL
    https://api.slant.app/v1/people/{person_id}/email_addresses
  • Auth
    HTTP bearer

Request body

emailstring email required
email_type'personal' | 'business' | 'school' | 'other' | 'inactive'
is_primaryboolean

Example request

{
  "email": "john@example.com",
  "email_type": "personal",
  "is_primary": true
}

Response

email address created

idstring
person_idstring
emailstring
email_typestring
is_primaryboolean

Changes

    • breaking

      the request property became required

    • info

      added the new inactive enum value to the request property

    • info

      added the media type application/json for the response with the status

    • info

      added the non-success response with the status

    • info

      removed the invalid_json enum value from the response property for the response status

    • info

      response property detail list-of-types was narrowed by removing types array from media type application/json of response 400