Clienvy API documentation

List phone identities

GET
https://api.clienvy.io/employee/v1
/phone-identities

Returns the organization's own phone numbers. Clienvy only turns calls on these numbers into tickets, through the connected VoIP integration.

List phone identities › query Parameters

search
​string

Filter phone numbers by name.

List phone identities › Headers

X-Organization-Id
​string · uuid · required

UUID of the organization (tenant) the request operates on.

List phone identities › Responses

Array of PhoneIdentityResource

id
​string · uuid
name
​string
phone
​string
​EmployeeReferenceResource | null

Create a phone identity

POST
https://api.clienvy.io/employee/v1
/phone-identities

Adds a phone number of the organization, so calls on it come in as tickets. The number cannot be changed afterwards and can only exist once.

Create a phone identity › Headers

X-Organization-Id
​string · uuid · required

UUID of the organization (tenant) the request operates on.

Create a phone identity › Request Body

name
​string · maxLength: 64 · required

Name shown on a call in a ticket, such as Support line.

phone
​string · required

The phone number, preferably international such as +31201234567.

employee_id
​string | null · uuid

UUID of an active employee. New tickets from calls on this number are assigned to them; without one they come in unassigned.

Create a phone identity › Responses

PhoneIdentityResource

id
​string · uuid
name
​string
phone
​string
​EmployeeReferenceResource | null

Get a phone identity

GET
https://api.clienvy.io/employee/v1
/phone-identities/{phoneIdentity}

Returns a single phone number of the organization, with the employee its calls are assigned to.

Get a phone identity › path Parameters

phoneIdentity
​string · uuid · required

The phone identity UUID

Get a phone identity › Headers

X-Organization-Id
​string · uuid · required

UUID of the organization (tenant) the request operates on.

Get a phone identity › Responses

PhoneIdentityResource

id
​string · uuid
name
​string
phone
​string
​EmployeeReferenceResource | null

Update a phone identity

PUT
https://api.clienvy.io/employee/v1
/phone-identities/{phoneIdentity}

Changes the name of a phone number and the employee its calls are assigned to. The number itself cannot be changed: delete it and create it again.

Update a phone identity › path Parameters

phoneIdentity
​string · uuid · required

The phone identity UUID

Update a phone identity › Headers

X-Organization-Id
​string · uuid · required

UUID of the organization (tenant) the request operates on.

Update a phone identity › Request Body

name
​string · maxLength: 64 · required

Name shown on a call in a ticket.

employee_id
​string | null · uuid

UUID of an active employee, or null for none.

Update a phone identity › Responses

PhoneIdentityResource

id
​string · uuid
name
​string
phone
​string
​EmployeeReferenceResource | null

Delete a phone identity

DELETE
https://api.clienvy.io/employee/v1
/phone-identities/{phoneIdentity}

Deletes a phone number: calls on it are no longer turned into tickets. Tickets from earlier calls stay.

Delete a phone identity › path Parameters

phoneIdentity
​string · uuid · required

The phone identity UUID

Delete a phone identity › Headers

X-Organization-Id
​string · uuid · required

UUID of the organization (tenant) the request operates on.

Delete a phone identity › Responses

PhoneIdentityResource

id
​string · uuid
name
​string
phone
​string
​EmployeeReferenceResource | null