People

Create a phone number for a person

Changed on

Add a new phone number to an existing person

post/v1/people/{person_id}/phone_numbers

Request

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

Request body

phone_numberstring
extensionstring
phone_type'mobile' | 'work' | 'home' | 'fax' | 'other'
is_primaryboolean

Example request

{
  "phone_number": "+15555551234",
  "extension": "1234",
  "phone_type": "mobile",
  "is_primary": true
}

Response

phone number created

idstring
person_idstring
phone_numberstring
extensionstring nullable
phone_typestring
is_primaryboolean

Changes

    • 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