Voice

Add a colleague to the directory

SPENDS NOTHING. Adds an entry. The organisation is the key's; a body value is not accepted. Voice answers 400 with its own detail when the row cannot be inserted (for example a duplicate extension).

post/voice/phone-directory

Request

  • Base URL: https://be.graph8.com/api/v1
  • URL: https://be.graph8.com/api/v1/voice/phone-directory
  • Auth: HTTP bearer

Headers

Authorizationstring nullable
X-Target-Org-Idstring nullable

Request body

user_emailstring required
user_namestring required
extensionstring nullable
phone_numberstring nullable
departmentstring required
availabilitystring
is_activeboolean

Response

Successful Response

dataVoicePayload required

One voice object - a collection, an agent, a route, a chat.

Open-shaped: voice adds fields to these bodies on its own release cadence and a dropped-or-added key must not be a 500 in this service.

Changes

No recorded changes to this operation across all 3 revisions of this API.