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)

Operations 12

POST /api/v2/activities Create a new activity
POST /api/ActivitiesV2 Create a new activity
PUT /api/v2/activities/{activityId} Update an existing activity
PATCH /api/v2/activities/{activityId} Activity patch
GET /api/v2/activities/{activityId} Get activity by id
PUT /api/ActivitiesV2/{activityId} Update an existing activity
PATCH /api/ActivitiesV2/{activityId} Activity patch
GET /api/ActivitiesV2/{activityId} Get activity by id
POST /api/v2/activities/many Create multiple activities
POST /api/ActivitiesV2/many Create multiple activities
GET /api/v2/activities/feed Get activity feed
GET /api/ActivitiesV2/feed Get activity feed

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/spotio-activitiesv2-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

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. See our Privacy Policy and Terms.

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

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