PHPackages                             kwlodarski/wellsyncsdk - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. kwlodarski/wellsyncsdk

ActiveLibrary

kwlodarski/wellsyncsdk
======================

1.0.2(8mo ago)03PHPPHP ^8.0

Since Sep 5Pushed 8mo agoCompare

[ Source](https://github.com/Precision-Telemed-Dev/wellsync-sdk)[ Packagist](https://packagist.org/packages/kwlodarski/wellsyncsdk)[ RSS](/packages/kwlodarski-wellsyncsdk/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (10)Versions (3)Used By (0)

WellSync Services CareConnect PHP SDK 1.0.2
===========================================

[](#wellsync-services-careconnect-php-sdk-102)

Welcome to the WellSync Services CareConnect SDK documentation. This guide will help you get started with integrating and using the WellSync Services CareConnect SDK in your project.

[![This SDK was generated by liblab](https://raw.githubusercontent.com/liblaber/liblab-assets/main/assets/built-by-liblab-icon.svg)](https://liblab.com/?utm_source=readme)

Versions
--------

[](#versions)

- SDK version: `1.0.2`

About the API
-------------

[](#about-the-api)

Connecting Healthcare

Table of Contents
-----------------

[](#table-of-contents)

- [Setup &amp; Configuration](#setup--configuration)
    - [Supported Language Versions](#supported-language-versions)
    - [Installation](#installation)
- [Authentication](#authentication)
    - [Access Token Authentication](#access-token-authentication)
- [Setting a Custom Timeout](#setting-a-custom-timeout)
- [Sample Usage](#sample-usage)
- [Services](#services)
- [Models](#models)

Setup &amp; Configuration
-------------------------

[](#setup--configuration)

### Supported Language Versions

[](#supported-language-versions)

This SDK is compatible with the following versions: `PHP >= 8.0`

### Installation

[](#installation)

To get started with the SDK, we recommend installing using `composer`:

```
composer require kwlodarski/wellsyncsdk
```

Authentication
--------------

[](#authentication)

### Access Token Authentication

[](#access-token-authentication)

The WellSync Services CareConnect API uses an Access Token for authentication.

This token must be provided to authenticate your requests to the API.

#### Setting the Access Token

[](#setting-the-access-token)

When you initialize the SDK, you can set the access token as follows:

```
new Client(accessToken: "YOUR_ACCESS_TOKEN");
```

If you need to set or update the access token after initializing the SDK, you can use:

```
sdk.setAccessToken("YOUR_ACCESS_TOKEN")
```

Setting a Custom Timeout
------------------------

[](#setting-a-custom-timeout)

You can set a custom timeout for the SDK's HTTP requests as follows:

```
$sdk = new Client(timeout: 1000);
```

Sample Usage
============

[](#sample-usage)

Below is a comprehensive example demonstrating how to authenticate and call a simple endpoint:

```
