SPOTIO Activities V2 API

The controller is responsible for handling the creation, updating, and retrieval of activities. Mainly the controller allow to manage activities (current and done)

OpenAPI Specification

spotio-activitiesv2-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  version: v1
  title: Spotio 2.0 Activities V2 API
  description: '

    The controller is responsible for handling the creation, updating, and retrieval of activities.

    Mainly the controller allow to manage activities (current and done)

    '
  contact:
    name: Contact us
    url: https://spotio.com/contact/
    email: support@spotio.com
servers:
- url: https://api.spotio2.com
  description: Production
- url: https://app-test.spotio2.com
  description: Test
security:
- Bearer: []
tags:
- name: ActivitiesV2
  description: '

    The controller is responsible for handling the creation, updating, and retrieval of activities.

    Mainly the controller allow to manage activities (current and done)

    '
paths:
  /api/v2/activities:
    post:
      tags:
      - ActivitiesV2
      summary: Create a new activity
      description: If activity isNote then duration and title and activityTemplateId are blank.
      requestBody:
        content:
          application/merge-patch+json:
            schema:
              $ref: '#/components/schemas/Spotio.Frontend.ViewModel.ActivityV2.ActivityRequest'
            examples:
              default:
                value:
                  leadId: 61143db398995a00010d553b
                  dataObjectId: 61143db398995a00010d553b
                  type: note
                  done: false
                  isNote: true
                  notes: Notes from meetings
                  date: '2026-08-04T07:14:38.6801689+00:00'
                  allDay: false
          application/json-patch+json:
            schema:
              $ref: '#/components/schemas/Spotio.Frontend.ViewModel.ActivityV2.ActivityRequest'
            examples:
              default:
                value:
                  leadId: 61143db398995a00010d553b
                  dataObjectId: 61143db398995a00010d553b
                  type: note
                  done: false
                  isNote: true
                  notes: Notes from meetings
                  date: '2026-08-04T07:14:38.6801689+00:00'
                  allDay: false
          application/json:
            schema:
              $ref: '#/components/schemas/Spotio.Frontend.ViewModel.ActivityV2.ActivityRequest'
            examples:
              default:
                value:
                  leadId: 61143db398995a00010d553b
                  dataObjectId: 61143db398995a00010d553b
                  type: note
                  done: false
                  isNote: true
                  notes: Notes from meetings
                  date: '2026-08-04T07:14:38.6801689+00:00'
                  allDay: false
          text/json:
            schema:
              $ref: '#/components/schemas/Spotio.Frontend.ViewModel.ActivityV2.ActivityRequest'
            examples:
              default:
                value:
                  leadId: 61143db398995a00010d553b
                  dataObjectId: 61143db398995a00010d553b
                  type: note
                  done: false
                  isNote: true
                  notes: Notes from meetings
                  date: '2026-08-04T07:14:38.6801689+00:00'
                  allDay: false
          application/*+json:
            schema:
              $ref: '#/components/schemas/Spotio.Frontend.ViewModel.ActivityV2.ActivityRequest'
            examples:
              default:
                value:
                  leadId: 61143db398995a00010d553b
                  dataObjectId: 61143db398995a00010d553b
                  type: note
                  done: false
                  isNote: true
                  notes: Notes from meetings
                  date: '2026-08-04T07:14:38.6801689+00:00'
                  allDay: false
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Spotio.Frontend.ViewModel.ActivityV2.ActivityResponse'
              examples:
                default:
                  value:
                    id: '1'
                    verified: true
                    mobileId: 8asf111f
                    leadId: 61143732f5bd3ab20f9c67d1
                    dataObjectId: 61143732f5bd3ab20f9c67d1
                    type: note
                    done: false
                    activityLat: 38.19502
                    activityLng: -113.90625
                    leadLat: 38.19502
                    leadLng: -113.90625
                    transition:
                      fromStageId: '1'
                      toStageId: '1'
                    isNote: true
                    ownerChanged:
                      previousLeadOwnerId: '4082'
                      newLeadOwnerId: '5000'
                      previousDataObjectOwnerId: '4082'
                      newDataObjectOwnerId: '5000'
                    resultId: '2'
                    direction: in
                    email: spotio@spotio.com
                    reference: dsfoso123sadp
                    isRead: false
                    activityTemplateId: a6vhAo3FG7t1
                    ownerId: '1'
                    title: Knock the door
                    notes: My notes
                    date: '2026-08-03T07:14:38.6804261+00:00'
                    duration: 15
                    durationSeconds: 900
                    allDay: false
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Spotio.Infrastructure.Common.DataModel.Error.Error'
        '401':
          description: Unauthorized
        '415':
          description: Client Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Spotio.Infrastructure.Common.DataModel.Error.Error'
        '422':
          description: Client Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Spotio.Infrastructure.Common.DataModel.Error.Error'
        '500':
          description: Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Spotio.Infrastructure.Common.DataModel.Error.Error'
      security:
      - Bearer: []
      servers:
      - url: https://api.spotio2.com
        description: Production
      - url: https://app-test.spotio2.com
        description: Test
  /api/ActivitiesV2:
    post:
      tags:
      - ActivitiesV2
      summary: Create a new activity
      description: If activity isNote then duration and title and activityTemplateId are blank.
      requestBody:
        content:
          application/merge-patch+json:
            schema:
              $ref: '#/components/schemas/Spotio.Frontend.ViewModel.ActivityV2.ActivityRequest'
            examples:
              default:
                value:
                  leadId: 61143db398995a00010d553b
                  dataObjectId: 61143db398995a00010d553b
                  type: note
                  done: false
                  isNote: true
                  notes: Notes from meetings
                  date: '2026-08-04T07:14:38.6852669+00:00'
                  allDay: false
          application/json-patch+json:
            schema:
              $ref: '#/components/schemas/Spotio.Frontend.ViewModel.ActivityV2.ActivityRequest'
            examples:
              default:
                value:
                  leadId: 61143db398995a00010d553b
                  dataObjectId: 61143db398995a00010d553b
                  type: note
                  done: false
                  isNote: true
                  notes: Notes from meetings
                  date: '2026-08-04T07:14:38.6852669+00:00'
                  allDay: false
          application/json:
            schema:
              $ref: '#/components/schemas/Spotio.Frontend.ViewModel.ActivityV2.ActivityRequest'
            examples:
              default:
                value:
                  leadId: 61143db398995a00010d553b
                  dataObjectId: 61143db398995a00010d553b
                  type: note
                  done: false
                  isNote: true
                  notes: Notes from meetings
                  date: '2026-08-04T07:14:38.6852669+00:00'
                  allDay: false
          text/json:
            schema:
              $ref: '#/components/schemas/Spotio.Frontend.ViewModel.ActivityV2.ActivityRequest'
            examples:
              default:
                value:
                  leadId: 61143db398995a00010d553b
                  dataObjectId: 61143db398995a00010d553b
                  type: note
                  done: false
                  isNote: true
                  notes: Notes from meetings
                  date: '2026-08-04T07:14:38.6852669+00:00'
                  allDay: false
          application/*+json:
            schema:
              $ref: '#/components/schemas/Spotio.Frontend.ViewModel.ActivityV2.ActivityRequest'
            examples:
              default:
                value:
                  leadId: 61143db398995a00010d553b
                  dataObjectId: 61143db398995a00010d553b
                  type: note
                  done: false
                  isNote: true
                  notes: Notes from meetings
                  date: '2026-08-04T07:14:38.6852669+00:00'
                  allDay: false
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Spotio.Frontend.ViewModel.ActivityV2.ActivityResponse'
              examples:
                default:
                  value:
                    id: '1'
                    verified: true
                    mobileId: 8asf111f
                    leadId: 61143732f5bd3ab20f9c67d1
                    dataObjectId: 61143732f5bd3ab20f9c67d1
                    type: note
                    done: false
                    activityLat: 38.19502
                    activityLng: -113.90625
                    leadLat: 38.19502
                    leadLng: -113.90625
                    transition:
                      fromStageId: '1'
                      toStageId: '1'
                    isNote: true
                    ownerChanged:
                      previousLeadOwnerId: '4082'
                      newLeadOwnerId: '5000'
                      previousDataObjectOwnerId: '4082'
                      newDataObjectOwnerId: '5000'
                    resultId: '2'
                    direction: in
                    email: spotio@spotio.com
                    reference: dsfoso123sadp
                    isRead: false
                    activityTemplateId: a6vhAo3FG7t1
                    ownerId: '1'
                    title: Knock the door
                    notes: My notes
                    date: '2026-08-03T07:14:38.6854614+00:00'
                    duration: 15
                    durationSeconds: 900
                    allDay: false
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Spotio.Infrastructure.Common.DataModel.Error.Error'
        '401':
          description: Unauthorized
        '415':
          description: Client Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Spotio.Infrastructure.Common.DataModel.Error.Error'
        '422':
          description: Client Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Spotio.Infrastructure.Common.DataModel.Error.Error'
        '500':
          description: Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Spotio.Infrastructure.Common.DataModel.Error.Error'
      security:
      - Bearer: []
      servers:
      - url: https://api.spotio2.com
        description: Production
      - url: https://app-test.spotio2.com
        description: Test
  /api/v2/activities/{activityId}:
    put:
      tags:
      - ActivitiesV2
      summary: Update an existing activity
      description: Only planned activity could be changed.
      parameters:
      - name: activityId
        in: path
        required: true
        schema:
          type: string
      requestBody:
        content:
          application/merge-patch+json:
            schema:
              $ref: '#/components/schemas/Spotio.Frontend.ViewModel.ActivityV2.ActivityRequest'
          application/json-patch+json:
            schema:
              $ref: '#/components/schemas/Spotio.Frontend.ViewModel.ActivityV2.ActivityRequest'
          application/json:
            schema:
              $ref: '#/components/schemas/Spotio.Frontend.ViewModel.ActivityV2.ActivityRequest'
          text/json:
            schema:
              $ref: '#/components/schemas/Spotio.Frontend.ViewModel.ActivityV2.ActivityRequest'
          application/*+json:
            schema:
              $ref: '#/components/schemas/Spotio.Frontend.ViewModel.ActivityV2.ActivityRequest'
      responses:
        '200':
          description: Success
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/Spotio.Frontend.ViewModel.ActivityV2.ActivityResponse'
              examples:
                default:
                  value:
                    id: '1'
                    verified: true
                    mobileId: 8asf111f
                    leadId: 61143732f5bd3ab20f9c67d1
                    dataObjectId: 61143732f5bd3ab20f9c67d1
                    type: note
                    done: false
                    activityLat: 38.19502
                    activityLng: -113.90625
                    leadLat: 38.19502
                    leadLng: -113.90625
                    transition:
                      fromStageId: '1'
                      toStageId: '1'
                    isNote: true
                    ownerChanged:
                      previousLeadOwnerId: '4082'
                      newLeadOwnerId: '5000'
                      previousDataObjectOwnerId: '4082'
                      newDataObjectOwnerId: '5000'
                    resultId: '2'
                    direction: in
                    email: spotio@spotio.com
                    reference: dsfoso123sadp
                    isRead: false
                    activityTemplateId: a6vhAo3FG7t1
                    ownerId: '1'
                    title: Knock the door
                    notes: My notes
                    date: '2026-08-03T07:14:38.6911825+00:00'
                    duration: 15
                    durationSeconds: 900
                    allDay: false
            application/json:
              schema:
                $ref: '#/components/schemas/Spotio.Frontend.ViewModel.ActivityV2.ActivityResponse'
              examples:
                default:
                  value:
                    id: '1'
                    verified: true
                    mobileId: 8asf111f
                    leadId: 61143732f5bd3ab20f9c67d1
                    dataObjectId: 61143732f5bd3ab20f9c67d1
                    type: note
                    done: false
                    activityLat: 38.19502
                    activityLng: -113.90625
                    leadLat: 38.19502
                    leadLng: -113.90625
                    transition:
                      fromStageId: '1'
                      toStageId: '1'
                    isNote: true
                    ownerChanged:
                      previousLeadOwnerId: '4082'
                      newLeadOwnerId: '5000'
                      previousDataObjectOwnerId: '4082'
                      newDataObjectOwnerId: '5000'
                    resultId: '2'
                    direction: in
                    email: spotio@spotio.com
                    reference: dsfoso123sadp
                    isRead: false
                    activityTemplateId: a6vhAo3FG7t1
                    ownerId: '1'
                    title: Knock the door
                    notes: My notes
                    date: '2026-08-03T07:14:38.6911825+00:00'
                    duration: 15
                    durationSeconds: 900
                    allDay: false
            text/json:
              schema:
                $ref: '#/components/schemas/Spotio.Frontend.ViewModel.ActivityV2.ActivityResponse'
              examples:
                default:
                  value:
                    id: '1'
                    verified: true
                    mobileId: 8asf111f
                    leadId: 61143732f5bd3ab20f9c67d1
                    dataObjectId: 61143732f5bd3ab20f9c67d1
                    type: note
                    done: false
                    activityLat: 38.19502
                    activityLng: -113.90625
                    leadLat: 38.19502
                    leadLng: -113.90625
                    transition:
                      fromStageId: '1'
                      toStageId: '1'
                    isNote: true
                    ownerChanged:
                      previousLeadOwnerId: '4082'
                      newLeadOwnerId: '5000'
                      previousDataObjectOwnerId: '4082'
                      newDataObjectOwnerId: '5000'
                    resultId: '2'
                    direction: in
                    email: spotio@spotio.com
                    reference: dsfoso123sadp
                    isRead: false
                    activityTemplateId: a6vhAo3FG7t1
                    ownerId: '1'
                    title: Knock the door
                    notes: My notes
                    date: '2026-08-03T07:14:38.6911825+00:00'
                    duration: 15
                    durationSeconds: 900
                    allDay: false
        '400':
          description: Bad Request
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/Spotio.Infrastructure.Common.DataModel.Error.Error'
            application/json:
              schema:
                $ref: '#/components/schemas/Spotio.Infrastructure.Common.DataModel.Error.Error'
            text/json:
              schema:
                $ref: '#/components/schemas/Spotio.Infrastructure.Common.DataModel.Error.Error'
        '401':
          description: Unauthorized
        '415':
          description: Client Error
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/Spotio.Infrastructure.Common.DataModel.Error.Error'
            application/json:
              schema:
                $ref: '#/components/schemas/Spotio.Infrastructure.Common.DataModel.Error.Error'
            text/json:
              schema:
                $ref: '#/components/schemas/Spotio.Infrastructure.Common.DataModel.Error.Error'
        '422':
          description: Client Error
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/Spotio.Infrastructure.Common.DataModel.Error.Error'
            application/json:
              schema:
                $ref: '#/components/schemas/Spotio.Infrastructure.Common.DataModel.Error.Error'
            text/json:
              schema:
                $ref: '#/components/schemas/Spotio.Infrastructure.Common.DataModel.Error.Error'
        '500':
          description: Server Error
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/Spotio.Infrastructure.Common.DataModel.Error.Error'
            application/json:
              schema:
                $ref: '#/components/schemas/Spotio.Infrastructure.Common.DataModel.Error.Error'
            text/json:
              schema:
                $ref: '#/components/schemas/Spotio.Infrastructure.Common.DataModel.Error.Error'
      security:
      - Bearer: []
      servers:
      - url: https://api.spotio2.com
        description: Production
      - url: https://app-test.spotio2.com
        description: Test
    patch:
      tags:
      - ActivitiesV2
      summary: Activity patch
      description: Partially update an existing activity
      parameters:
      - name: activityId
        in: path
        required: true
        schema:
          type: string
      requestBody:
        content:
          application/merge-patch+json:
            schema:
              $ref: '#/components/schemas/Spotio.Frontend.ViewModel.ActivityV2.ActivityRequest'
      responses:
        '200':
          description: Success
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/Spotio.Frontend.ViewModel.ActivityV2.ActivityResponse'
              examples:
                default:
                  value:
                    id: '1'
                    verified: true
                    mobileId: 8asf111f
                    leadId: 61143732f5bd3ab20f9c67d1
                    dataObjectId: 61143732f5bd3ab20f9c67d1
                    type: note
                    done: false
                    activityLat: 38.19502
                    activityLng: -113.90625
                    leadLat: 38.19502
                    leadLng: -113.90625
                    transition:
                      fromStageId: '1'
                      toStageId: '1'
                    isNote: true
                    ownerChanged:
                      previousLeadOwnerId: '4082'
                      newLeadOwnerId: '5000'
                      previousDataObjectOwnerId: '4082'
                      newDataObjectOwnerId: '5000'
                    resultId: '2'
                    direction: in
                    email: spotio@spotio.com
                    reference: dsfoso123sadp
                    isRead: false
                    activityTemplateId: a6vhAo3FG7t1
                    ownerId: '1'
                    title: Knock the door
                    notes: My notes
                    date: '2026-08-03T07:14:38.6988552+00:00'
                    duration: 15
                    durationSeconds: 900
                    allDay: false
            application/json:
              schema:
                $ref: '#/components/schemas/Spotio.Frontend.ViewModel.ActivityV2.ActivityResponse'
              examples:
                default:
                  value:
                    id: '1'
                    verified: true
                    mobileId: 8asf111f
                    leadId: 61143732f5bd3ab20f9c67d1
                    dataObjectId: 61143732f5bd3ab20f9c67d1
                    type: note
                    done: false
                    activityLat: 38.19502
                    activityLng: -113.90625
                    leadLat: 38.19502
                    leadLng: -113.90625
                    transition:
                      fromStageId: '1'
                      toStageId: '1'
                    isNote: true
                    ownerChanged:
                      previousLeadOwnerId: '4082'
                      newLeadOwnerId: '5000'
                      previousDataObjectOwnerId: '4082'
                      newDataObjectOwnerId: '5000'
                    resultId: '2'
                    direction: in
                    email: spotio@spotio.com
                    reference: dsfoso123sadp
                    isRead: false
                    activityTemplateId: a6vhAo3FG7t1
                    ownerId: '1'
                    title: Knock the door
                    notes: My notes
                    date: '2026-08-03T07:14:38.6988552+00:00'
                    duration: 15
                    durationSeconds: 900
                    allDay: false
            text/json:
              schema:
                $ref: '#/components/schemas/Spotio.Frontend.ViewModel.ActivityV2.ActivityResponse'
              examples:
                default:
                  value:
                    id: '1'
                    verified: true
                    mobileId: 8asf111f
                    leadId: 61143732f5bd3ab20f9c67d1
                    dataObjectId: 61143732f5bd3ab20f9c67d1
                    type: note
                    done: false
                    activityLat: 38.19502
                    activityLng: -113.90625
                    leadLat: 38.19502
                    leadLng: -113.90625
                    transition:
                      fromStageId: '1'
                      toStageId: '1'
                    isNote: true
                    ownerChanged:
                      previousLeadOwnerId: '4082'
                      newLeadOwnerId: '5000'
                      previousDataObjectOwnerId: '4082'
                      newDataObjectOwnerId: '5000'
                    resultId: '2'
                    direction: in
                    email: spotio@spotio.com
                    reference: dsfoso123sadp
                    isRead: false
                    activityTemplateId: a6vhAo3FG7t1
                    ownerId: '1'
                    title: Knock the door
                    notes: My notes
                    date: '2026-08-03T07:14:38.6988552+00:00'
                    duration: 15
                    durationSeconds: 900
                    allDay: false
        '400':
          description: Bad Request
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/Spotio.Infrastructure.Common.DataModel.Error.Error'
            application/json:
              schema:
                $ref: '#/components/schemas/Spotio.Infrastructure.Common.DataModel.Error.Error'
            text/json:
              schema:
                $ref: '#/components/schemas/Spotio.Infrastructure.Common.DataModel.Error.Error'
        '401':
          description: Unauthorized
        '415':
          description: Client Error
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/Spotio.Infrastructure.Common.DataModel.Error.Error'
            application/json:
              schema:
                $ref: '#/components/schemas/Spotio.Infrastructure.Common.DataModel.Error.Error'
            text/json:
              schema:
                $ref: '#/components/schemas/Spotio.Infrastructure.Common.DataModel.Error.Error'
        '422':
          description: Client Error
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/Spotio.Infrastructure.Common.DataModel.Error.Error'
            application/json:
              schema:
                $ref: '#/components/schemas/Spotio.Infrastructure.Common.DataModel.Error.Error'
            text/json:
              schema:
                $ref: '#/components/schemas/Spotio.Infrastructure.Common.DataModel.Error.Error'
        '500':
          description: Server Error
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/Spotio.Infrastructure.Common.DataModel.Error.Error'
            application/json:
              schema:
                $ref: '#/components/schemas/Spotio.Infrastructure.Common.DataModel.Error.Error'
            text/json:
              schema:
                $ref: '#/components/schemas/Spotio.Infrastructure.Common.DataModel.Error.Error'
      security:
      - Bearer: []
      servers:
      - url: https://api.spotio2.com
        description: Production
      - url: https://app-test.spotio2.com
        description: Test
    get:
      tags:
      - ActivitiesV2
      summary: Get activity by id
      description: Fetch a single activity by its unique identifier.
      parameters:
      - name: activityId
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Success
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/Spotio.Frontend.ViewModel.ActivityV2.ActivityResponse'
            application/json:
              schema:
                $ref: '#/components/schemas/Spotio.Frontend.ViewModel.ActivityV2.ActivityResponse'
            text/json:
              schema:
                $ref: '#/components/schemas/Spotio.Frontend.ViewModel.ActivityV2.ActivityResponse'
        '400':
          description: Bad Request
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/Spotio.Infrastructure.Common.DataModel.Error.Error'
            application/json:
              schema:
                $ref: '#/components/schemas/Spotio.Infrastructure.Common.DataModel.Error.Error'
            text/json:
              schema:
                $ref: '#/components/schemas/Spotio.Infrastructure.Common.DataModel.Error.Error'
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
        '500':
          description: Server Error
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/Spotio.Infrastructure.Common.DataModel.Error.Error'
            application/json:
              schema:
                $ref: '#/components/schemas/Spotio.Infrastructure.Common.DataModel.Error.Error'
            text/json:
              schema:
                $ref: '#/components/schemas/Spotio.Infrastructure.Common.DataModel.Error.Error'
      security:
      - Bearer: []
      servers:
      - url: https://api.spotio2.com
        description: Production
      - url: https://app-test.spotio2.com
        description: Test
  /api/ActivitiesV2/{activityId}:
    put:
      tags:
      - ActivitiesV2
      summary: Update an existing activity
      description: Only planned activity could be changed.
      parameters:
      - name: activityId
        in: path
        required: true
        schema:
          type: string
      requestBody:
        content:
          application/merge-patch+json:
            schema:
              $ref: '#/components/schemas/Spotio.Frontend.ViewModel.ActivityV2.ActivityRequest'
          application/json-patch+json:
            schema:
              $ref: '#/components/schemas/Spotio.Frontend.ViewModel.ActivityV2.ActivityRequest'
          application/json:
            schema:
              $ref: '#/components/schemas/Spotio.Frontend.ViewModel.ActivityV2.ActivityRequest'
          text/json:
            schema:
              $ref: '#/components/schemas/Spotio.Frontend.ViewModel.ActivityV2.ActivityRequest'
          application/*+json:
            schema:
              $ref: '#/components/schemas/Spotio.Frontend.ViewModel.ActivityV2.ActivityRequest'
      responses:
        '200':
          description: Success
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/Spotio.Frontend.ViewModel.ActivityV2.ActivityResponse'
              examples:
                default:
                  value:
                    id: '1'
                    verified: true
                    mobileId: 8asf111f
                    leadId: 61143732f5bd3ab20f9c67d1
                    dataObjectId: 61143732f5bd3ab20f9c67d1
                    type: note
                    done: false
                    activityLat: 38.19502
                    activityLng: -113.90625
                    leadLat: 38.19502
                    leadLng: -113.90625
                    transition:
                      fromStageId: '1'
                      toStageId: '1'
                    isNote: true
                    ownerChanged:
                      previousLeadOwnerId: '4082'
                      newLeadOwnerId: '5000'
                      previousDataObjectOwnerId: '4082'
                      newDataObjectOwnerId: '5000'
                    resultId: '2'
                    direction: in
                    email: spotio@spotio.com
                    reference: dsfoso123sadp
                    isRead: false
                    activityTemplateId: a6vhAo3FG7t1
                    ownerId: '1'
                    title: Knock the door
                    notes: My notes
                    date: '2026-08-03T07:14:38.7081476+00:00'
                    duration: 15
                    durationSeconds: 900
                    allDay: false
            application/json:
              schema:
                $ref: '#/components/schemas/Spotio.Frontend.ViewModel.ActivityV

# --- truncated at 32 KB (74 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/spotio/refs/heads/main/openapi/spotio-activitiesv2-api-openapi.yml