Skip to main content
PATCH
/
contact-activity-logs
/
{contactActivityLog}
Update a CRM event
curl --request PATCH \
  --url https://app.fintoro.sk/api/public/v1/contact-activity-logs/{contactActivityLog} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "metadata": {
    "content": "Follow-up call summary",
    "email": "crm@example.test",
    "personName": "John Caller",
    "phoneNumber": "+421900000000",
    "documentType": "invoice",
    "documentId": 301
  },
  "attachmentUploadTokens": [
    "eyJpdiI6Ik9wYXF1ZS1Ub2tlbi0xIn0="
  ],
  "deletedAttachmentIds": [
    9001
  ]
}
'
{
  "id": 551,
  "type": "note",
  "metadata": {
    "content": "Follow-up call summary",
    "email": "crm@example.test",
    "personName": "John Caller",
    "phoneNumber": "+421900000000",
    "documentNumberSnapshot": "20260001",
    "documentPriceSnapshot": 121,
    "documentCurrencySnapshot": {
      "id": 1,
      "symbol": "EUR",
      "name": "Euro",
      "mark": "€"
    },
    "paidAmount": 25.5,
    "relatedDocument": {
      "documentType": "invoice",
      "documentId": 301,
      "name": "Invoice 20260001",
      "number": "20260001",
      "issueDate": "2026-03-10",
      "totalWithVat": 121,
      "currency": {
        "id": 1,
        "symbol": "EUR",
        "name": "Euro",
        "mark": "€"
      }
    }
  },
  "attachments": [
    {
      "id": 9001,
      "name": "note.pdf",
      "mimeType": "application/pdf",
      "url": "https://cdn.fintoro.sk/contact-activity-attachments/note.pdf"
    }
  ],
  "businessCaseId": 501,
  "clientId": 101,
  "supplierId": 151,
  "createdAt": "2026-03-10T10:00:00+01:00",
  "updatedAt": "2026-03-10T10:30:00+01:00"
}

Authorizations

Authorization
string
header
required

Bearer token created for a specific company in Integrations → API.

Path Parameters

contactActivityLog
integer
required

Contact activity ID.

Example:

551

Body

application/json

Payload for updating a CRM event. Only metadata, optional new attachmentUploadTokens[], and optional deletedAttachmentIds[] are mutable. type, businessCaseId, clientId, and supplierId are forbidden on update.

metadata
object
required

Type-dependent payload for the existing CRM event type. Do not send snapshot fields or relatedDocument; those are computed or persisted by the backend.

attachmentUploadTokens
string[]
Example:
["eyJpdiI6Ik9wYXF1ZS1Ub2tlbi0xIn0="]
deletedAttachmentIds
integer[]
Example:
[9001]

Response

CRM event updated.

Unified CRM event.

id
integer

Internal CRM event ID.

Example:

551

type
enum<string>

CRM event type.

Available options:
note,
email,
phone_call,
document_linked,
document_created,
document_updated,
document_deleted,
document_payment_added
Example:

"note"

metadata
object

CRM event metadata prepared for the Fintoro API response.

attachments
object[]
businessCaseId
integer | null

Business case ID when the activity is linked to a business case.

Example:

501

clientId
integer | null

Client ID when the activity is linked directly to a client outside a business case.

Example:

101

supplierId
integer | null

Supplier ID when the activity is linked directly to a supplier outside a business case.

Example:

151

createdAt
string<date-time> | null

CRM event creation timestamp.

Example:

"2026-03-10T10:00:00+01:00"

updatedAt
string<date-time> | null

CRM event last update timestamp.

Example:

"2026-03-10T10:30:00+01:00"