{
"data": {
"type": "Lead",
"attributes": {
"last_name": "Smith",
"status": "New"
}
}
}
The V8 API provides a structured set of endpoints to interact with SuiteCRM data and metadata. All requests require a valid OAuth2 Bearer token in the header:
Authorization: Bearer <your_token>
These endpoints handle the standard data operations for CRM modules (Accounts, Contacts, Leads, etc.).
GET {{suitecrm.url}}/Api/V8/module/{moduleName}
| Parameter | Description |
|---|---|
|
Comma-separated list of fields (e.g., |
|
The page index (starts at 1). |
|
Number of records per page. |
|
Sort field. Use |
|
Advanced filtering logic (e.g., |
GET {{suitecrm.url}}/Api/V8/module/{moduleName}/{id}
POST {{suitecrm.url}}/Api/V8/module
{
"data": {
"type": "Lead",
"attributes": {
"last_name": "Smith",
"status": "New"
}
}
}
PATCH {{suitecrm.url}}/Api/V8/module
{
"data": {
"type": "Accounts",
"id": "11a71596-83e7-624d-c792-5ab9006dd493",
"attributes": {
"name": "Updated Acme Corp"
}
}
}
Manage links between records using the {linkFieldName} defined in the module Vardefs.
GET {{suitecrm.url}}/Api/V8/module/{moduleName}/{id}/relationships/{linkFieldName}
POST {{suitecrm.url}}/Api/V8/module/{moduleName}/{id}/relationships/{linkFieldName}
DELETE {{suitecrm.url}}/Api/V8/module/{moduleName}/{id}/relationships/{linkFieldName}/{relatedBeanId}
Specific routes for the authenticated user and their settings.
GET {{suitecrm.url}}/Api/V8/current-user
Returns details about the user associated with the current access token.
GET {{suitecrm.url}}/Api/V8/user-preferences/{id}
Retrieve specific preference settings for a user.
Use these to discover the CRM structure programmatically.
GET {{suitecrm.url}}/Api/V8/meta/modules
GET {{suitecrm.url}}/Api/V8/meta/fields/{moduleName}
GET {{suitecrm.url}}/Api/V8/meta/swagger.json
Returns the full OpenAPI/Swagger definition for the API.
To use multiple filters, you must specify a logical operator.
# Example: Active Accounts in London
?filter[operator]=and&filter[status][eq]=Active&filter[billing_address_city][eq]=London
| Operator | Description |
|---|---|
|
Equal to |
|
Not equal to |
|
Greater than / Greater than or equal to |
|
Less than / Less than or equal to |
|
In list / Not in list (values separated by commas) |
|
SQL Like (use |
POST {{suitecrm.url}}/Api/V8/logout
Invalidates the token and ends the session.
Any routes defined in custom/application/Ext/Api/V8/Config/routes.php are automatically prefixed with:
{{suitecrm.url}}/Api/V8/custom/
Content is available under GNU Free Documentation License 1.3 or later unless otherwise noted.