SendPulse Task history API

The Task history API from SendPulse — 1 operation(s) for task history.

Operations 1

GET /tasks/{taskId}/history Get task history #

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/sendpulse-task-history-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

sendpulse-task-history-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  description: Using the API for the CRM service, you can integrate your system with CRM from SendPulse and receive detailed information on pipelines, deals, contacts and their attributes and users.
  title: SendPulse CRM Public Task history API
  version: 0.1.0
servers:
- url: https://api.sendpulse.com/crm/v1
security:
- apiKey: []
- oauth2: []
tags:
- name: Task history
paths:
  /tasks/{taskId}/history:
    get:
      tags:
      - Task history
      summary: Get task history
      description: Get task history by ID within a date range.
      parameters:
      - name: taskId
        in: path
        required: true
        schema:
          type: integer
      - name: fromDate
        in: query
        required: true
        schema:
          type: string
          format: date-time
          example: 2024-12-12 12:12:12+00:00
      - name: toDate
        in: query
        required: true
        schema:
          type: string
          format: date-time
          example: 2024-12-12 12:12:12+00:00
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: array
                    items:
                      $ref: '#/components/schemas/TaskHistory'
      operationId: getTaskHistory
      x-ai-role: task_management_analyst
      x-ai-description: Retrieves a chronological audit trail of all state changes and events for a specific task within a bounded time window. This is not just a log — it is the source of truth for diagnosing automation failures, debugging trigger sequences, and auditing task execution history in CRM or workflow pipelines.
      x-ai-reasoning-instructions:
      - Ensure taskId refers to an existing task before querying; a missing task will return an empty or error response.
      - The fromDate and toDate range should be reasonable — overly broad ranges may return excessive data or hit pagination limits.
      - If the user is debugging a specific issue, narrow the date range to the suspected incident window for clarity.
      - Date-time values must be in the correct format (YYYY-MM-DD HH:MM:SS or ISO 8601); validate before submitting.
      x-ai-responding-instructions:
      - Summarize the number of history entries returned and the time range covered.
      - If the result is empty, suggest widening the date range or verifying that the taskId is correct.
      - Highlight any notable status transitions or anomalies in the history (e.g., repeated failures, unexpected state changes).
      - Suggest using this data for debugging task execution issues or auditing automation workflows.
      x-ai-suggestions:
      - Use a 24-hour window around a known incident to isolate the root cause.
      - Combine with task status endpoints to get current state alongside historical context.
      - Useful for compliance audits — export the history before deleting or archiving a task.
      x-ai-capabilities:
        confirmation:
          type: None
        security_info:
          data_handling:
          - ReadOnly
components:
  schemas:
    TaskHistory:
      type: object
      properties:
        id:
          type: integer
        taskId:
          type: integer
        eventTime:
          type: string
        eventType:
          type: string
        eventData:
          type: object
        userId:
          type: number
  securitySchemes:
    apiKey:
      type: http
      scheme: bearer
      bearerFormat: API Key
      description: 'Static API Key authentication.  A long-lived token generated manually in the SendPulse account settings.

        '
      x-ai-description: 'Permanent authentication token. Ideal for simple integrations without token refresh logic.

        '
    outh2:
      type: oauth2
      description: OAuth 2.0 Client Credentials flow for temporary access tokens.
      flows:
        clientCredentials:
          tokenUrl: https://api.sendpulse.com/oauth/access_token
          scopes: {}
      x-ai-description: 'Standard OAuth 2.0 flow using Client ID and Client Secret.  Provides temporary tokens (valid for 1 hour) for enhanced security.

        '