Skip to content

About

No description, website, or topics provided.

Resources

Stars

10 stars

Watchers

2 watching

Forks

Repository files navigation

php-calendly

Latest Version Software License Build Status Scrutinizer Code Quality Code Coverage Dependency Status Total Downloads

This package will let you easily register webhooks with the Calendly API

Installation

Install via composer - In the terminal:

composer require zenapply/php-calendly

Usage

Register a webhook for Invitee Created

use Zenapply\Calendly\Calendly;
$c = new Calendly("Your API Token");
$response = $c->registerInviteeCreated("http://foo.com/bar/calendly");
/* When successful it will return:
[
    "id" => 1234
]
 */

Register a webhook for Invitee Canceled

use Zenapply\Calendly\Calendly;
$c = new Calendly("Your API Token");
$response = $c->registerInviteeCanceled("http://foo.com/bar/calendly");
/* When successful it will return:
[
    "id" => 1234
]
 */

Unregister a webhook

use Zenapply\Calendly\Calendly;
$c = new Calendly("Your API Token");
$idOfWebhook = 1234;
$response = $c->unregistered($idOfWebhook);
/* When successful it will return:
null
 */

About

No description, website, or topics provided.

Resources

Stars

10 stars

Watchers

2 watching

Forks

Releases

Packages

Used by

Contributors

Languages