Download the PHP package dansleboby/ubity-sdk-php without Composer
On this page you can find all versions of the php package dansleboby/ubity-sdk-php. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download dansleboby/ubity-sdk-php
More information about dansleboby/ubity-sdk-php
Files in dansleboby/ubity-sdk-php
Package ubity-sdk-php
Short Description The Ubity API SDK allows you to initiate calls, send text messages (SMS), retrieve call recordings, get a user's phone presence status, and a whole lot more.
License Apache-2.0
Homepage http://ubity.com
Informations about the package ubity-sdk-php
DISCLAMER
This SDK is not supported by Ubity!
API doc
- Swagger: https://generator.swagger.io/?url=https://raw.githubusercontent.com/dansleboby/ubity-sdk-php/master/swagger.json
- Original: https://doc-api-mtl.ubity.com/
SwaggerClient-php
The Ubity API allows you to initiate calls, send text messages (SMS), retrieve call recordings, get a user's phone presence status, and a whole lot more.
This PHP package is automatically generated by the Swagger Codegen project:
- API version: 1.0
- Build package: io.swagger.codegen.v3.generators.php.PhpClientCodegen
Requirements
PHP 5.5 and later
Installation & Usage
Composer
To install the bindings via Composer, add the following to composer.json
:
Then run composer require dansleboby/ubity-sdk-php "~1.0"
Manual Installation
Download the files and include autoload.php
:
Tests
To run the unit tests:
Getting Started
Please follow the installation procedure and then run the following:
Documentation for API Endpoints
All URIs are relative to https://api.ubity.com
Class | Method | HTTP request | Description |
---|---|---|---|
CallsApi | callAnswerPost | POST /call_answer | Answering a call |
CallsApi | callHangupPost | POST /call_hangup | Hangup a call |
CallsApi | callPost | POST /call | Initiate an outgoing call on behalf of a user. |
CallsApi | callSendToVoicemailPost | POST /call_send_to_voicemail | Send a call to voicemail (while ringing) |
CallsApi | callsPost | POST /calls | List running calls |
ExtensionsApi | extensionsGet | GET /extensions | Get extensions list |
RecordingsApi | recordingPost | POST /recording | Get a specific call recording from and ID |
RecordingsApi | recordingsGet | GET /recordings | Get recordings list |
RecordingsApi | recordingsYearGet | GET /recordings/{year} | Get recordings list for specific year |
RecordingsApi | recordingsYearMonthDayOutGet | GET /recordings/{year}/{month}/{day}/out | Get recordings list for specific for a day (with mp3) |
RecordingsApi | recordingsYearMonthGet | GET /recordings/{year}/{month} | Get recordings list for a specific month |
SmsApi | smsPost | POST /sms | Text Messages (SMS) |
SmsApi | smsSendGet | GET /sms/send | Text Messages (SMS) |
Documentation For Models
- AnsweringCallRequest
- AnsweringCallResponse
- Call
- CallRequest
- Extension
- ExtensionsList
- HangupCallRequest
- HangupCallResponse
- RecordingList
- RecordingsResponse
- RunningCall
- RunningCallCalls
- RunningCallRequest
- SendCallVoiceMailRequest
- SendCallVoiceMailResponse
- SmsRequest
- SmsResponse
- SmsResponseSms
- SpecificRecordingRequest
- UnAuthorized
Documentation For Authorization
apiKey
- Type: API key
- API key parameter name: key
- Location: URL query string
TODO
- Unit test
Author
API: [email protected] SDK: [email protected]
All versions of ubity-sdk-php with dependencies
ext-curl Version *
ext-json Version *
ext-mbstring Version *
guzzlehttp/guzzle Version ^6.2