Skip to content

Cloud Voice REST API

Service: voice.api.enfonica.com

To call this service, we recommend that you use a supported Enfonica client library. If a client library is not available in your language or framework of choice, or if you need to write your own client, use the following information when you make API requests.

Service endpoint

Cloud Voice has the following service endpoint and all URIs in the Cloud Voice REST API reference are relative to this service endpoint:

  • https://voice.api.enfonica.com

REST Resource: v1beta1.projects.calls

Methods  
create POST /v1beta1/{parent}/calls
Creates a call in the state QUEUED. This will cause an outgoing call to be started.

The caller must have voice.calls.create permission on the project.
get GET /v1beta1/{name}
Retrieves a Call identified by the supplied resource name.

The caller must have voice.calls.get permission on the project.
list GET /v1beta1/{parent}/calls
Lists the Calls of the specified project. List returns Calls sorted by create_time descending.

The caller must have voice.calls.list permission on the project.

REST Resource: v1beta1.projects.calls.recordings

Methods  
get GET /v1beta1/{name}
Retrieves a Recording identified by the supplied resource name.

The caller must have voice.recordings.get permission on the project.
list GET /v1beta1/{parent}/recordings
Lists the Recordings of the specified project. List returns Recordings sorted by create_time descending.

The caller must have voice.recordings.list permission on the project.
delete DELETE /v1beta1/{name}
Deletes a recording.

The caller must have voice.recordings.delete permission on the project.

REST Resource: v1beta1.projects.calls.sipInfo

Methods  
get GET /v1beta1/{name}
Retrieves SIP information about the specified SIP call. If the call is not a SIP call, throws NOT_FOUND. If the call has not yet completed, throws FAILED_PRECONDITION. If the SIP call was created greater than 30 days ago, returns NOT_FOUND.

The caller must have voice.calls.get permission on the project.

REST Resource: v1beta1.projects.calls.transcriptions

Methods  
get GET /v1beta1/{name}
Retrieves a Transcription identified by the supplied resource name.

The caller must have voice.transcriptions.get permission on the project.
list GET /v1beta1/{parent}/transcriptions
Lists the Transcriptions of the specified project. List returns Transcriptions sorted by create_time descending.

The caller must have voice.transcriptions.list permission on the project.
delete DELETE /v1beta1/{name}
Deletes a transcription.

The caller must have voice.transcriptions.delete permission on the project.

REST Resource: v1beta1.projects.faxes

Methods  
get GET /v1beta1/{name}
Retrieves a Fax identified by the supplied resource name.

The caller must have voice.faxes.get permission on the project.
list GET /v1beta1/{parent}/faxes
Lists the Faxes of the specified project. List returns Faxes sorted by create_time descending.

The caller must have voice.faxes.list permission on the project.
delete DELETE /v1beta1/{name}
Deletes a fax.

The caller must have voice.faxes.delete permission on the project.

REST Resource: v1beta1.projects.recordings

Methods  
list GET /v1beta1/{parent}/recordings
Lists the Recordings of the specified project. List returns Recordings sorted by create_time descending.

The caller must have voice.recordings.list permission on the project.

REST Resource: v1beta1.projects.sipDomains

Methods  
create POST /v1beta1/{parent}/sipDomains
Creates a sip domain.

The caller must have voice.sipDomains.create permission on the project.
get GET /v1beta1/{name}
Retrieves a sip domain identified by the supplied resource name.

The caller must have voice.sipDomains.get permission on the project.
list GET /v1beta1/{parent}/sipDomains
Lists all SipDomains. List returns sip domain sorted by create_time descending.

The caller must have voice.sipDomains.list permission on the project.
update PATCH /v1beta1/{sip_domain.name}
Updates a sip domain.

The caller must have voice.sipDomains.update permission on the project.
delete DELETE /v1beta1/{name}
Performs a soft-delete of the specified SIP domain.

The caller must have voice.sipDomains.delete permission on the project.
verifyTeamsDirectRouting POST /v1beta1/{sip_domain}:verifyTeamsDirectRouting
Verifies the SIP domain with Teams Direct Routing by applying a verification string provided by Office 365.

The caller must have voice.sipDomains.update permission on the project.

REST Resource: v1beta1.projects.sipDomains.aliases

Methods  
create POST /v1beta1/{parent}/aliases
Creates a alias.

The caller must have voice.aliases.create permission on the project.
get GET /v1beta1/{name}
Retrieves a alias identified by the supplied resource name.

The caller must have voice.aliases.get permission on the project.
list GET /v1beta1/{parent}/aliases
Lists all Aliases. List returns alias sorted by create_time descending.

The caller must have voice.aliases.list permission on the project.
update PATCH /v1beta1/{alias.name}
Updates a alias.

The caller must have voice.aliases.update permission on the project.
delete DELETE /v1beta1/{name}
Deletes the specified alias.

The caller must have voice.aliases.delete permission on the project.

REST Resource: v1beta1.projects.sipDomains.users

Methods  
create POST /v1beta1/{parent}/users
Creates a user.

The caller must have voice.users.create permission on the project.
get GET /v1beta1/{name}
Retrieves a user identified by the supplied resource name.

The caller must have voice.users.get permission on the project.
list GET /v1beta1/{parent}/users
Lists all Users. List returns user sorted by create_time descending.

The caller must have voice.users.list permission on the project.
update PATCH /v1beta1/{user.name}
Updates a user.

The caller must have voice.users.update permission on the project.
delete DELETE /v1beta1/{name}
Deletes the specified user.

The caller must have voice.users.delete permission on the project.

REST Resource: v1beta1.projects.transcriptions

Methods  
list GET /v1beta1/{parent}/transcriptions
Lists the Transcriptions of the specified project. List returns Transcriptions sorted by create_time descending.

The caller must have voice.transcriptions.list permission on the project.