For the complete documentation index, see llms.txt. This page is also available as Markdown.

Events

List Events

get
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Query parameters
pageinteger · int32 · min: 1Optional

Page number to fetch, 1-indexed. Defaults to 1.

perPageinteger · int32 · min: 1 · max: 100Optional

Number of results per page (1-100). Defaults to the API's standard page size if omitted.

querystringOptional

Lucene-style filter query (e.g. status:active AND createdAt:[2024-01-01 TO *]). Field names match the Event object's own fields. This syntax is part of an in-flight migration (see docs/design/lucene-migration-json-filter-spec.md) and may change.

sortstringOptional

Field name to sort by - any top-level field of the Event object returned by this endpoint. Defaults to the API's natural order if omitted.

sortDirstring · enumOptional

Sort direction: asc or desc. Only takes effect when sort is set.

Possible values:
Responses
200

List of events

application/json
totalRowsnumberOptional
pagenumberOptional
perPagenumberOptional
get/events
GET /v2/events HTTP/1.1
Host: openapi.paintscout.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
  "totalRows": 1,
  "page": 1,
  "perPage": 1,
  "rows": [
    {
      "id": "f123453-abcd-1234-abcd-122233324989",
      "eventType": "follow-up",
      "dealId": "abcd1234-abcd-1234-abcd-abcd1234abcd",
      "address": "123 Main St, Springfield, IL 62701",
      "note": "Follow up with the client to discuss project details.",
      "canceled": false,
      "progress": 50,
      "production": true,
      "owner": {
        "id": "ownerid1234",
        "firstName": "John",
        "lastName": "Doe",
        "email": "johndoefake@fakemail.com"
      },
      "timestamp": {
        "created": 1234567890,
        "updated": 1234567890,
        "start": 1234567890,
        "end": 1234567890
      }
    }
  ]
}

Create Event

post
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Body
idstringOptional

The unique ID of the Event. Ignored when creating new events.

eventTypestringOptional

The type of Event.

dealIdstringOptional

The deal ID this event is associated with

addressstring · nullableOptional

The address

notestring · nullableOptional

A note about this event

canceledboolean · nullableOptional

Whether the event has been canceled

progressnumber · nullableOptional

Percent complete of a production event, 0-100. Omitted when 0.

productionboolean · nullableOptional

Whether this is a production event, which is what makes progress meaningful. Omitted when false.

Responses
200

Details about the new Event

application/json
idstringOptional

The unique ID of the Event. Ignored when creating new events.

eventTypestringOptional

The type of Event.

dealIdstringOptional

The deal ID this event is associated with

addressstring · nullableOptional

The address

notestring · nullableOptional

A note about this event

canceledboolean · nullableOptional

Whether the event has been canceled

progressnumber · nullableOptional

Percent complete of a production event, 0-100. Omitted when 0.

productionboolean · nullableOptional

Whether this is a production event, which is what makes progress meaningful. Omitted when false.

post/events
POST /v2/events HTTP/1.1
Host: openapi.paintscout.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 467

{
  "id": "f123453-abcd-1234-abcd-122233324989",
  "eventType": "follow-up",
  "dealId": "abcd1234-abcd-1234-abcd-abcd1234abcd",
  "address": "123 Main St, Springfield, IL 62701",
  "note": "Follow up with the client to discuss project details.",
  "canceled": false,
  "progress": 50,
  "production": true,
  "owner": {
    "id": "ownerid1234",
    "firstName": "John",
    "lastName": "Doe",
    "email": "johndoefake@fakemail.com"
  },
  "timestamp": {
    "created": 1234567890,
    "updated": 1234567890,
    "start": 1234567890,
    "end": 1234567890
  }
}
{
  "id": "f123453-abcd-1234-abcd-122233324989",
  "eventType": "follow-up",
  "dealId": "abcd1234-abcd-1234-abcd-abcd1234abcd",
  "address": "123 Main St, Springfield, IL 62701",
  "note": "Follow up with the client to discuss project details.",
  "canceled": false,
  "progress": 50,
  "production": true,
  "owner": {
    "id": "ownerid1234",
    "firstName": "John",
    "lastName": "Doe",
    "email": "johndoefake@fakemail.com"
  },
  "timestamp": {
    "created": 1234567890,
    "updated": 1234567890,
    "start": 1234567890,
    "end": 1234567890
  }
}

Retrieve Event

get
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
idstringRequired

ID of the Event

Responses
200

Details about the event

application/json
idstringOptional

The unique ID of the Event. Ignored when creating new events.

eventTypestringOptional

The type of Event.

dealIdstringOptional

The deal ID this event is associated with

addressstring · nullableOptional

The address

notestring · nullableOptional

A note about this event

canceledboolean · nullableOptional

Whether the event has been canceled

progressnumber · nullableOptional

Percent complete of a production event, 0-100. Omitted when 0.

productionboolean · nullableOptional

Whether this is a production event, which is what makes progress meaningful. Omitted when false.

get/events/{id}
GET /v2/events/{id} HTTP/1.1
Host: openapi.paintscout.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
  "id": "f123453-abcd-1234-abcd-122233324989",
  "eventType": "follow-up",
  "dealId": "abcd1234-abcd-1234-abcd-abcd1234abcd",
  "address": "123 Main St, Springfield, IL 62701",
  "note": "Follow up with the client to discuss project details.",
  "canceled": false,
  "progress": 50,
  "production": true,
  "owner": {
    "id": "ownerid1234",
    "firstName": "John",
    "lastName": "Doe",
    "email": "johndoefake@fakemail.com"
  },
  "timestamp": {
    "created": 1234567890,
    "updated": 1234567890,
    "start": 1234567890,
    "end": 1234567890
  }
}

Update Event

put
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
idstringRequired

ID of the Event

Body
idstringOptional

The unique ID of the Event. Ignored when creating new events.

eventTypestringOptional

The type of Event.

dealIdstringOptional

The deal ID this event is associated with

addressstring · nullableOptional

The address

notestring · nullableOptional

A note about this event

canceledboolean · nullableOptional

Whether the event has been canceled

progressnumber · nullableOptional

Percent complete of a production event, 0-100. Omitted when 0.

productionboolean · nullableOptional

Whether this is a production event, which is what makes progress meaningful. Omitted when false.

Responses
200

The updated event

application/json
idstringOptional

The unique ID of the Event. Ignored when creating new events.

eventTypestringOptional

The type of Event.

dealIdstringOptional

The deal ID this event is associated with

addressstring · nullableOptional

The address

notestring · nullableOptional

A note about this event

canceledboolean · nullableOptional

Whether the event has been canceled

progressnumber · nullableOptional

Percent complete of a production event, 0-100. Omitted when 0.

productionboolean · nullableOptional

Whether this is a production event, which is what makes progress meaningful. Omitted when false.

put/events/{id}
PUT /v2/events/{id} HTTP/1.1
Host: openapi.paintscout.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 467

{
  "id": "f123453-abcd-1234-abcd-122233324989",
  "eventType": "follow-up",
  "dealId": "abcd1234-abcd-1234-abcd-abcd1234abcd",
  "address": "123 Main St, Springfield, IL 62701",
  "note": "Follow up with the client to discuss project details.",
  "canceled": false,
  "progress": 50,
  "production": true,
  "owner": {
    "id": "ownerid1234",
    "firstName": "John",
    "lastName": "Doe",
    "email": "johndoefake@fakemail.com"
  },
  "timestamp": {
    "created": 1234567890,
    "updated": 1234567890,
    "start": 1234567890,
    "end": 1234567890
  }
}
{
  "id": "f123453-abcd-1234-abcd-122233324989",
  "eventType": "follow-up",
  "dealId": "abcd1234-abcd-1234-abcd-abcd1234abcd",
  "address": "123 Main St, Springfield, IL 62701",
  "note": "Follow up with the client to discuss project details.",
  "canceled": false,
  "progress": 50,
  "production": true,
  "owner": {
    "id": "ownerid1234",
    "firstName": "John",
    "lastName": "Doe",
    "email": "johndoefake@fakemail.com"
  },
  "timestamp": {
    "created": 1234567890,
    "updated": 1234567890,
    "start": 1234567890,
    "end": 1234567890
  }
}

Delete Event

delete
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
idstringRequired

ID of the Event

Responses
204

No Content

No content

delete/events/{id}
DELETE /v2/events/{id} HTTP/1.1
Host: openapi.paintscout.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*

No content

Last updated

Was this helpful?