Client API Reference

The Client APIs consists of REST APIs and WebSocket APIs. These APIs are intended for use exclusively for accessing an individual user’s data. This is useful, for example, if you are building a Desktop Application and want the user logged into that app to access their Messages and Conversations.

Note

If your goal is to interact with all of your Application’s data, then use the Server APIs instead. Client APIs exist solely for accessing an authenticated user’s data.

This document is organized into the following sections:

  1. Core concepts of working with Layer
  2. Common rules and expectations for working with REST and WebSocket APIs
  3. Definition of the Objects used throughout the API
  4. Documentation for each endpoint or operation