List the activities of the members of a spot over a period of 31 days at most

Add MCP server to your AI tool

Allow AI tools and LLMs to interact with the API documentation portal through MCP.

MCP server URL

https://help-api.meltingspot.io/mcp

Standard setup for AI tools providing an mcp.json file

mcp.json
{
  "API MCP server": {
    "url": "https://help-api.meltingspot.io/mcp"
  }
}

Close
GET /v1/activities

List the activities of the members of a spot over a period of 31 days at most, from the most recent to the oldest. The list is read page by page with a cursor: pass the nextCursor of a page as cursor, with the same filters, to read the next one.

Query parameters

  • occurredAt object

    Period of the activities. Both bounds are required (occurredAt[after] and occurredAt[before]) and included.

    Hide occurredAt attributes Show occurredAt attributes object
    • occurredAt[after] integer

      Start of the period, included: only the activities which occurred at or after this date (Unix timestamp format). Required.

    • occurredAt[before] integer

      End of the period, included: only the activities which occurred at or before this date (Unix timestamp format). Required.

  • eventType object

    Filter on the type of the events. Every type when omitted.

    Hide eventType attribute Show eventType attribute object
    • eventType[in] array[string]

      Only the activities of one of these event types

      Values are ChannelJoined, ChannelLeft, ChannelMessageReacted, ChannelMessageSent, CourseStarted, CourseCompleted, CourseStepViewed, CourseStepCompleted, DiscussionMessageSent, DocumentLinkOpened, DocumentLinkReacted, DocumentPageReacted, DocumentPageViewed, LearningPathCompleted, LearningPathStarted, LiveAttended, LiveInvitationDeclined, LiveMessageReacted, LiveMessageSent, LiveParticipantRegistered, LiveReplayWatched, RoleplayCompleted, RoleplayStarted, SpotMemberLeft, SpotMemberRegistered, SpotMemberRegistrationRequested, TopicAnswerCreated, TopicAnswerVoted, TopicCreated, or TopicVoted.

  • liveId object
    Hide liveId attribute Show liveId attribute object
    • liveId[eq] string(uuid)

      Only the activities on this live. A live of another Spot matches nothing.

  • courseId object
    Hide courseId attribute Show courseId attribute object
    • courseId[eq] string(uuid)

      Only the activities on this course. A course of another Spot matches nothing.

  • channelId object
    Hide channelId attribute Show channelId attribute object
    • channelId[eq] string(uuid)

      Only the activities on this channel. A channel of another Spot matches nothing.

  • collectionId object
    Hide collectionId attribute Show collectionId attribute object
    • collectionId[eq] string(uuid)

      Only the activities on this collection. A collection of another Spot matches nothing.

  • topicId object
    Hide topicId attribute Show topicId attribute object
    • topicId[eq] string(uuid)

      Only the activities on this topic. A topic of another Spot matches nothing.

  • spotMemberId object
    Hide spotMemberId attribute Show spotMemberId attribute object
    • spotMemberId[eq] string(uuid)

      Only the activities of this member (spot member id)

  • groupId object
    Hide groupId attribute Show groupId attribute object
    • groupId[in] array[string(uuid)]

      Only the activities of the members of one of these groups

  • role object
    Hide role attribute Show role attribute object
    • role[in] array[string]

      Only the activities of the members having one of these roles and no custom role

      Values are Member or Admin.

  • customRoleId object
    Hide customRoleId attribute Show customRoleId attribute object
    • customRoleId[in] array[string(uuid)]

      Only the activities of the members having one of these custom roles

  • limit integer

    The number of activities to return

    Minimum value is 1, maximum value is 250. Default value is 10.

  • cursor string

    The cursor returned as nextCursor by the previous page, to pass with the same filters. Omit it to read the first page.

Responses

  • 200 application/json
    Hide response attributes Show response attributes object
    • items array[object] Required

      The activities of the page, from the most recent to the oldest

      Hide items attributes Show items attributes object
      • id string Required

        The id of the event

      • type string Required

        The type of the event

        Values are ChannelJoined, ChannelLeft, ChannelMessageReacted, ChannelMessageSent, CourseStarted, CourseCompleted, CourseStepViewed, CourseStepCompleted, DiscussionMessageSent, DocumentLinkOpened, DocumentLinkReacted, DocumentPageReacted, DocumentPageViewed, LearningPathCompleted, LearningPathStarted, LiveAttended, LiveInvitationDeclined, LiveMessageReacted, LiveMessageSent, LiveParticipantRegistered, LiveReplayWatched, RoleplayCompleted, RoleplayStarted, SpotMemberLeft, SpotMemberRegistered, SpotMemberRegistrationRequested, TopicAnswerCreated, TopicAnswerVoted, TopicCreated, or TopicVoted.

      • occurredAt integer Required

        The date of the event (timestamp in milliseconds)

      • member object

        The member who did the activity. Left out when the member no longer exists.

        Hide member attributes Show member attributes object
        • id string Required

          The id of the member in the spot

        • firstname string Required

          The first name of the member

        • lastname string Required

          The last name of the member

        • role string | null Required

          The role of the member, null when the stored value is not a known role

          Values are Member or Admin.

        • customRoleId string | null Required

          The id of the custom role of the member, null without one

      • recipient object

        The member a direct message was sent to

        Hide recipient attributes Show recipient attributes object
        • id string Required

          The id of the member in the spot

        • firstname string Required

          The first name of the member

        • lastname string Required

          The last name of the member

      • live object
        Hide live attributes Show live attributes object
        • id string Required

          The id of the content

        • title string

          The title of the content

      • channel object
        Hide channel attributes Show channel attributes object
        • id string Required

          The id of the content

        • title string

          The title of the content

      • message object
        Hide message attributes Show message attributes object
        • id string Required

          The id of the message

        • preview string

          The beginning of the message, as plain text

      • reactionEmoji string

        The emoji of a reaction

      • document object
        Hide document attributes Show document attributes object
        • id string Required

          The id of the content

        • title string

          The title of the content

        • type string

          The type of the document

      • collection object
        Hide collection attributes Show collection attributes object
        • id string Required

          The id of the content

        • title string

          The title of the content

      • course object
        Hide course attributes Show course attributes object
        • id string Required

          The id of the content

        • title string

          The title of the content

      • courseStep object
        Hide courseStep attributes Show courseStep attributes object
        • id string Required

          The id of the content

        • title string

          The title of the content

        • type string

          The type of the step

        • quizCorrectAnswersCount integer

          The number of correct answers of the member, for a completed quiz step

        • quizTotalQuestionsCount integer

          The number of questions of the quiz, for a completed quiz step

      • topic object
        Hide topic attributes Show topic attributes object
        • id string Required

          The id of the content

        • title string

          The title of the content

      • forum object
        Hide forum attributes Show forum attributes object
        • id string Required

          The id of the content

        • title string

          The title of the content

      • voteScore integer

        The score of a vote on a topic or an answer

      • learningPath object

        The learning path of the event, or the one the content was opened from

        Hide learningPath attributes Show learningPath attributes object
        • id string Required

          The id of the content

        • title string

          The title of the content

      • roleplay object
        Hide roleplay attributes Show roleplay attributes object
        • id string Required

          The id of the roleplay

        • name string

          The name of the roleplay

    • nextCursor string | null Required

      The cursor of the next page, to pass as cursor with the same filters. Null on the last page.

  • 400

    Malformed payload, missing or too long period, or cursor of another query

GET /v1/activities
curl \
 --request GET 'https://openapi.meltingspot.io/v1/activities'
Response examples (200)
{
  "items": [
    {
      "id": "string",
      "type": "ChannelJoined",
      "occurredAt": 42,
      "member": {
        "id": "string",
        "firstname": "string",
        "lastname": "string",
        "role": "Member",
        "customRoleId": "string"
      },
      "recipient": {
        "id": "string",
        "firstname": "string",
        "lastname": "string"
      },
      "live": {
        "id": "string",
        "title": "string"
      },
      "channel": {
        "id": "string",
        "title": "string"
      },
      "message": {
        "id": "string",
        "preview": "string"
      },
      "reactionEmoji": "string",
      "document": {
        "id": "string",
        "title": "string",
        "type": "string",
        "link": "string"
      },
      "collection": {
        "id": "string",
        "title": "string"
      },
      "course": {
        "id": "string",
        "title": "string"
      },
      "courseStep": {
        "id": "string",
        "title": "string",
        "type": "string",
        "quizCorrectAnswersCount": 42,
        "quizTotalQuestionsCount": 42
      },
      "topic": {
        "id": "string",
        "title": "string"
      },
      "forum": {
        "id": "string",
        "title": "string"
      },
      "voteScore": 42,
      "learningPath": {
        "id": "string",
        "title": "string"
      },
      "roleplay": {
        "id": "string",
        "name": "string"
      }
    }
  ],
  "nextCursor": "string"
}