THRIVE LOCAL API DOCUMENTATION
Introduction
The Thrive Local REST API provides a powerful, consistent, and flexible way to integrate our services into your applications. Our API follows REST principles, making it intuitive and easy to use with predictable resource-oriented URLs and standard HTTP methods. It supports JSON for both request and response formats, enabling seamless integration with any programming language. With comprehensive error handling, versioning, and robust authentication, the Thrive Local API empowers developers to build reliable and scalable applications that leverage our platform's full capabilities.
Endpoint
Description
Retrieves a list of all customers in the Thrive Local system. Results can be filtered and paginated using query parameters.
Query Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| page | integer | Optional | Page number for pagination (default: 1) |
| limit | integer | Optional | Number of results per page (default: 20, max: 100) |
| sort | string | Optional | Field to sort by (e.g., "created_at", "last_name") |
| order | string | Optional | Sort order ("asc" or "desc", default: "asc") |
| search | string | Optional | Search term to filter results |
Response
Success Response (200 OK)
Endpoint
Description
Retrieves detailed information about a specific customer by their unique identifier.
Path Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| customer_id | string | Required | Unique identifier of the customer |
Response
Success Response (200 OK)
Error Response (404 Not Found)
Endpoint
Description
Creates a new customer record in the Thrive Local system. This endpoint allows you to add a new customer with their personal information, contact details, and preferences.
Headers
| Key | Value | Required |
|---|---|---|
| Content-Type | application/json | Required |
| X-API-Token | Your API Token | Required |
Request Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| id | string | Required | Business ID |
| first_name | string | Required | First Name |
| last_name | string | Required | Last Name |
| string | Required | ||
| phone_number | string | Optional | Phone Number |
| tag | string | Optional | Use only for specific automation |