# AccuLynx API

> Every AccuLynx endpoint on Cotlet: inputs, JSON Schema, cURL, Python and Node.js examples and an example response for each call.

Source: https://cotlet.dev/docs/api/acculynx

Docs sections: [Get started](https://cotlet.dev/docs.md) · [REST API](https://cotlet.dev/docs/api.md) · [MCP](https://cotlet.dev/docs/mcp.md) · [SDKs & CLI](https://cotlet.dev/docs/sdks.md) · [Integrations](https://cotlet.dev/docs/integrations.md)

14 endpoints for AccuLynx. Each one is a POST with a JSON body, called with your API key.

- Base URL: `https://cotlet.dev/api/v1/acculynx`
- Connects with: Your own AccuLynx account (the role you use in the app decides what the tools can do)
- Integration page: https://cotlet.dev/integrations/acculynx-api-mcp-server

## Endpoints

| Endpoint | Access | Description |
|---|---|---|
| `list_jobs` | read | Jobs in your location with name, address, current milestone, priority and dates. |
| `get_job` | read | Full job: contacts, address, trade and work type, milestone history, sales owner and financial totals. |
| `find_contact` | read | Contacts matching a name, email or phone number, with their jobs. |
| `list_estimates` | read | Estimates on a job with name, total and date. |
| `get_estimate` | read | One estimate with its sections, line items, quantities and prices. |
| `list_job_messages` | read | Messages posted on a job, with author, date and replies. |
| `list_job_payments` | read | Payments recorded on a job with date, method and amount. |
| `create_contact` | write | New contact with name, phone, email and mailing address. |
| `create_job` | write | New job for a contact, at the job site address. |
| `update_job_milestone` | write | Move a job to another milestone, as you would in the job file, if your role allows it. |
| `upload_job_photo` | write | Add a photo or video to the job file, with an optional tag and description. |
| `post_job_message` | write | Post a message on a job for your team, or reply in a thread. |
| `add_contact_note` | write | Add a note to a contact record. |
| `record_payment_received` | write | Record a payment the customer made on a job. Nothing is charged. |

## List jobs

`POST https://cotlet.dev/api/v1/acculynx/list_jobs`

Access: read.

Lists jobs in one location, most recently modified first unless you sort otherwise. Filter by milestone or search by job name, address or contact name. Milestone is one of Lead, Prospect, Approved, Completed, Invoiced, Closed or Dead. Pages hold up to 100 jobs; pass next_cursor back as cursor for the next page.

### Parameters

| Name | Type | Required | Description |
|---|---|---|---|
| `milestone` | enum | no | Lead, Prospect, Approved, Completed, Invoiced, Closed or Dead. Default: all. |
| `search` | string | no | Job name, address or contact name. |
| `sort_by` | enum | no | created, milestone_date or modified. Default: modified. |
| `limit` | integer | no | 1 to 100. Default: 25. |
| `cursor` | string | no | Next page cursor from the previous call. |

### Request

**cURL**

```bash
curl -X POST https://cotlet.dev/api/v1/acculynx/list_jobs \
  -H "Authorization: Bearer $COTLET_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"milestone":"Prospect","sort_by":"milestone_date","limit":100}'
```

**Python**

```python
result = client.call("acculynx", "list_jobs", {"milestone":"Prospect","sort_by":"milestone_date","limit":100})
```

**Node.js**

```js
const result = await cotlet.call('acculynx', 'list_jobs', {"milestone":"Prospect","sort_by":"milestone_date","limit":100});
```

**CLI**

```bash
cotlet call acculynx list_jobs --data '{"milestone":"Prospect","sort_by":"milestone_date","limit":100}'
```

### Example response

```json
{
  "jobs": [
    {
      "job_id": "b3f1c2a4-7d2e-4f0a-9c51-2e8a4d6f1b90",
      "job_name": "Miller - 48 Pine Ridge Rd",
      "address": "48 Pine Ridge Rd, Plano, TX 75074",
      "milestone": "Prospect",
      "priority": "Normal",
      "milestone_date": "2026-09-02T10:20:00-05:00",
      "modified_at": "2026-10-08T15:41:00-05:00"
    },
    {
      "job_id": "e91a47d3-5c60-4b2f-8d1e-0a7f3c9b5e24",
      "job_name": "Garcia - 310 Elm Ct",
      "address": "310 Elm Ct, Frisco, TX 75034",
      "milestone": "Prospect",
      "priority": "High",
      "milestone_date": "2026-09-11T08:05:00-05:00",
      "modified_at": "2026-10-06T09:12:00-05:00"
    }
  ],
  "next_cursor": null
}
```

## Get job

`POST https://cotlet.dev/api/v1/acculynx/get_job`

Access: read.

Returns one job with its contacts, job site address, trade and work type, sales owner and the milestone history in order. Financial totals are the figures shown on the job in AccuLynx. Use the job_id from list_jobs.

### Parameters

| Name | Type | Required | Description |
|---|---|---|---|
| `job_id` | string | yes | Job ID from list_jobs. |

### Request

**cURL**

```bash
curl -X POST https://cotlet.dev/api/v1/acculynx/get_job \
  -H "Authorization: Bearer $COTLET_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"job_id":"job_8c41d2"}'
```

**Python**

```python
result = client.call("acculynx", "get_job", {"job_id":"job_8c41d2"})
```

**Node.js**

```js
const result = await cotlet.call('acculynx', 'get_job', {"job_id":"job_8c41d2"});
```

**CLI**

```bash
cotlet call acculynx get_job --data '{"job_id":"job_8c41d2"}'
```

### Example response

```json
{
  "job_id": "e91a47d3-5c60-4b2f-8d1e-0a7f3c9b5e24",
  "job_name": "Garcia - 310 Elm Ct",
  "address": "310 Elm Ct, Frisco, TX 75034",
  "milestone": "Completed",
  "priority": "Normal",
  "work_type": "Replacement",
  "trade_types": [
    "Roofing"
  ],
  "sales_owner": "Dana Whitfield",
  "contacts": [
    {
      "contact_id": "c2b8f6a1-90d4-4a37-b5e2-6f1d8a3c7e09",
      "name": "Luis Garcia",
      "role": "Primary"
    }
  ],
  "milestone_history": [
    {
      "milestone": "Lead",
      "date": "2026-08-14T11:02:00-05:00"
    },
    {
      "milestone": "Prospect",
      "date": "2026-08-16T09:30:00-05:00"
    },
    {
      "milestone": "Approved",
      "date": "2026-09-11T08:05:00-05:00"
    },
    {
      "milestone": "Completed",
      "date": "2026-10-05T16:48:00-05:00"
    }
  ],
  "totals": {
    "contract": "14850.00",
    "received": "7425.00",
    "currency": "USD"
  }
}
```

## Find contact

`POST https://cotlet.dev/api/v1/acculynx/find_contact`

Access: read.

Searches contacts by name, email or phone number and returns each match with the jobs linked to it. Run it before create_contact so you do not add the same person twice. Use the contact_id with create_job and add_contact_note.

### Parameters

| Name | Type | Required | Description |
|---|---|---|---|
| `query` | string | yes | Name, email or phone. |

### Request

**cURL**

```bash
curl -X POST https://cotlet.dev/api/v1/acculynx/find_contact \
  -H "Authorization: Bearer $COTLET_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"query":"query"}'
```

**Python**

```python
result = client.call("acculynx", "find_contact", {"query":"query"})
```

**Node.js**

```js
const result = await cotlet.call('acculynx', 'find_contact', {"query":"query"});
```

**CLI**

```bash
cotlet call acculynx find_contact --data '{"query":"query"}'
```

### Example response

```json
{
  "contacts": [
    {
      "contact_id": "c7d2a9f0-3b11-4e8c-a6d5-91f0e2b47c18",
      "name": "Jane Doe",
      "phone": "(214) 555-0142",
      "email": "jane.doe@example.com",
      "jobs": []
    }
  ]
}
```

## List estimates

`POST https://cotlet.dev/api/v1/acculynx/list_estimates`

Access: read.

Returns every estimate on one job with its name, total and date. Pass estimate_id to get_estimate for the sections and line items. Estimates are read only: Cotlet does not create or edit them.

### Parameters

| Name | Type | Required | Description |
|---|---|---|---|
| `job_id` | string | yes | Job ID from list_jobs. |

### Request

**cURL**

```bash
curl -X POST https://cotlet.dev/api/v1/acculynx/list_estimates \
  -H "Authorization: Bearer $COTLET_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"job_id":"job_8c41d2"}'
```

**Python**

```python
result = client.call("acculynx", "list_estimates", {"job_id":"job_8c41d2"})
```

**Node.js**

```js
const result = await cotlet.call('acculynx', 'list_estimates', {"job_id":"job_8c41d2"});
```

**CLI**

```bash
cotlet call acculynx list_estimates --data '{"job_id":"job_8c41d2"}'
```

### Example response

```json
{
  "estimates": [
    {
      "estimate_id": "a40d9e17-2f6b-4c83-b1a5-7e3c8d0f6291",
      "name": "Full replacement, architectural shingles",
      "total": "14850.00",
      "date": "2026-09-09"
    }
  ]
}
```

## Get estimate

`POST https://cotlet.dev/api/v1/acculynx/get_estimate`

Access: read.

Returns one estimate with its sections in order and the line items in each section, with quantity and price. Line item totals add up to the estimate total. Use it to read back what was promised on a job.

### Parameters

| Name | Type | Required | Description |
|---|---|---|---|
| `estimate_id` | string | yes | Estimate ID from list_estimates. |

### Request

**cURL**

```bash
curl -X POST https://cotlet.dev/api/v1/acculynx/get_estimate \
  -H "Authorization: Bearer $COTLET_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"estimate_id":"estimate_8c41d2"}'
```

**Python**

```python
result = client.call("acculynx", "get_estimate", {"estimate_id":"estimate_8c41d2"})
```

**Node.js**

```js
const result = await cotlet.call('acculynx', 'get_estimate', {"estimate_id":"estimate_8c41d2"});
```

**CLI**

```bash
cotlet call acculynx get_estimate --data '{"estimate_id":"estimate_8c41d2"}'
```

### Example response

```json
{
  "estimate_id": "a40d9e17-2f6b-4c83-b1a5-7e3c8d0f6291",
  "name": "Full replacement, architectural shingles",
  "total": "14850.00",
  "sections": [
    {
      "name": "Materials",
      "items": [
        {
          "name": "Architectural shingles",
          "quantity": 32,
          "unit": "square",
          "price": "210.00",
          "total": "6720.00"
        }
      ]
    },
    {
      "name": "Labor",
      "items": [
        {
          "name": "Tear-off and install",
          "quantity": 32,
          "unit": "square",
          "price": "253.13",
          "total": "8100.00"
        },
        {
          "name": "Dumpster",
          "quantity": 1,
          "unit": "each",
          "price": "30.00",
          "total": "30.00"
        }
      ]
    }
  ]
}
```

## List job messages

`POST https://cotlet.dev/api/v1/acculynx/list_job_messages`

Access: read.

Returns the messages on one job, newest first, with replies nested under the message they answer. Use it to read what the crew and office said before you post.

### Parameters

| Name | Type | Required | Description |
|---|---|---|---|
| `job_id` | string | yes | Job ID from list_jobs. |
| `limit` | integer | no | 1 to 100. Default: 25. |

### Request

**cURL**

```bash
curl -X POST https://cotlet.dev/api/v1/acculynx/list_job_messages \
  -H "Authorization: Bearer $COTLET_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"job_id":"job_8c41d2"}'
```

**Python**

```python
result = client.call("acculynx", "list_job_messages", {"job_id":"job_8c41d2"})
```

**Node.js**

```js
const result = await cotlet.call('acculynx', 'list_job_messages', {"job_id":"job_8c41d2"});
```

**CLI**

```bash
cotlet call acculynx list_job_messages --data '{"job_id":"job_8c41d2"}'
```

### Example response

```json
{
  "messages": [
    {
      "message_id": "m-3a91",
      "author": "Dana Whitfield",
      "body": "Customer wants the ridge vent upgrade.",
      "posted_at": "2026-10-04T14:10:00-05:00",
      "replies": [
        {
          "message_id": "m-3a97",
          "author": "Crew lead",
          "body": "Added to the order.",
          "posted_at": "2026-10-04T15:02:00-05:00"
        }
      ]
    }
  ]
}
```

## List job payments

`POST https://cotlet.dev/api/v1/acculynx/list_job_payments`

Access: read.

Returns the payments recorded on one job, newest first, with the method and reference. Use it before record_payment_received to see whether a deposit is already there.

### Parameters

| Name | Type | Required | Description |
|---|---|---|---|
| `job_id` | string | yes | Job ID from list_jobs. |

### Request

**cURL**

```bash
curl -X POST https://cotlet.dev/api/v1/acculynx/list_job_payments \
  -H "Authorization: Bearer $COTLET_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"job_id":"job_8c41d2"}'
```

**Python**

```python
result = client.call("acculynx", "list_job_payments", {"job_id":"job_8c41d2"})
```

**Node.js**

```js
const result = await cotlet.call('acculynx', 'list_job_payments', {"job_id":"job_8c41d2"});
```

**CLI**

```bash
cotlet call acculynx list_job_payments --data '{"job_id":"job_8c41d2"}'
```

### Example response

```json
{
  "payments": [
    {
      "payment_id": "p-1182",
      "type": "received",
      "amount": "7425.00",
      "method": "Check",
      "reference": "#1043",
      "received_on": "2026-09-12"
    }
  ]
}
```

## Create contact

`POST https://cotlet.dev/api/v1/acculynx/create_contact`

Access: write.

Adds one contact to AccuLynx and returns its contact_id. It adds a record your team sees and sends nothing to the person, so it runs without asking. Use find_contact first to avoid duplicates.

### Parameters

| Name | Type | Required | Description |
|---|---|---|---|
| `first_name` | string | yes | First name. |
| `last_name` | string | yes | Last name. |
| `phone` | string | no | Phone number. |
| `email` | string | no | Email address. |
| `address` | object | no | street, city, state, zip. |

### Request

**cURL**

```bash
curl -X POST https://cotlet.dev/api/v1/acculynx/create_contact \
  -H "Authorization: Bearer $COTLET_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"first_name":"first name","last_name":"last name"}'
```

**Python**

```python
result = client.call("acculynx", "create_contact", {"first_name":"first name","last_name":"last name"})
```

**Node.js**

```js
const result = await cotlet.call('acculynx', 'create_contact', {"first_name":"first name","last_name":"last name"});
```

**CLI**

```bash
cotlet call acculynx create_contact --data '{"first_name":"first name","last_name":"last name"}'
```

### Example response

```json
{
  "contact_id": "c7d2a9f0-3b11-4e8c-a6d5-91f0e2b47c18",
  "name": "Jane Doe",
  "phone": "(214) 555-0142",
  "email": "jane.doe@example.com",
  "created_at": "2026-10-11T09:02:00-05:00"
}
```

## Create job

`POST https://cotlet.dev/api/v1/acculynx/create_job`

Access: write.

Opens a job for an existing contact and returns it with the milestone it starts in. The job site address defaults to the contact address. It adds a record your team sees and sends nothing to the customer, so it runs without asking.

### Parameters

| Name | Type | Required | Description |
|---|---|---|---|
| `contact_id` | string | yes | Contact ID from find_contact or create_contact. |
| `job_name` | string | no | Default: contact name and street. |
| `address` | object | no | Job site: street, city, state, zip. Default: contact address. |
| `priority` | enum | no | Normal, High or Urgent. Default: Normal. |

### Request

**cURL**

```bash
curl -X POST https://cotlet.dev/api/v1/acculynx/create_job \
  -H "Authorization: Bearer $COTLET_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"contact_id":"c7d2a9f0-3b11-4e8c-a6d5-91f0e2b47c18","job_name":"Doe - 12 Oak St","address":{"street":"12 Oak St","city":"Plano","state":"TX","zip":"75074"},"priority":"High"}'
```

**Python**

```python
result = client.call("acculynx", "create_job", {"contact_id":"c7d2a9f0-3b11-4e8c-a6d5-91f0e2b47c18","job_name":"Doe - 12 Oak St","address":{"street":"12 Oak St","city":"Plano","state":"TX","zip":"75074"},"priority":"High"})
```

**Node.js**

```js
const result = await cotlet.call('acculynx', 'create_job', {"contact_id":"c7d2a9f0-3b11-4e8c-a6d5-91f0e2b47c18","job_name":"Doe - 12 Oak St","address":{"street":"12 Oak St","city":"Plano","state":"TX","zip":"75074"},"priority":"High"});
```

**CLI**

```bash
cotlet call acculynx create_job --data '{"contact_id":"c7d2a9f0-3b11-4e8c-a6d5-91f0e2b47c18","job_name":"Doe - 12 Oak St","address":{"street":"12 Oak St","city":"Plano","state":"TX","zip":"75074"},"priority":"High"}'
```

### Example response

```json
{
  "job_id": "f2a6c8d1-4e93-4b07-a1d5-3c9e7b0f5a62",
  "job_name": "Doe - 12 Oak St",
  "address": "12 Oak St, Plano, TX 75074",
  "milestone": "Lead",
  "priority": "High",
  "created_at": "2026-10-11T09:03:00-05:00"
}
```

## Update job milestone

`POST https://cotlet.dev/api/v1/acculynx/update_job_milestone`

Access: write. Confirm: waits for the user's OK before it runs.

Moves one job to another milestone the way you do in the job file, and returns the previous milestone and the date of the new one. It fails if your AccuLynx role does not allow the move. A milestone change can set off your own AccuLynx workflow. By default you confirm each call; you can switch that off for this tool.

### Parameters

| Name | Type | Required | Description |
|---|---|---|---|
| `job_id` | string | yes | Job ID from list_jobs. |
| `milestone` | enum | yes | Prospect, Approved, Completed, Invoiced, Closed or Dead. |

### Request

**cURL**

```bash
curl -X POST https://cotlet.dev/api/v1/acculynx/update_job_milestone \
  -H "Authorization: Bearer $COTLET_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"job_id":"b3f1c2a4-7d2e-4f0a-9c51-2e8a4d6f1b90","milestone":"Approved"}'
```

**Python**

```python
result = client.call("acculynx", "update_job_milestone", {"job_id":"b3f1c2a4-7d2e-4f0a-9c51-2e8a4d6f1b90","milestone":"Approved"})
```

**Node.js**

```js
const result = await cotlet.call('acculynx', 'update_job_milestone', {"job_id":"b3f1c2a4-7d2e-4f0a-9c51-2e8a4d6f1b90","milestone":"Approved"});
```

**CLI**

```bash
cotlet call acculynx update_job_milestone --data '{"job_id":"b3f1c2a4-7d2e-4f0a-9c51-2e8a4d6f1b90","milestone":"Approved"}'
```

### Example response

```json
{
  "job_id": "b3f1c2a4-7d2e-4f0a-9c51-2e8a4d6f1b90",
  "job_name": "Miller - 48 Pine Ridge Rd",
  "milestone": "Approved",
  "previous_milestone": "Prospect",
  "milestone_date": "2026-10-12T09:14:00-05:00"
}
```

## Upload job photo

`POST https://cotlet.dev/api/v1/acculynx/upload_job_photo`

Access: write.

Adds one photo or video to the job file and returns its ID. The tag must be one of your company photo and video tags. The file goes into the job and nothing is sent to anyone, so it runs without asking.

### Parameters

| Name | Type | Required | Description |
|---|---|---|---|
| `job_id` | string | yes | Job ID from list_jobs. |
| `file_url` | string | yes | Image or video URL, or a file sent with the REST call. |
| `tag` | string | no | One of your company photo and video tags. |
| `description` | string | no | Caption shown with the photo. |

### Request

**cURL**

```bash
curl -X POST https://cotlet.dev/api/v1/acculynx/upload_job_photo \
  -H "Authorization: Bearer $COTLET_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"job_id":"job_8c41d2","file_url":"https://example.com"}'
```

**Python**

```python
result = client.call("acculynx", "upload_job_photo", {"job_id":"job_8c41d2","file_url":"https://example.com"})
```

**Node.js**

```js
const result = await cotlet.call('acculynx', 'upload_job_photo', {"job_id":"job_8c41d2","file_url":"https://example.com"});
```

**CLI**

```bash
cotlet call acculynx upload_job_photo --data '{"job_id":"job_8c41d2","file_url":"https://example.com"}'
```

### Example response

```json
{
  "photo_id": "ph-5530",
  "job_id": "b3f1c2a4-7d2e-4f0a-9c51-2e8a4d6f1b90",
  "tag": "Inspection",
  "description": "North slope, ridge cap damage",
  "uploaded_at": "2026-10-11T10:21:00-05:00"
}
```

## Post job message

`POST https://cotlet.dev/api/v1/acculynx/post_job_message`

Access: write. Confirm: waits for the user's OK before it runs.

Posts a message on one job under your name, or a reply under an existing message when reply_to_id is set. Your team sees it on the job. By default you confirm each call; you can switch that off for this tool.

### Parameters

| Name | Type | Required | Description |
|---|---|---|---|
| `job_id` | string | yes | Job ID from list_jobs. |
| `body` | string | yes | Message text. |
| `reply_to_id` | string | no | Message ID from list_job_messages to reply to. |

### Request

**cURL**

```bash
curl -X POST https://cotlet.dev/api/v1/acculynx/post_job_message \
  -H "Authorization: Bearer $COTLET_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"job_id":"job_8c41d2","body":"body"}'
```

**Python**

```python
result = client.call("acculynx", "post_job_message", {"job_id":"job_8c41d2","body":"body"})
```

**Node.js**

```js
const result = await cotlet.call('acculynx', 'post_job_message', {"job_id":"job_8c41d2","body":"body"});
```

**CLI**

```bash
cotlet call acculynx post_job_message --data '{"job_id":"job_8c41d2","body":"body"}'
```

### Example response

```json
{
  "message_id": "m-3b02",
  "job_id": "b3f1c2a4-7d2e-4f0a-9c51-2e8a4d6f1b90",
  "reply_to_id": null,
  "status": "posted",
  "posted_at": "2026-10-11T10:24:00-05:00"
}
```

## Add contact note

`POST https://cotlet.dev/api/v1/acculynx/add_contact_note`

Access: write.

Adds a note to one contact record and returns its ID. The note shows on the contact in AccuLynx and is sent to no one, so it runs without asking.

### Parameters

| Name | Type | Required | Description |
|---|---|---|---|
| `contact_id` | string | yes | Contact ID from find_contact or create_contact. |
| `body` | string | yes | Note text. |

### Request

**cURL**

```bash
curl -X POST https://cotlet.dev/api/v1/acculynx/add_contact_note \
  -H "Authorization: Bearer $COTLET_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"contact_id":"contact_8c41d2","body":"body"}'
```

**Python**

```python
result = client.call("acculynx", "add_contact_note", {"contact_id":"contact_8c41d2","body":"body"})
```

**Node.js**

```js
const result = await cotlet.call('acculynx', 'add_contact_note', {"contact_id":"contact_8c41d2","body":"body"});
```

**CLI**

```bash
cotlet call acculynx add_contact_note --data '{"contact_id":"contact_8c41d2","body":"body"}'
```

### Example response

```json
{
  "note_id": "n-7741",
  "contact_id": "c7d2a9f0-3b11-4e8c-a6d5-91f0e2b47c18",
  "status": "added",
  "created_at": "2026-10-11T09:05:00-05:00"
}
```

## Record payment received

`POST https://cotlet.dev/api/v1/acculynx/record_payment_received`

Access: write. Confirm: waits for the user's OK before it runs.

Records a payment the customer already made on one job, for example a deposit check, and returns the payment. Nothing is charged: it only writes the payment into the job. By default you confirm each call; you can switch that off for this tool.

### Parameters

| Name | Type | Required | Description |
|---|---|---|---|
| `job_id` | string | yes | Job ID from list_jobs. |
| `amount` | string | yes | Amount, e.g. "2500.00". |
| `method` | string | yes | Payment method as named in your AccuLynx account, e.g. Check. |
| `received_on` | date | no | Default: today. |
| `reference` | string | no | Check number or memo. |

### Request

**cURL**

```bash
curl -X POST https://cotlet.dev/api/v1/acculynx/record_payment_received \
  -H "Authorization: Bearer $COTLET_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"job_id":"job_8c41d2","amount":"2500.00","method":"method"}'
```

**Python**

```python
result = client.call("acculynx", "record_payment_received", {"job_id":"job_8c41d2","amount":"2500.00","method":"method"})
```

**Node.js**

```js
const result = await cotlet.call('acculynx', 'record_payment_received', {"job_id":"job_8c41d2","amount":"2500.00","method":"method"});
```

**CLI**

```bash
cotlet call acculynx record_payment_received --data '{"job_id":"job_8c41d2","amount":"2500.00","method":"method"}'
```

### Example response

```json
{
  "payment_id": "p-1183",
  "job_id": "b3f1c2a4-7d2e-4f0a-9c51-2e8a4d6f1b90",
  "amount": "2500.00",
  "method": "Check",
  "reference": "#2218",
  "received_on": "2026-10-12",
  "status": "recorded"
}
```
