Clearstory Change Notifications API

The Change Notifications API from Clearstory, for change notifications.

GitHub OpenAPI
Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent with a free APIs.io key — sign in with GitHub, Google or LinkedIn. No form to fill in; signing in shares your email address with us (Privacy).

Operations 3

GET /change-notifications/{id} Get change notification #
GET /change-notifications/{id}/{contractId} Get change notification for contract #
GET /change-notifications List change notifications #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/extracker:extracker-change-notifications-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

extracker-change-notifications-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Clearstory Web Change Notifications API
  version: 1.9.0
  host: web-api.clearstory.build
  description: 'The Clearstory Web API allows you to access and build your own applications that utilize your Clearstory data. The Clearstory Web API provides a RESTful interface with JSON-formatted responses to access many Clearstory resources. Check back here for more information as we continue to expanding our API functionality.


    Web API domain: `https://web-api.clearstory.build`'
  x-logo:
    url: https://www.clearstory.build/hubfs/CS_Logo_Landscape_Color_1200x400.svg
    backgroundColor: '#FFFFFF'
    altText: Clearstory
servers:
- url: https://web-api.clearstory.build/
tags:
- name: Change Notifications
paths:
  /change-notifications/{id}:
    get:
      operationId: GetChangeNotification
      responses:
        '200':
          description: Ok
          content:
            application/json:
              schema:
                allOf:
                - $ref: '#/components/schemas/ChangeNotification'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UnauthorizedErrorResponse'
              examples:
                Example 1:
                  value:
                    message: unauthorized
        '404':
          description: Not Found
        '422':
          description: Unprocessable Entity
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ValidationErrorResponse'
              examples:
                Example 1:
                  value:
                    success: false
                    errors:
                    - value: some-invalid-id
                      msg: Invalid value
                      param: id
                      location: params
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponseJSON'
              examples:
                Example 1:
                  value:
                    message: something went wrong
      description: 'Retrieves a Change Notification sent by the requesting (customer) company.

        Contractors will use the `/change-notifications/:id/:contractId` endpoint

        to retrieve information about the Change Notification received in relation

        to one of their contracts that they have with their customer.


        Change Notifications have a 1:n relationship with contractor responses.

        The same Change Notification could be sent to the same contractor under

        one or more contracts. When a contractor is responding to Change Notifications

        they will need to specify for which contract.'
      tags:
      - Change Notifications
      security:
      - ClearstoryAPIKey: []
      parameters: []
      summary: Get change notification
      x-summary-source: derived
      x-operation-id-source: normalized
      x-operation-id-original: Get Change Notification
  /change-notifications/{id}/{contractId}:
    get:
      operationId: GetChangeNotificationForContract
      responses:
        '200':
          description: Ok
          content:
            application/json:
              schema:
                allOf:
                - $ref: '#/components/schemas/ChangeNotificationResponse'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UnauthorizedErrorResponse'
              examples:
                Example 1:
                  value:
                    message: unauthorized
        '422':
          description: Unprocessable Entity
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ValidationErrorResponse'
              examples:
                Example 1:
                  value:
                    success: false
                    errors:
                    - value: some-invalid-id
                      msg: Invalid value
                      param: id
                      location: params
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponseJSON'
              examples:
                Example 1:
                  value:
                    message: something went wrong
      tags:
      - Change Notifications
      security:
      - ClearstoryAPIKey: []
      parameters: []
      summary: Get change notification for contract
      x-summary-source: derived
      x-operation-id-source: normalized
      x-operation-id-original: Get Change Notification for Contract
  /change-notifications:
    get:
      operationId: ListChangeNotifications
      responses:
        '200':
          description: Ok
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ListResponse'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UnauthorizedErrorResponse'
              examples:
                Example 1:
                  value:
                    message: unauthorized
        '422':
          description: Unprocessable Entity
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ValidationErrorResponse'
              examples:
                Example 1:
                  value:
                    success: false
                    errors:
                    - value: something
                      msg: Invalid value
                      param: inbox
                      location: query
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponseJSON'
              examples:
                Example 1:
                  value:
                    message: something went wrong
      description: Retrieves a list of Change Notifications either sent or received by the company belonging to the requesting API token.
      tags:
      - Change Notifications
      security:
      - ClearstoryAPIKey: []
      parameters:
      - in: query
        name: inbox
        required: false
        schema:
          $ref: '#/components/schemas/Inbox'
      - in: query
        name: sortBy
        required: false
        schema:
          $ref: '#/components/schemas/ChangeNotificationSortFields'
      - in: query
        name: sortDirection
        required: false
        schema:
          $ref: '#/components/schemas/SortDirection'
      - description: How many records to skip (can use also "skip")
        in: query
        name: offset
        required: false
        schema:
          format: int32
          type: integer
          minimum: 0
      - description: How many records to take (can also use "take")
        in: query
        name: limit
        required: false
        schema:
          format: int32
          type: integer
          maximum: 100
      - description: A list of project ids (or internal ids) to filter results by
        in: query
        name: projectIds
        required: false
        schema:
          type: array
          items:
            type: integer
            format: int32
      - description: A list of office ids to filter results by
        in: query
        name: officeIds
        required: false
        schema:
          type: array
          items:
            type: integer
            format: int32
      - description: A list of internal office ids (user managed) to filter results by
        in: query
        name: internalOfficeIds
        required: false
        schema:
          type: array
          items:
            type: string
      - description: A list of customer ids to filter results by
        in: query
        name: customerIds
        required: false
        schema:
          type: array
          items:
            type: integer
            format: int32
      - description: A list of internal customer ids (user managed) to filter results by
        in: query
        name: internalCustomerIds
        required: false
        schema:
          type: array
          items:
            type: string
      - in: query
        name: contractorIds
        required: false
        schema:
          type: array
          items:
            type: number
            format: double
      - description: A list of contract ids to filter results by
        in: query
        name: contractIds
        required: false
        schema:
          type: array
          items:
            type: integer
            format: int32
      - description: A list of statuses to filter by ("sent" inbox only)
        in: query
        name: statuses
        required: false
        schema:
          type: array
          items:
            $ref: '#/components/schemas/Status'
      - description: A list of types to filter results by
        in: query
        name: types
        required: false
        schema:
          type: array
          items:
            type: string
      - in: query
        name: fromDueDate
        required: false
        schema:
          format: date-time
          type: string
      - in: query
        name: untilDueDate
        required: false
        schema:
          format: date-time
          type: string
      - in: query
        name: fromDateSubmitted
        required: false
        schema:
          format: date-time
          type: string
      - in: query
        name: untilDateSubmitted
        required: false
        schema:
          format: date-time
          type: string
      - description: Filter to include Change Notifications from their last updated timestamp (greater than or equal to) this ISO-8601 date, ie. `"2026-01-26T00:00:00Z"`. If no timezone is specified, UTC is used.
        in: query
        name: fromUpdatedAt
        required: false
        schema:
          format: date-time
          type: string
      - description: Filter to include Change Notifications until their last updated timestamp (less than or equal to) this ISO-8601 date, ie. `"2026-01-27T00:00:00Z"`. If no timezone is specified, UTC is used.
        in: query
        name: untilUpdatedAt
        required: false
        schema:
          format: date-time
          type: string
      summary: List change notifications
      x-summary-source: derived
      x-operation-id-source: normalized
      x-operation-id-original: List Change Notifications
components:
  schemas:
    ChangeNotificationContractor:
      description: 'This respresents a recipient of a Change Notification. It also holds the response

        to a Change Notification for a given contract.'
      properties:
        id:
          type: integer
          format: int32
        noCostImpact:
          type: boolean
          description: 'This will be `true` if a contractor has responded with no cost impact

            or if the customer has marked this contract as having no cost impact.'
        hasResponded:
          type: boolean
          description: This will be `true` if there has been a response for this contract.
        estimate:
          type: number
          format: decimal
          description: The customer managed estimated cost impact.
        fileDownloadCount:
          type: integer
          format: int32
          description: The number of times the contractor has downloaded the attached files (if there were any attached).
        contractId:
          type: integer
          format: int32
          description: The contract id between the contractor and customer, primary key.
        contract:
          $ref: '#/components/schemas/Contract'
          description: The associated contract for the response.
        updatedAt:
          type: string
          format: date-time
        createdAt:
          type: string
          format: date-time
      required:
      - id
      type: object
      additionalProperties: false
    ProjectSummary:
      properties:
        id:
          type: integer
          format: int32
        projectTitle:
          type: string
        jobNumber:
          type: string
        customerJobNumber:
          type: string
        division:
          type: string
        isArchived:
          type: boolean
        customerName:
          type: string
        customerId:
          type: integer
          format: int32
        customerInternalId:
          type: string
        contractValue:
          type: number
          format: double
        officeId:
          type: integer
          format: int32
        companyId:
          type: integer
          format: int32
        updatedAt:
          type: string
          format: date-time
        createdAt:
          type: string
          format: date-time
      required:
      - id
      - projectTitle
      - jobNumber
      - customerJobNumber
      - isArchived
      - contractValue
      - officeId
      - companyId
      - updatedAt
      - createdAt
      type: object
      additionalProperties: false
    ChangeOrderRequestSummary:
      description: 'An abbreviated Change Order Request object. This does not include all fields

        or associated data.'
      properties:
        uuid:
          type: string
        contractId:
          type: number
          format: double
        title:
          type: string
        number:
          type: string
        status:
          type: string
        stage:
          type: string
        total:
          type: number
          format: double
        customerReferenceNumber:
          type: string
        customerCoNumber:
          type: string
        dateSubmitted:
          type: string
          format: date-time
        approvedToProceedDate:
          type: string
          format: date-time
        coIssueDate:
          type: string
          format: date-time
        voidDate:
          type: string
          format: date-time
        changeNotificationId:
          type: number
          format: double
        updatedAt:
          type: string
          format: date-time
        createdAt:
          type: string
          format: date-time
      required:
      - uuid
      - contractId
      - title
      - number
      type: object
      additionalProperties: false
    ValidationError:
      description: 'Note: This class is the same as defined by `express-validator` package.

        It was just creating documentation issues with `tsoa` to use it from the package.'
      properties:
        location:
          $ref: '#/components/schemas/Location'
        param:
          type: string
        value: {}
        msg: {}
        nestedErrors:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
      required:
      - msg
      type: object
      additionalProperties: false
    UnauthorizedErrorResponse:
      properties:
        message:
          type: string
      type: object
      additionalProperties: false
    ChangeNotificationResponse:
      description: 'This holds the response to a Change Notification for a given contract.

        It also includes an association to the Change Notification and if there

        has been a response indicating a cost impact, it will also include

        information about the associated Change Order Request.'
      properties:
        id:
          type: integer
          format: int32
        noCostImpact:
          type: boolean
          description: 'This will be `true` if a contractor has responded with no cost impact

            or if the customer has marked this contract as having no cost impact.'
        hasResponded:
          type: boolean
          description: This will be `true` if there has been a response for this contract.
        contractId:
          type: integer
          format: int32
          description: The contract id between the contractor and customer, primary key.
        projectId:
          type: integer
          format: int32
          description: The contractor's project id, primary key.
        changeNotification:
          $ref: '#/components/schemas/ChangeNotification'
          description: The associated Change Notification.
        cor:
          $ref: '#/components/schemas/ChangeOrderRequestSummary'
          description: 'When there is a response to a Change Notification indicating a cost impact,

            this Change Order Request details what the cost impact is.'
        contract:
          $ref: '#/components/schemas/Contract'
          description: The associated contract for the response.
        updatedAt:
          type: string
          format: date-time
        createdAt:
          type: string
          format: date-time
      required:
      - id
      type: object
      additionalProperties: false
    SortDirection:
      description: Sort direction options
      enum:
      - asc
      - desc
      type: string
    Status:
      $ref: '#/components/schemas/ChangeNotificationStatus'
    Creator:
      properties:
        id:
          type: integer
          format: int32
          description: The user's id, primary key.
        firstName:
          type: string
          description: The first name of the creator/user.
        lastName:
          type: string
          description: The last name of the creator/user.
        email:
          type: string
          description: The creator's email address.
          format: email
      required:
      - id
      type: object
      additionalProperties: false
    Customer:
      properties:
        id:
          type: integer
          format: int32
          description: The customer record id, primary key.
        name:
          type: string
          description: 'The customer''s name. This can be updated, but any PDF document created already

            will not update with the new name. Future PDFs will be created using the updated

            value though.'
        internalId:
          type: string
          description: 'Users can set an internal or custom ID value for a customer record.

            This is helpful in integrating with other systems.'
        creatorId:
          type: number
          format: double
          description: 'The user who created this customer info record.

            Note that customer info records may also be automatically created by users as part of accepting a project invite.

            In this case, the user who accepted the project invite would be the creator of this record.'
        address:
          type: string
        city:
          type: string
        state:
          type: string
        zipCode:
          type: string
        country:
          type: string
        phone:
          type: string
          description: The customer's phone number.
          maxLength: 255
        fax:
          type: string
          description: The customer's fax number.
          maxLength: 255
      required:
      - id
      type: object
      additionalProperties: false
    ValidationErrorResponse:
      properties:
        success:
          type: boolean
        errors:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
      required:
      - success
      type: object
      additionalProperties: false
    ChangeNotification:
      properties:
        id:
          type: integer
          format: int32
        type:
          type: string
          description: 'The type of Change Notification will be either a "Pricing Request" or "Authorize T&M Work"

            which may have opened T&M Tags for the contractor to use.'
        typeId:
          type: integer
          format: int32
          description: 'The type is referenced by a numberic id.

            `1 = Pricing Request`

            `2 = Authorize T&M Work`'
        status:
          type: string
        statusChangedAt:
          type: string
          format: date-time
          description: When the Change Notification status was last updated (customer view on "sent inbox" only).
        title:
          type: string
        description:
          type: string
          description: The Change Notification description (visible on detailed view).
        customerReferenceNumber:
          type: string
        dateSubmitted:
          type: string
          format: date-time
          description: 'The date the Change Notification was _originally_ submitted, visible to the customer only.

            The contractor will see the date that they received the Change Notification which is different.

            The date received comes from the Change Notification response record.'
        dateReceived:
          type: string
          format: date-time
          description: 'The date the Change Notification was received (for "received inbox" only).

            This is relative to each contractor making a request for Change Notifications.'
        dueDate:
          type: string
          format: date-time
        estimate:
          type: number
          format: decimal
          description: User managed estimated cost impact.
        costImpact:
          type: number
          format: decimal
          description: Actual calculated cost impact based on responses from contractors.
        projectedCost:
          type: number
          format: decimal
          description: Projected cost impact based on estimate and actual costs from contractor responses.
        totalSubmitted:
          type: integer
          format: int32
          description: The number of contractors the Change Notification was submitted to.
        totalResponded:
          type: integer
          format: int32
          description: The number of contractors who have responded to the Change Notification.
        customer:
          $ref: '#/components/schemas/Customer'
        project:
          $ref: '#/components/schemas/ProjectSummary'
        contractors:
          items:
            $ref: '#/components/schemas/ChangeNotificationContractor'
          type: array
          description: 'A list of all contractors who have been notified.

            Note this list is only seen on the detailed view and is not included in the list Change Notifications

            endpoint response. Additionally, only customers can see this list. Contractors do not see the other

            contractors who were also included on the Change Notification.'
        response:
          $ref: '#/components/schemas/ChangeNotificationResponse'
          description: 'A single response only makes sense to be visible from the "received inbox," or the contractor''s view.

            This is the contractor''s response to the Change Notification.


            From the customer''s view (or the "sent inbox") there is a 1:n relationship with the contractor

            responses since a Change Notification may be sent to multiple contractors.


            To see a list of all contractor responses, as a customer, use the endpoint to get a specific

            Change Notification by id.'
        responses:
          items:
            $ref: '#/components/schemas/ChangeNotificationResponse'
          type: array
          description: 'Responses from each contractor. This is only visible from the customer''s view.


            From the customer''s view (or the "sent inbox") there is a 1:n relationship with the contractor

            responses since a Change Notification may be sent to multiple contractors.'
        sentBy:
          $ref: '#/components/schemas/Creator'
        emailMessage:
          type: string
        updatedAt:
          type: string
          format: date-time
        createdAt:
          type: string
          format: date-time
      required:
      - id
      - title
      type: object
      additionalProperties: false
    ChangeNotificationStatus:
      description: Valid statuses for change notifications.
      enum:
      - in_progress
      - in_review
      - approved
      - rejected
      - draft
      type: string
    Location:
      type: string
      enum:
      - body
      - cookies
      - headers
      - params
      - query
    ChangeNotificationSortFields:
      type: string
      enum:
      - createdAt
      - updatedAt
      - title
      - typeId
      - dateSubmitted
      - dueDate
      description: 'Valid sorting fields for change notifications.

        Note that the accepted sorting field values coming from request input are going to be uniform

        and use camelCase. The actual values that will end up being needed can be camelCase or snake_case.

        Consumers of the API will be able to rely upon just using camelCase field names this way.'
    Contract:
      properties:
        id:
          type: integer
          format: int32
        name:
          type: string
          description: 'The contract name. Note this may be an empty string in some cases.

            This name can be managed by either party (customer or contractor).

            It is a shared record in this sense.'
        contractValue:
          type: number
          format: decimal
          description: 'The contract value. Again, this value can be managed by both

            the contractor and the customer.'
        customerProjectId:
          type: integer
          format: int32
        contractorProjectId:
          type: integer
          format: int32
      required:
      - id
      - name
      - contractValue
      type: object
      additionalProperties: false
    ErrorResponseJSON:
      properties:
        message:
          type: string
      type: object
      additionalProperties: false
    ListResponse:
      properties:
        records:
          $ref: '#/components/schemas/ChangeNotification'
          description: 'An array of records or an empty array if none were found using the filtering options

            or if none exist for the company.'
        limit:
          type: number
          format: double
          description: The limit (max number of records returned) used for this request.
        offset:
          type: number
          format: double
          description: The offset (number of records skipped) used for this request.
        count:
          type: integer
          format: int32
          description: 'The total count of records. If there are more than the returned limit, additional

            requests will need to be made to paginate through the results as needed.'
      required:
      - records
      - limit
      - offset
      - count
      type: object
    Inbox:
      description: 'For "log views" in Clearstory, this represents the direction of data.

        These are also known as "inboxes."'
      enum:
      - sent
      - received
      type: string
  securitySchemes:
    ClearstoryAPIKey:
      type: http
      scheme: basic
      in: header
      name: Authorization
      description: 'The Web API currently uses Basic Auth where the username is the _Key ID_ and password is the _Key Secret._ **These API keys provide access to your data at a company level.**


        There is a limit to the number of API keys a given company can have generated and active at any given time. Keys can be disabled and created again.


        It is important to note the _Secret Key_ value cannot be retrieved again. Should you lose it, you will need to generate a new API key.


        Basic Auth works simply by including an `Authorization` header with a base64 encoded string value that combines your _**Key ID**_ and _**Key Secret**_ separated by a colon. ie. `476B2524694742F2B2ACA15ACE3518C9:112cd32ec0d015fe9c5709d14cef3201`.


        Your final header should look something like: `Authorization: Basic YWRzZmFkZmFrZmpoM2sybGpma3dhMw==`'