Download the PHP package repat/respond-io-client without Composer
On this page you can find all versions of the php package repat/respond-io-client. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download repat/respond-io-client
More information about repat/respond-io-client
Files in repat/respond-io-client
Package respond-io-client
Short Description Client for respond.io contacts and messaging API
License MIT
Homepage https://github.com/repat/respond-io-client
Informations about the package respond-io-client
Respond.io Client
⚠️ WORK IN PROGRESS ⚠️
respond-io-client is the unofficial package for the respond.io messaging platform API. Version 0.1 supports API V1 and version 1.0 now supports V2 as well.
Pull requests welcome.
Installation
composer require repat/respond-io-client
Usage
The library will generally throw Guzzle's Exceptions, see API Error Codes in the respond.io documentation.
Setup
Contacts
Please note that in case of Viber Channel - due to a certain limitation - the Contact ID needs to be provided in a Base64 encoded format.
Get Contact
'Get a contact' respond.io documentation
Search for contacts
'List the contacts' respond.io documentation
$cursorId
: Start position for the search and isnull
by default. Responses from respond.io will contain a newcursorId
which can be used for subsequent calls. (Integer)$limit
: Number of records to return. Max of 100. (Integer)
Update Contacts
$identifyingField
: must exist as key in fields array
Tags
Create Contact
$identifyingField
: must exist as key in fields array
Messages
Send Message
Send Attachment
ToDo
- Tests
- Message Template API
License
- MIT
Version
- API v1: Version 0.1 (initial version, work in progress)
- API v2: Version 1.0 (community maintained)
Contact
repat (v1 author)
- Homepage: repat.de
- e-mail: [email protected]
- Twitter: @repat123
- other communication/social media