Read Cogmento CRM contacts, companies, deals, tasks and cases; create records and complete tasks.
Maintain this server? Claim it
Call this server's tools from your browser. Nothing to install.
Requests go through mcptry because browsers can't call most MCP servers directly. Header values are sent to the server for that request only and are never stored or logged.
Tool list from our last check. Connect live to refresh it.
Sums and counts deals grouped by a field (default grouping as Cogmento chooses; e.g. field=stage). GET /deals/aggregate/.
Field to group by, e.g. stage.
Conditions, all of which must match (AND). Dates are yyyy-mm-dd.
Sums and counts deals grouped by a field (default grouping as Cogmento chooses; e.g. field=stage). GET /deals/aggregate/.
| Argument | Type | Description |
|---|---|---|
| field | string | Field to group by, e.g. stage. |
| filters | array | Conditions, all of which must match (AND). Dates are yyyy-mm-dd. |
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"field": {
"type": "string",
"pattern": "^[a-z][a-z0-9_]{0,63}$",
"description": "Field to group by, e.g. stage."
},
"filters": {
"type": "array",
"items": {
"type": "object",
"required": [
"field",
"operator",
"value"
],
"properties": {
"field": {
"type": "string",
"pattern": "^[a-z][a-z0-9_]{0,63}$",
"description": "Field name, e.g. first_name, title, status."
},
"value": {
"anyOf": [
{
"type": "string",
"maxLength": 500
},
{
"type": "number"
},
{
"type": "boolean"
}
],
"description": "Value to compare with."
},
"operator": {
"enum": [
"eq",
"gt",
"gte",
"lt",
"lte",
"contains"
],
"type": "string",
"description": "eq, gt, gte, lt, lte or contains."
}
}
},
"maxItems": 10,
"minItems": 1,
"description": "Conditions, all of which must match (AND). Dates are yyyy-mm-dd."
}
}
}WRITE: mark a task complete, stamping who completed it and when. A recurring task also gets its next occurrence. POST /tasks/{id}/complete/.
| Argument | Type | Description |
|---|---|---|
| task_id* | string | Record id (UUID). |
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"task_id"
],
"properties": {
"task_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"description": "Record id (UUID)."
}
}
}WRITE: create a case. POST /cases/.
| Argument | Type | Description |
|---|---|---|
| tags | array | Tags to put on the record. |
| title* | string | |
| rating | integer | A 1-5 rating. |
| close_date | string | A date, yyyy-mm-dd. |
| description | string |
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"title"
],
"properties": {
"tags": {
"type": "array",
"items": {
"type": "string",
"maxLength": 100,
"minLength": 1
},
"maxItems": 50,
"description": "Tags to put on the record."
},
"title": {
"type": "string",
"maxLength": 300,
"minLength": 1
},
"rating": {
"type": "integer",
"maximum": 5,
"minimum": 1,
"description": "A 1-5 rating."
},
"close_date": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"description": "A date, yyyy-mm-dd."
},
"description": {
"type": "string",
"maxLength": 5000,
"minLength": 1
}
}
}WRITE: create a company. POST /companies/.
| Argument | Type | Description |
|---|---|---|
| url | string | The company's website. |
| name* | string | |
| tags | array | Tags to put on the record. |
| rating | integer | A 1-5 rating. |
| description | string |
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"name"
],
"properties": {
"url": {
"type": "string",
"format": "uri",
"maxLength": 500,
"description": "The company's website."
},
"name": {
"type": "string",
"maxLength": 300,
"minLength": 1
},
"tags": {
"type": "array",
"items": {
"type": "string",
"maxLength": 100,
"minLength": 1
},
"maxItems": 50,
"description": "Tags to put on the record."
},
"rating": {
"type": "integer",
"maximum": 5,
"minimum": 1,
"description": "A 1-5 rating."
},
"description": {
"type": "string",
"maxLength": 5000,
"minLength": 1
}
}
}WRITE: create a contact. Needs first and last name; email and phone are optional. POST /contacts/.
| Argument | Type | Description |
|---|---|---|
| tags | array | Tags to put on the record. |
| string | Email address; stored as an Email channel. | |
| phone | string | Phone number, ideally in international format (+14155550100). |
| rating | integer | A 1-5 rating. |
| last_name* | string | |
| first_name* | string | |
| description | string | |
| middle_name | string |
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"first_name",
"last_name"
],
"properties": {
"tags": {
"type": "array",
"items": {
"type": "string",
"maxLength": 100,
"minLength": 1
},
"maxItems": 50,
"description": "Tags to put on the record."
},
"email": {
"type": "string",
"format": "email",
"pattern": "^(?:[A-Za-z0-9_'+\\-]+\\.)*[A-Za-z0-9_'+\\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$",
"maxLength": 320,
"description": "Email address; stored as an Email channel."
},
"phone": {
"type": "string",
"maxLength": 40,
"minLength": 3,
"description": "Phone number, ideally in international format (+14155550100)."
},
"rating": {
"type": "integer",
"maximum": 5,
"minimum": 1,
"description": "A 1-5 rating."
},
"last_name": {
"type": "string",
"maxLength": 200,
"minLength": 1
},
"first_name": {
"type": "string",
"maxLength": 200,
"minLength": 1
},
"description": {
"type": "string",
"maxLength": 5000,
"minLength": 1
},
"middle_name": {
"type": "string",
"maxLength": 200,
"minLength": 1
}
}
}WRITE: create a deal. POST /deals/.
| Argument | Type | Description |
|---|---|---|
| tags | array | Tags to put on the record. |
| title* | string | |
| amount | number | The deal value. |
| rating | integer | A 1-5 rating. |
| close_date | string | A date, yyyy-mm-dd. |
| description | string |
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"title"
],
"properties": {
"tags": {
"type": "array",
"items": {
"type": "string",
"maxLength": 100,
"minLength": 1
},
"maxItems": 50,
"description": "Tags to put on the record."
},
"title": {
"type": "string",
"maxLength": 300,
"minLength": 1
},
"amount": {
"type": "number",
"maximum": 1000000000000000,
"minimum": 0,
"description": "The deal value."
},
"rating": {
"type": "integer",
"maximum": 5,
"minimum": 1,
"description": "A 1-5 rating."
},
"close_date": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"description": "A date, yyyy-mm-dd."
},
"description": {
"type": "string",
"maxLength": 5000,
"minLength": 1
}
}
}WRITE: create a task. POST /tasks/.
| Argument | Type | Description |
|---|---|---|
| tags | array | Tags to put on the record. |
| title* | string | |
| rating | integer | A 1-5 rating. |
| due_date | string | A date, yyyy-mm-dd. |
| description | string |
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"title"
],
"properties": {
"tags": {
"type": "array",
"items": {
"type": "string",
"maxLength": 100,
"minLength": 1
},
"maxItems": 50,
"description": "Tags to put on the record."
},
"title": {
"type": "string",
"maxLength": 300,
"minLength": 1
},
"rating": {
"type": "integer",
"maximum": 5,
"minimum": 1,
"description": "A 1-5 rating."
},
"due_date": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"description": "A date, yyyy-mm-dd."
},
"description": {
"type": "string",
"maxLength": 5000,
"minLength": 1
}
}
}The Cogmento account: name, country, settings, billing plan, trial days left and number of users. GET /account/.
No arguments.
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {}
}One case record. GET /cases/{id}/.
| Argument | Type | Description |
|---|---|---|
| case_id* | string | Record id (UUID). |
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"case_id"
],
"properties": {
"case_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"description": "Record id (UUID)."
}
}
}One full company record with its contacts and related records. GET /companies/{id}/.
| Argument | Type | Description |
|---|---|---|
| company_id* | string | Record id (UUID). |
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"company_id"
],
"properties": {
"company_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"description": "Record id (UUID)."
}
}
}One full contact record, including its related tasks, cases, calls, events and documents. GET /contacts/{id}/.
| Argument | Type | Description |
|---|---|---|
| contact_id* | string | Record id (UUID). |
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"contact_id"
],
"properties": {
"contact_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"description": "Record id (UUID)."
}
}
}The Cogmento user this API token belongs to: id, name, email, timezone and account id. GET /auth/user/.
No arguments.
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {}
}One full deal record with its contacts, products and related records. GET /deals/{id}/.
| Argument | Type | Description |
|---|---|---|
| deal_id* | string | Record id (UUID). |
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"deal_id"
],
"properties": {
"deal_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"description": "Record id (UUID)."
}
}
}Totals by pipeline stage: how many deals sit at each stage and what they are worth. Optional filters narrow the deals counted. GET /deals/summary/.
| Argument | Type | Description |
|---|---|---|
| filters | array | Conditions, all of which must match (AND). Dates are yyyy-mm-dd. |
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"filters": {
"type": "array",
"items": {
"type": "object",
"required": [
"field",
"operator",
"value"
],
"properties": {
"field": {
"type": "string",
"pattern": "^[a-z][a-z0-9_]{0,63}$",
"description": "Field name, e.g. first_name, title, status."
},
"value": {
"anyOf": [
{
"type": "string",
"maxLength": 500
},
{
"type": "number"
},
{
"type": "boolean"
}
],
"description": "Value to compare with."
},
"operator": {
"enum": [
"eq",
"gt",
"gte",
"lt",
"lte",
"contains"
],
"type": "string",
"description": "eq, gt, gte, lt, lte or contains."
}
}
},
"maxItems": 10,
"minItems": 1,
"description": "Conditions, all of which must match (AND). Dates are yyyy-mm-dd."
}
}
}One task record. GET /tasks/{id}/.
| Argument | Type | Description |
|---|---|---|
| task_id* | string | Record id (UUID). |
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"task_id"
],
"properties": {
"task_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"description": "Record id (UUID)."
}
}
}The field definitions (names, labels, types, options) of the account's templates for each record type: contacts, companies, deals, cases, tasks. Use it to learn the custom field names for filters, creates and field updates. GET /templates/.
No arguments.
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {}
}The account's call records, most recent first: logged manual calls and calls placed through the browser dialer. GET /calls/.
| Argument | Type | Description |
|---|---|---|
| sort | string | Field to sort by, e.g. created_at; prefix with - for descending, e.g. -last_modified. |
| limit | integer | Rows per page, 1-100 (default 25). |
| start | integer | Row offset to start from (default 0). Pass the previous reply's next_start. |
| filters | array | Conditions, all of which must match (AND). Dates are yyyy-mm-dd. |
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"sort": {
"type": "string",
"pattern": "^-?[a-z][a-z0-9_]{0,63}$",
"description": "Field to sort by, e.g. created_at; prefix with - for descending, e.g. -last_modified."
},
"limit": {
"type": "integer",
"maximum": 100,
"description": "Rows per page, 1-100 (default 25).",
"exclusiveMinimum": 0
},
"start": {
"type": "integer",
"maximum": 1000000,
"minimum": 0,
"description": "Row offset to start from (default 0). Pass the previous reply's next_start."
},
"filters": {
"type": "array",
"items": {
"type": "object",
"required": [
"field",
"operator",
"value"
],
"properties": {
"field": {
"type": "string",
"pattern": "^[a-z][a-z0-9_]{0,63}$",
"description": "Field name, e.g. first_name, title, status."
},
"value": {
"anyOf": [
{
"type": "string",
"maxLength": 500
},
{
"type": "number"
},
{
"type": "boolean"
}
],
"description": "Value to compare with."
},
"operator": {
"enum": [
"eq",
"gt",
"gte",
"lt",
"lte",
"contains"
],
"type": "string",
"description": "eq, gt, gte, lt, lte or contains."
}
}
},
"maxItems": 10,
"minItems": 1,
"description": "Conditions, all of which must match (AND). Dates are yyyy-mm-dd."
}
}
}List or search cases (support or project cases: title, close date, assigned users, deal, company). GET /cases/.
| Argument | Type | Description |
|---|---|---|
| sort | string | Field to sort by, e.g. created_at; prefix with - for descending, e.g. -last_modified. |
| limit | integer | Rows per page, 1-100 (default 25). |
| start | integer | Row offset to start from (default 0). Pass the previous reply's next_start. |
| filters | array | Conditions, all of which must match (AND). Dates are yyyy-mm-dd. |
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"sort": {
"type": "string",
"pattern": "^-?[a-z][a-z0-9_]{0,63}$",
"description": "Field to sort by, e.g. created_at; prefix with - for descending, e.g. -last_modified."
},
"limit": {
"type": "integer",
"maximum": 100,
"description": "Rows per page, 1-100 (default 25).",
"exclusiveMinimum": 0
},
"start": {
"type": "integer",
"maximum": 1000000,
"minimum": 0,
"description": "Row offset to start from (default 0). Pass the previous reply's next_start."
},
"filters": {
"type": "array",
"items": {
"type": "object",
"required": [
"field",
"operator",
"value"
],
"properties": {
"field": {
"type": "string",
"pattern": "^[a-z][a-z0-9_]{0,63}$",
"description": "Field name, e.g. first_name, title, status."
},
"value": {
"anyOf": [
{
"type": "string",
"maxLength": 500
},
{
"type": "number"
},
{
"type": "boolean"
}
],
"description": "Value to compare with."
},
"operator": {
"enum": [
"eq",
"gt",
"gte",
"lt",
"lte",
"contains"
],
"type": "string",
"description": "eq, gt, gte, lt, lte or contains."
}
}
},
"maxItems": 10,
"minItems": 1,
"description": "Conditions, all of which must match (AND). Dates are yyyy-mm-dd."
}
}
}List or search companies (name, website, contacts). GET /companies/.
| Argument | Type | Description |
|---|---|---|
| sort | string | Field to sort by, e.g. created_at; prefix with - for descending, e.g. -last_modified. |
| limit | integer | Rows per page, 1-100 (default 25). |
| start | integer | Row offset to start from (default 0). Pass the previous reply's next_start. |
| filters | array | Conditions, all of which must match (AND). Dates are yyyy-mm-dd. |
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"sort": {
"type": "string",
"pattern": "^-?[a-z][a-z0-9_]{0,63}$",
"description": "Field to sort by, e.g. created_at; prefix with - for descending, e.g. -last_modified."
},
"limit": {
"type": "integer",
"maximum": 100,
"description": "Rows per page, 1-100 (default 25).",
"exclusiveMinimum": 0
},
"start": {
"type": "integer",
"maximum": 1000000,
"minimum": 0,
"description": "Row offset to start from (default 0). Pass the previous reply's next_start."
},
"filters": {
"type": "array",
"items": {
"type": "object",
"required": [
"field",
"operator",
"value"
],
"properties": {
"field": {
"type": "string",
"pattern": "^[a-z][a-z0-9_]{0,63}$",
"description": "Field name, e.g. first_name, title, status."
},
"value": {
"anyOf": [
{
"type": "string",
"maxLength": 500
},
{
"type": "number"
},
{
"type": "boolean"
}
],
"description": "Value to compare with."
},
"operator": {
"enum": [
"eq",
"gt",
"gte",
"lt",
"lte",
"contains"
],
"type": "string",
"description": "eq, gt, gte, lt, lte or contains."
}
}
},
"maxItems": 10,
"minItems": 1,
"description": "Conditions, all of which must match (AND). Dates are yyyy-mm-dd."
}
}
}List or search contacts (name, email and phone channels, company). Filter on any field, e.g. first_name contains 'Eric'. GET /contacts/.
| Argument | Type | Description |
|---|---|---|
| sort | string | Field to sort by, e.g. created_at; prefix with - for descending, e.g. -last_modified. |
| limit | integer | Rows per page, 1-100 (default 25). |
| start | integer | Row offset to start from (default 0). Pass the previous reply's next_start. |
| filters | array | Conditions, all of which must match (AND). Dates are yyyy-mm-dd. |
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"sort": {
"type": "string",
"pattern": "^-?[a-z][a-z0-9_]{0,63}$",
"description": "Field to sort by, e.g. created_at; prefix with - for descending, e.g. -last_modified."
},
"limit": {
"type": "integer",
"maximum": 100,
"description": "Rows per page, 1-100 (default 25).",
"exclusiveMinimum": 0
},
"start": {
"type": "integer",
"maximum": 1000000,
"minimum": 0,
"description": "Row offset to start from (default 0). Pass the previous reply's next_start."
},
"filters": {
"type": "array",
"items": {
"type": "object",
"required": [
"field",
"operator",
"value"
],
"properties": {
"field": {
"type": "string",
"pattern": "^[a-z][a-z0-9_]{0,63}$",
"description": "Field name, e.g. first_name, title, status."
},
"value": {
"anyOf": [
{
"type": "string",
"maxLength": 500
},
{
"type": "number"
},
{
"type": "boolean"
}
],
"description": "Value to compare with."
},
"operator": {
"enum": [
"eq",
"gt",
"gte",
"lt",
"lte",
"contains"
],
"type": "string",
"description": "eq, gt, gte, lt, lte or contains."
}
}
},
"maxItems": 10,
"minItems": 1,
"description": "Conditions, all of which must match (AND). Dates are yyyy-mm-dd."
}
}
}The account-wide stages a contact can be at within a deal (for example Champion or Decision maker). GET /deals/stages/.
No arguments.
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {}
}List or search deals (title, amount, close date, assigned users, products). GET /deals/.
| Argument | Type | Description |
|---|---|---|
| sort | string | Field to sort by, e.g. created_at; prefix with - for descending, e.g. -last_modified. |
| limit | integer | Rows per page, 1-100 (default 25). |
| start | integer | Row offset to start from (default 0). Pass the previous reply's next_start. |
| filters | array | Conditions, all of which must match (AND). Dates are yyyy-mm-dd. |
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"sort": {
"type": "string",
"pattern": "^-?[a-z][a-z0-9_]{0,63}$",
"description": "Field to sort by, e.g. created_at; prefix with - for descending, e.g. -last_modified."
},
"limit": {
"type": "integer",
"maximum": 100,
"description": "Rows per page, 1-100 (default 25).",
"exclusiveMinimum": 0
},
"start": {
"type": "integer",
"maximum": 1000000,
"minimum": 0,
"description": "Row offset to start from (default 0). Pass the previous reply's next_start."
},
"filters": {
"type": "array",
"items": {
"type": "object",
"required": [
"field",
"operator",
"value"
],
"properties": {
"field": {
"type": "string",
"pattern": "^[a-z][a-z0-9_]{0,63}$",
"description": "Field name, e.g. first_name, title, status."
},
"value": {
"anyOf": [
{
"type": "string",
"maxLength": 500
},
{
"type": "number"
},
{
"type": "boolean"
}
],
"description": "Value to compare with."
},
"operator": {
"enum": [
"eq",
"gt",
"gte",
"lt",
"lte",
"contains"
],
"type": "string",
"description": "eq, gt, gte, lt, lte or contains."
}
}
},
"maxItems": 10,
"minItems": 1,
"description": "Conditions, all of which must match (AND). Dates are yyyy-mm-dd."
}
}
}List the product catalogue (name, prices) that deals and invoices draw on. GET /products/.
| Argument | Type | Description |
|---|---|---|
| sort | string | Field to sort by, e.g. created_at; prefix with - for descending, e.g. -last_modified. |
| limit | integer | Rows per page, 1-100 (default 25). |
| start | integer | Row offset to start from (default 0). Pass the previous reply's next_start. |
| filters | array | Conditions, all of which must match (AND). Dates are yyyy-mm-dd. |
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"sort": {
"type": "string",
"pattern": "^-?[a-z][a-z0-9_]{0,63}$",
"description": "Field to sort by, e.g. created_at; prefix with - for descending, e.g. -last_modified."
},
"limit": {
"type": "integer",
"maximum": 100,
"description": "Rows per page, 1-100 (default 25).",
"exclusiveMinimum": 0
},
"start": {
"type": "integer",
"maximum": 1000000,
"minimum": 0,
"description": "Row offset to start from (default 0). Pass the previous reply's next_start."
},
"filters": {
"type": "array",
"items": {
"type": "object",
"required": [
"field",
"operator",
"value"
],
"properties": {
"field": {
"type": "string",
"pattern": "^[a-z][a-z0-9_]{0,63}$",
"description": "Field name, e.g. first_name, title, status."
},
"value": {
"anyOf": [
{
"type": "string",
"maxLength": 500
},
{
"type": "number"
},
{
"type": "boolean"
}
],
"description": "Value to compare with."
},
"operator": {
"enum": [
"eq",
"gt",
"gte",
"lt",
"lte",
"contains"
],
"type": "string",
"description": "eq, gt, gte, lt, lte or contains."
}
}
},
"maxItems": 10,
"minItems": 1,
"description": "Conditions, all of which must match (AND). Dates are yyyy-mm-dd."
}
}
}List or search tasks (title, due date, completion date, assigned users, linked deal/contact/case). Filter e.g. on due_date. GET /tasks/.
| Argument | Type | Description |
|---|---|---|
| sort | string | Field to sort by, e.g. created_at; prefix with - for descending, e.g. -last_modified. |
| limit | integer | Rows per page, 1-100 (default 25). |
| start | integer | Row offset to start from (default 0). Pass the previous reply's next_start. |
| filters | array | Conditions, all of which must match (AND). Dates are yyyy-mm-dd. |
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"sort": {
"type": "string",
"pattern": "^-?[a-z][a-z0-9_]{0,63}$",
"description": "Field to sort by, e.g. created_at; prefix with - for descending, e.g. -last_modified."
},
"limit": {
"type": "integer",
"maximum": 100,
"description": "Rows per page, 1-100 (default 25).",
"exclusiveMinimum": 0
},
"start": {
"type": "integer",
"maximum": 1000000,
"minimum": 0,
"description": "Row offset to start from (default 0). Pass the previous reply's next_start."
},
"filters": {
"type": "array",
"items": {
"type": "object",
"required": [
"field",
"operator",
"value"
],
"properties": {
"field": {
"type": "string",
"pattern": "^[a-z][a-z0-9_]{0,63}$",
"description": "Field name, e.g. first_name, title, status."
},
"value": {
"anyOf": [
{
"type": "string",
"maxLength": 500
},
{
"type": "number"
},
{
"type": "boolean"
}
],
"description": "Value to compare with."
},
"operator": {
"enum": [
"eq",
"gt",
"gte",
"lt",
"lte",
"contains"
],
"type": "string",
"description": "eq, gt, gte, lt, lte or contains."
}
}
},
"maxItems": 10,
"minItems": 1,
"description": "Conditions, all of which must match (AND). Dates are yyyy-mm-dd."
}
}
}WRITE: record where a contact sits in a deal (a stage from cogmento_list_deal_stages). The contact is attached to the deal if it is not already. POST /deals/{id}/contact/{id}/stage/.
| Argument | Type | Description |
|---|---|---|
| stage* | string | A stage name from cogmento_list_deal_stages. |
| deal_id* | string | Record id (UUID). |
| contact_id* | string | Record id (UUID). |
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"deal_id",
"contact_id",
"stage"
],
"properties": {
"stage": {
"type": "string",
"maxLength": 200,
"minLength": 1,
"description": "A stage name from cogmento_list_deal_stages."
},
"deal_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"description": "Record id (UUID)."
},
"contact_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"description": "Record id (UUID)."
}
}
}WRITE: change a single field of a contact, company, deal, task or case, e.g. a deal's status or a contact's first_name. Custom field names come from cogmento_get_templates. System fields (id, acl, private, timestamps) are refused. PATCH /<type>/{id}/.
| Argument | Type | Description |
|---|---|---|
| value* | any | The new value (type must match the field; dates yyyy-mm-dd; null clears a field). |
| record_id* | string | Record id (UUID). |
| field_name* | string | Field to set, e.g. first_name, title, status, amount, due_date. |
| record_type* | string | contact, company, deal, task or case. |
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"record_type",
"record_id",
"field_name",
"value"
],
"properties": {
"value": {
"anyOf": [
{
"type": "string",
"maxLength": 5000
},
{
"type": "number"
},
{
"type": "boolean"
},
{
"type": "null"
},
{
"type": "array",
"items": {
"anyOf": [
{
"type": "string",
"maxLength": 500
},
{
"type": "number"
}
]
},
"maxItems": 100
}
],
"description": "The new value (type must match the field; dates yyyy-mm-dd; null clears a field)."
},
"record_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"description": "Record id (UUID)."
},
"field_name": {
"type": "string",
"pattern": "^[a-z][a-z0-9_]{0,63}$",
"description": "Field to set, e.g. first_name, title, status, amount, due_date."
},
"record_type": {
"enum": [
"contact",
"company",
"deal",
"task",
"case"
],
"type": "string",
"description": "contact, company, deal, task or case."
}
}
}