API Model for Messenger Service

Learn about the main data entities and API endpoints needed to build a chat service like Messenger.

In the previous lesson, we decided on the architectural aspects of designing the Messenger API’s communication protocols and data formats. In this lesson, we will describe the endpoints, data entities, and the message format required for a chat between clients.

Base URL and API endpoints

We will use the following URL for designing the Messenger API. The api.messenger.com is the host URL followed by the version v1.0 and the service.