How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

LeafLink Chats API

The chats API from LeafLink — 4 operation(s) for chats.

LeafLink Chats API is one of 88 APIs that LeafLink publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Chats. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, an API reference, a getting-started guide, rate-limit docs, and authentication docs.

This API exposes 8 operations across 4 paths, and defines 12 schemas. It is described by OpenAPI 3.2.0, at version 2022-10-31.

Requests are made against 2 base URLs: https://api.leaflink.com, https://staging-api.leaflink.com.

8 operations 4 paths 12 schemas 1 DELETE2 GET3 PATCH1 POST1 PUT

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.2.0
API Version
2022-10-31
Base URL
https://api.leaflink.com
Authentication
HTTP Bearer, API Key
Terms of Service
Resource Areas
1

Authentication & Security 2

LeafLink Chats API declares 2 security schemes for authenticating requests. It accepts HTTP bearer tokens (JWT) (bearerAuth). An API key is passed in the header as Authorization (tokenAuth). By default, every request must be authenticated.

  • bearerAuth — Authentication is done via access tokens (JWTs). See the [API authentication doc](/api/getting-started/authentication) for more information.
  • tokenAuth — Token-based authentication with required prefix "Token"

Paths & Operations 8

Across 4 paths, the API surfaces 8 operations — 1 DELETE, 2 GET, 3 PATCH, 1 POST, 1 PUT. Each is listed below with its method, path, parameters, and response codes.

chats 8
GET
/chats
List all discussions
chats_list 8 params → 200429
POST
/chats
Create a new discussion with the first message.
chats_create body → 201429
GET
/chats/{id}
LeafLink API for Marketplace discussions.
chats_retrieve 2 params → 200429
PUT
/chats/{id}
LeafLink API for Marketplace discussions.
chats_update 2 params body → 200429
PATCH
/chats/{id}
LeafLink API for Marketplace discussions.
chats_partial_update 2 params body → 200429
DELETE
/chats/{id}
LeafLink API for Marketplace discussions.
chats_destroy 2 params → 204429
PATCH
/chats/{id}/messages/{message_id}/read
Mark a specific message as read
chats_messages_read_partial_update 3 params body → 200429
PATCH
/chats/bulk_update
Bulk update chat status
chats_bulk_update_partial_update body → 200429

Schemas 12

The contract defines 12 schemas that model the data the API accepts and returns. The most detailed are UnifiedChats (7 properties), Message (6 properties), UnifiedChatsRequest (6 properties), PatchedUnifiedChatsRequest (6 properties). Each schema is shown below with its type and property counts.

Author
object
Author serializer
5 properties 5 required
Message
object
Discussion Message serializer
6 properties 6 required
PatchedBulkChatUpdateRequest
object
Chat status serializer
2 properties
UnifiedChatsRequest
object
Unified Chats serializer
6 properties 4 required
PatchedMessageReadRequest
object
Discussion Message read serializer
2 properties
PatchedUnifiedChatsRequest
object
Unified Chats serializer
6 properties
DiscussionCompanyRequest
object
Company serializer
2 properties 1 required
MessageRequest
object
Discussion Message serializer
1 property 1 required
PaginatedUnifiedChatsList
object
5 properties
ChatStatusEnum
string
UnifiedChats
object
Unified Chats serializer
7 properties 6 required
DiscussionCompany
object
Company serializer
3 properties 2 required

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

leaflink-chats-api-openapi.yml Raw ↑

Other APIs LeafLink publishes across the network.

LeafLink Active Entry API
LeafLink Activity Entries API
LeafLink Batch API
LeafLink Batch Documents API
LeafLink Batches API
LeafLink Brand API
LeafLink Brands API
LeafLink Buyer Orders API
LeafLink Buyer Product Image API
LeafLink Companies API
LeafLink Company API
LeafLink Company Messages API
Where this information came from

This is an independent, third-party profile of LeafLink Chats API, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.

The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.

Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.

info@apievangelist.com · Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.