Developers
Reference · CRM

Activities

List activities #

GET/api/public/v1/quosuite/crm/activities
Scope : crm:readlistCrmActivities

Calls, meetings, emails, notes and tasks, filterable by attached record, type, status, owner and due date. With a cursor, sort on createdAt or updatedAt. Allowed sort: dueAt, createdAt, updatedAt (default -createdAt).

Parameters

  • langstringquery

    Language of the labels (and of the PDF). Default: Accept-Language, otherwise the workspace language.

    frenar
  • pagenumberquery

    Page number (starting at 1).

  • pageSizenumberquery

    Items per page (100 at most).

  • sortstringquery

    Sort: comma-separated fields, - prefix for descending order. Allowed fields: see the route description. A final criterion on id makes pagination stable.

  • updatedSincestringquery

    Only returns items created or updated since this instant (ISO 8601, inclusive). With sort=updatedAt, this is the recommended form of an incremental sync.

  • cursorstringquery

    Cursor pagination: nextCursor of the previous page, to be passed back as is with the same filters and the same sort. Stable even if items are created during the walk, and constant cost whatever the depth. Mutually exclusive with page.

  • limitnumberquery

    Cursor pagination: items per page (100 at most). ?limit=100 starts a cursor walk; the response returns pagination.nextCursor.

  • leadIdstring (uuid)query
  • contactIdstring (uuid)query
  • accountIdstring (uuid)query
  • dealIdstring (uuid)query
  • ownerIdstring (uuid)query
  • typestring[]query

    Types, comma-separated.

  • statusstringquery
    TODODONE
  • dueFromstringquery

    Due from (inclusive).

  • dueTostringquery

    Due until (inclusive).

Response 200application/json

Success.

  • itemsCrmActivityDto[]required
    CrmActivityDto details
  • paginationPaginationDtorequired
    PaginationDto details

Errors

400VALIDATION_FAILEDIDEMPOTENCY_KEY_INVALIDINVALID_CURSOR

Invalid parameter or body (missing, unknown or mistyped field, sort not allowed), or pagination cursor issued for another sort or other filters.

401API_KEY_MISSINGAPI_KEY_INVALIDAPI_KEY_REVOKEDAPI_KEY_EXPIRED

Key missing, invalid, revoked or expired.

403API_KEY_WRONG_PERIMETERAPI_INSUFFICIENT_SCOPEAPI_ORIGIN_NOT_ALLOWEDAPI_TENANT_MISMATCHAPI_TENANT_INACTIVEAPI_MODULE_UNAVAILABLEAPI_FEATURE_UNAVAILABLE

Valid key but insufficient: wrong perimeter, missing scope, origin refused, inactive subscription, or module / option not included in the plan.

429API_RATE_LIMITEDAPI_AUTH_BLOCKED

Key or workspace quota reached (see Retry-After), or address blocked.

500INTERNAL_ERROR

Unexpected error. Quote requestId to support.

503SERVICE_UNAVAILABLE

Temporarily unavailable (see Retry-After). No infrastructure details.

Request example
curl 'https://quosuite.com/api/public/v1/quosuite/crm/activities' \
  -H "Authorization: Bearer $QUOSUITE_API_KEY"
Response example
{
  "success": true,
  "data": {
    "items": [
      {
        "id": "06c33908-e97c-45e0-86bd-a641968c80bd",
        "type": "CALL",
        "typeLabel": "Appel",
        "subject": "Point budget avec Dr Ayari",
        "description": null,
        "status": "TODO",
        "statusLabel": "À faire",
        "dueAt": "2026-10-02T09:15:00.000Z",
        "endAt": "2026-10-02T09:15:00.000Z",
        "location": null,
        "remindAt": "2026-10-02T09:15:00.000Z",
        "completedAt": "2026-10-02T09:15:00.000Z",
        "ownerId": "a1bc5725-f3da-4ef2-87f1-4e4cf4ae1541",
        "ownerName": null,
        "leadId": "2f48bdbe-c1ac-4620-8adc-41075fbb5e49",
        "contactId": "1d504846-1448-44be-883e-1943fe4ac169",
        "accountId": "623e7485-2c0c-4832-884d-9d3c4bb0e549",
        "dealId": "20d01f9e-3c17-41a0-85ae-1d27016ff309",
        "automatic": true,
        "createdAt": "2026-10-02T09:15:00.000Z",
        "updatedAt": "2026-10-02T09:15:00.000Z"
      }
    ],
    "pagination": {
      "page": 1,
      "pageSize": 25,
      "totalItems": 132,
      "totalPages": 6,
      "limit": 100,
      "nextCursor": "c1.eyJzIjoiZGF0ZTpkZXNjLGlkOmFzYyIsImYiOiJ…",
      "hasMore": true
    }
  },
  "timestamp": "2026-10-02T09:15:00.000Z"
}
Try this request

Schedule an activity #

POST/api/public/v1/quosuite/crm/activities
Scope : crm:writeIdempotentcreateCrmActivity

Attached to at least a lead, a contact, an account or a deal. With remindAt or remindBeforeMinutes, the owner gets a reminder (notification, email, mobile). On a deal, the activity counts as a follow-up (inactivity counter reset).

Parameters

  • Idempotency-Keystringheader

    Idempotency key (1–255 printable ASCII characters, UUID v4 recommended). A retry with the same key and the same body within 24 h replays the response of the first successful call (header Idempotent-Replayed: true) instead of creating a second time. Same key, different body: 422 IDEMPOTENCY_KEY_REUSED. First call still in progress: 409 IDEMPOTENCY_IN_PROGRESS.

Request body application/json

  • typestringrequired
    valuesCALLEMAILMEETINGNOTETASK
  • subjectstringrequired
    e.g.Appel de découverte
  • descriptionobject
  • statusstring
    valuesTODODONEdefault"TODO"
  • dueAtstring | null

    Due date / start.

    e.g.2026-11-20T09:00:00Z
  • endAtstring | null

    End (after the start).

    e.g.2026-11-20T10:00:00Z
  • locationobject
  • remindAtobject | null

    Reminder to the owner (ISO 8601).

  • remindBeforeMinutesnumber | null

    Reminder N minutes before dueAt (replaces remindAt).

    e.g.30
  • ownerIdstring (uuid) | null

    Owner: a user of the workspace (GET /crm/owners). Omitted on creation: none (a “new lead” automation may assign it); null on update: remove it.

  • leadIdstring (uuid)

    At least one attachment: lead, contact, account or deal.

  • contactIdstring (uuid)
  • accountIdstring (uuid)
  • dealIdstring (uuid)

Response 201application/json

Created.

  • idstring (uuid)required
  • typestringrequired
    valuesCALLEMAILMEETINGNOTETASK
  • typeLabelstringrequired
    e.g.Appel
  • subjectstringrequired
    e.g.Point budget avec Dr Ayari
  • descriptionstring | null
  • statusstringrequired
    valuesTODODONE
  • statusLabelstringrequired
    e.g.À faire
  • dueAtstring | null

    Due date / start.

  • endAtstring | null
  • locationstring | null
  • remindAtstring | null
  • completedAtstring | null
  • ownerIdstring (uuid) | null
  • ownerNamestring | null
  • leadIdstring (uuid) | null
  • contactIdstring (uuid) | null
  • accountIdstring (uuid) | null
  • dealIdstring (uuid) | null
  • automaticbooleanrequired

    Created by an automation.

  • createdAtstringrequired
  • updatedAtstringrequired

Errors

400VALIDATION_FAILEDIDEMPOTENCY_KEY_INVALIDINVALID_CURSOR

Invalid parameter or body (missing, unknown or mistyped field, sort not allowed), or pagination cursor issued for another sort or other filters.

401API_KEY_MISSINGAPI_KEY_INVALIDAPI_KEY_REVOKEDAPI_KEY_EXPIRED

Key missing, invalid, revoked or expired.

402PLAN_QUOTA_EXCEEDEDFEATURE_NOT_INCLUDEDMODULE_NOT_INCLUDED

Subscription plan limit or option (monthly document quota, multi-currency…).

403API_KEY_WRONG_PERIMETERAPI_INSUFFICIENT_SCOPEAPI_ORIGIN_NOT_ALLOWEDAPI_TENANT_MISMATCHAPI_TENANT_INACTIVEAPI_MODULE_UNAVAILABLEAPI_FEATURE_UNAVAILABLE

Valid key but insufficient: wrong perimeter, missing scope, origin refused, inactive subscription, or module / option not included in the plan.

404NOT_FOUND

Resource not found — or belonging to another workspace, which amounts to the same.

409CONFLICTIDEMPOTENCY_IN_PROGRESS

Conflict: unique value already taken, or same idempotency key still in progress.

422BUSINESS_RULE_VIOLATIONIDEMPOTENCY_KEY_REUSED

Well-formed request but refused by an ERP business rule (forbidden status transition, locked paid document, stock…), or reused idempotency key.

429API_RATE_LIMITEDAPI_AUTH_BLOCKED

Key or workspace quota reached (see Retry-After), or address blocked.

500INTERNAL_ERROR

Unexpected error. Quote requestId to support.

503SERVICE_UNAVAILABLE

Temporarily unavailable (see Retry-After). No infrastructure details.

Request example
# One key per operation, reused as is on every retry.
curl -X POST 'https://quosuite.com/api/public/v1/quosuite/crm/activities' \
  -H "Authorization: Bearer $QUOSUITE_API_KEY" \
  -H 'Idempotency-Key: 3f1c2a9e-5b7d-4e8a-9c1f-2d6b8e4a7c30' \
  -H 'Content-Type: application/json' \
  -d '{
  "type": "CALL",
  "subject": "Appel de découverte"
}'
Response example
{
  "success": true,
  "data": {
    "id": "06c33908-e97c-45e0-86bd-a641968c80bd",
    "type": "CALL",
    "typeLabel": "Appel",
    "subject": "Point budget avec Dr Ayari",
    "description": null,
    "status": "TODO",
    "statusLabel": "À faire",
    "dueAt": "2026-10-02T09:15:00.000Z",
    "endAt": "2026-10-02T09:15:00.000Z",
    "location": null,
    "remindAt": "2026-10-02T09:15:00.000Z",
    "completedAt": "2026-10-02T09:15:00.000Z",
    "ownerId": "a1bc5725-f3da-4ef2-87f1-4e4cf4ae1541",
    "ownerName": null,
    "leadId": "2f48bdbe-c1ac-4620-8adc-41075fbb5e49",
    "contactId": "1d504846-1448-44be-883e-1943fe4ac169",
    "accountId": "623e7485-2c0c-4832-884d-9d3c4bb0e549",
    "dealId": "20d01f9e-3c17-41a0-85ae-1d27016ff309",
    "automatic": true,
    "createdAt": "2026-10-02T09:15:00.000Z",
    "updatedAt": "2026-10-02T09:15:00.000Z"
  },
  "timestamp": "2026-10-02T09:15:00.000Z"
}

Get an activity #

GET/api/public/v1/quosuite/crm/activities/{id}
Scope : crm:readgetCrmActivity

Parameters

  • idstring (uuid)pathrequired
  • langstringquery

    Language of the labels (and of the PDF). Default: Accept-Language, otherwise the workspace language.

    frenar

Response 200application/json

Success.

  • idstring (uuid)required
  • typestringrequired
    valuesCALLEMAILMEETINGNOTETASK
  • typeLabelstringrequired
    e.g.Appel
  • subjectstringrequired
    e.g.Point budget avec Dr Ayari
  • descriptionstring | null
  • statusstringrequired
    valuesTODODONE
  • statusLabelstringrequired
    e.g.À faire
  • dueAtstring | null

    Due date / start.

  • endAtstring | null
  • locationstring | null
  • remindAtstring | null
  • completedAtstring | null
  • ownerIdstring (uuid) | null
  • ownerNamestring | null
  • leadIdstring (uuid) | null
  • contactIdstring (uuid) | null
  • accountIdstring (uuid) | null
  • dealIdstring (uuid) | null
  • automaticbooleanrequired

    Created by an automation.

  • createdAtstringrequired
  • updatedAtstringrequired

Errors

400VALIDATION_FAILEDIDEMPOTENCY_KEY_INVALIDINVALID_CURSOR

Invalid parameter or body (missing, unknown or mistyped field, sort not allowed), or pagination cursor issued for another sort or other filters.

401API_KEY_MISSINGAPI_KEY_INVALIDAPI_KEY_REVOKEDAPI_KEY_EXPIRED

Key missing, invalid, revoked or expired.

403API_KEY_WRONG_PERIMETERAPI_INSUFFICIENT_SCOPEAPI_ORIGIN_NOT_ALLOWEDAPI_TENANT_MISMATCHAPI_TENANT_INACTIVEAPI_MODULE_UNAVAILABLEAPI_FEATURE_UNAVAILABLE

Valid key but insufficient: wrong perimeter, missing scope, origin refused, inactive subscription, or module / option not included in the plan.

404NOT_FOUND

Resource not found — or belonging to another workspace, which amounts to the same.

429API_RATE_LIMITEDAPI_AUTH_BLOCKED

Key or workspace quota reached (see Retry-After), or address blocked.

500INTERNAL_ERROR

Unexpected error. Quote requestId to support.

503SERVICE_UNAVAILABLE

Temporarily unavailable (see Retry-After). No infrastructure details.

Request example
curl 'https://quosuite.com/api/public/v1/quosuite/crm/activities/aac39e3a-0c40-44b2-8697-b597f357c5a9' \
  -H "Authorization: Bearer $QUOSUITE_API_KEY"
Response example
{
  "success": true,
  "data": {
    "id": "06c33908-e97c-45e0-86bd-a641968c80bd",
    "type": "CALL",
    "typeLabel": "Appel",
    "subject": "Point budget avec Dr Ayari",
    "description": null,
    "status": "TODO",
    "statusLabel": "À faire",
    "dueAt": "2026-10-02T09:15:00.000Z",
    "endAt": "2026-10-02T09:15:00.000Z",
    "location": null,
    "remindAt": "2026-10-02T09:15:00.000Z",
    "completedAt": "2026-10-02T09:15:00.000Z",
    "ownerId": "a1bc5725-f3da-4ef2-87f1-4e4cf4ae1541",
    "ownerName": null,
    "leadId": "2f48bdbe-c1ac-4620-8adc-41075fbb5e49",
    "contactId": "1d504846-1448-44be-883e-1943fe4ac169",
    "accountId": "623e7485-2c0c-4832-884d-9d3c4bb0e549",
    "dealId": "20d01f9e-3c17-41a0-85ae-1d27016ff309",
    "automatic": true,
    "createdAt": "2026-10-02T09:15:00.000Z",
    "updatedAt": "2026-10-02T09:15:00.000Z"
  },
  "timestamp": "2026-10-02T09:15:00.000Z"
}
Try this request

Update an activity #

PATCH/api/public/v1/quosuite/crm/activities/{id}
Scope : crm:writeupdateCrmActivity

status: DONE marks it done (completedAt set).

Parameters

  • idstring (uuid)pathrequired

Request body application/json

  • typestring
    valuesCALLEMAILMEETINGNOTETASK
  • subjectstring
    e.g.Appel de découverte
  • descriptionobject
  • statusstring
    valuesTODODONEdefault"TODO"
  • dueAtstring | null

    Due date / start.

    e.g.2026-11-20T09:00:00Z
  • endAtstring | null

    End (after the start).

    e.g.2026-11-20T10:00:00Z
  • locationobject
  • remindAtobject | null

    Reminder to the owner (ISO 8601).

  • remindBeforeMinutesnumber | null

    Reminder N minutes before dueAt (replaces remindAt).

    e.g.30
  • ownerIdstring (uuid) | null

    Owner: a user of the workspace (GET /crm/owners). Omitted on creation: none (a “new lead” automation may assign it); null on update: remove it.

  • leadIdstring (uuid)

    At least one attachment: lead, contact, account or deal.

  • contactIdstring (uuid)
  • accountIdstring (uuid)
  • dealIdstring (uuid)

Response 200application/json

Success.

  • idstring (uuid)required
  • typestringrequired
    valuesCALLEMAILMEETINGNOTETASK
  • typeLabelstringrequired
    e.g.Appel
  • subjectstringrequired
    e.g.Point budget avec Dr Ayari
  • descriptionstring | null
  • statusstringrequired
    valuesTODODONE
  • statusLabelstringrequired
    e.g.À faire
  • dueAtstring | null

    Due date / start.

  • endAtstring | null
  • locationstring | null
  • remindAtstring | null
  • completedAtstring | null
  • ownerIdstring (uuid) | null
  • ownerNamestring | null
  • leadIdstring (uuid) | null
  • contactIdstring (uuid) | null
  • accountIdstring (uuid) | null
  • dealIdstring (uuid) | null
  • automaticbooleanrequired

    Created by an automation.

  • createdAtstringrequired
  • updatedAtstringrequired

Errors

400VALIDATION_FAILEDIDEMPOTENCY_KEY_INVALIDINVALID_CURSOR

Invalid parameter or body (missing, unknown or mistyped field, sort not allowed), or pagination cursor issued for another sort or other filters.

401API_KEY_MISSINGAPI_KEY_INVALIDAPI_KEY_REVOKEDAPI_KEY_EXPIRED

Key missing, invalid, revoked or expired.

403API_KEY_WRONG_PERIMETERAPI_INSUFFICIENT_SCOPEAPI_ORIGIN_NOT_ALLOWEDAPI_TENANT_MISMATCHAPI_TENANT_INACTIVEAPI_MODULE_UNAVAILABLEAPI_FEATURE_UNAVAILABLE

Valid key but insufficient: wrong perimeter, missing scope, origin refused, inactive subscription, or module / option not included in the plan.

404NOT_FOUND

Resource not found — or belonging to another workspace, which amounts to the same.

409CONFLICTIDEMPOTENCY_IN_PROGRESS

Conflict: unique value already taken, or same idempotency key still in progress.

422BUSINESS_RULE_VIOLATIONIDEMPOTENCY_KEY_REUSED

Well-formed request but refused by an ERP business rule (forbidden status transition, locked paid document, stock…), or reused idempotency key.

429API_RATE_LIMITEDAPI_AUTH_BLOCKED

Key or workspace quota reached (see Retry-After), or address blocked.

500INTERNAL_ERROR

Unexpected error. Quote requestId to support.

503SERVICE_UNAVAILABLE

Temporarily unavailable (see Retry-After). No infrastructure details.

Request example
curl -X PATCH 'https://quosuite.com/api/public/v1/quosuite/crm/activities/aac39e3a-0c40-44b2-8697-b597f357c5a9' \
  -H "Authorization: Bearer $QUOSUITE_API_KEY" \
  -H 'Content-Type: application/json' \
  -d '{
  "subject": "Appel de découverte",
  "dueAt": "2026-11-20T09:00:00Z",
  "endAt": "2026-11-20T10:00:00Z",
  "remindBeforeMinutes": 30
}'
Response example
{
  "success": true,
  "data": {
    "id": "06c33908-e97c-45e0-86bd-a641968c80bd",
    "type": "CALL",
    "typeLabel": "Appel",
    "subject": "Point budget avec Dr Ayari",
    "description": null,
    "status": "TODO",
    "statusLabel": "À faire",
    "dueAt": "2026-10-02T09:15:00.000Z",
    "endAt": "2026-10-02T09:15:00.000Z",
    "location": null,
    "remindAt": "2026-10-02T09:15:00.000Z",
    "completedAt": "2026-10-02T09:15:00.000Z",
    "ownerId": "a1bc5725-f3da-4ef2-87f1-4e4cf4ae1541",
    "ownerName": null,
    "leadId": "2f48bdbe-c1ac-4620-8adc-41075fbb5e49",
    "contactId": "1d504846-1448-44be-883e-1943fe4ac169",
    "accountId": "623e7485-2c0c-4832-884d-9d3c4bb0e549",
    "dealId": "20d01f9e-3c17-41a0-85ae-1d27016ff309",
    "automatic": true,
    "createdAt": "2026-10-02T09:15:00.000Z",
    "updatedAt": "2026-10-02T09:15:00.000Z"
  },
  "timestamp": "2026-10-02T09:15:00.000Z"
}

Generated from the QuoSuite API OpenAPI contract v1.0.0.