SAGARIS Activities API

Log manual activities on a contact.

GitHub OpenAPI

Operations 1

POST /contacts/{id}/activities Log an activity on a contact #

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/sagaris:sagaris-activities-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

sagaris-activities-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: SAGARIS Public Activities API
  version: 1.0.0
  description: 'Versioned public REST API (/api/v1). Authenticate with a workspace-scoped API key as a Bearer token (Authorization: Bearer ros_live_...). The workspace is resolved from the key; no client-supplied workspace id is ever trusted. Writes are rate-limited per key, and the writes that declare an Idempotency-Key header honour it. This document is served unauthenticated as developer documentation.'
  termsOfService: https://www.sagaris.ai/terms
  contact:
    name: SAGARIS Support
    url: https://www.sagaris.ai/contact
    email: support@sagaris.ai
servers:
- url: https://www.sagaris.ai/api/v1
  description: Versioned public API surface.
security:
- ApiKeyAuth: []
tags:
- name: Activities
  description: Log manual activities on a contact.
paths:
  /contacts/{id}/activities:
    post:
      tags:
      - Activities
      summary: Log an activity on a contact
      description: Log a manual activity or note on a workspace-owned contact. Only hand-loggable activity types are accepted; the row is stamped metadata.source=public_api. Outbound types advance the contact's last_contacted_at. Requires the activities.write scope.
      operationId: logContactActivity
      security:
      - ApiKeyAuth:
        - activities.write
      parameters:
      - name: id
        in: path
        required: true
        description: The contact id, which must belong to the key's workspace.
        schema:
          type: string
          format: uuid
      - name: Idempotency-Key
        in: header
        required: false
        description: Opaque client-supplied key. A retry with the same key replays the original response instead of writing again.
        schema:
          type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - type
              properties:
                type:
                  type: string
                  description: A hand-loggable activity type.
                  enum:
                  - note_added
                  - call_made
                  - call_received
                  - voicemail_left
                  - meeting_booked
                  - meeting_completed
                  - sms_sent
                  - linkedin_message
                subject:
                  type: string
                  description: Required for every type except note_added (where it defaults to "Note").
                body:
                  type: string
                  description: Required when type is note_added; optional otherwise.
                metadata:
                  type: object
                  additionalProperties: true
                  description: Optional caller metadata; source and api_key_id are stamped by the server.
      responses:
        '201':
          description: The created activity.
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    $ref: '#/components/schemas/Activity'
                  error:
                    type: 'null'
                required:
                - data
                - error
        '400':
          description: Invalid JSON body or field validation failure.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: Missing, malformed, invalid, revoked, or expired API key.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: The key does not hold the required scope for this operation.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: The referenced resource was not found in the key's workspace.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '429':
          description: Per-key write rate limit exceeded (60 requests / 60s).
          headers:
            Retry-After:
              description: Seconds to wait before retrying.
              schema:
                type: integer
                minimum: 1
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '500':
          description: Lookup, insert, or last-contacted update failure.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '503':
          description: The database / API-keys table is not provisioned.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
components:
  schemas:
    Error:
      type: object
      description: The standard v1 error envelope.
      properties:
        data:
          type: 'null'
        error:
          type: string
          description: Human-readable error message.
        code:
          type: string
          description: Machine-readable error code (e.g. validation_failed, rate_limited).
        correlationId:
          type: string
          description: Present on unexpected 500s for support correlation.
      required:
      - data
      - error
    Activity:
      type: object
      properties:
        id:
          type: string
        contact_id:
          type: string
        workspace_id:
          type: string
        type:
          type: string
        subject:
          type: string
          nullable: true
        body:
          type: string
          nullable: true
        metadata:
          type: object
          additionalProperties: true
        created_at:
          type: string
          format: date-time
  securitySchemes:
    ApiKeyAuth:
      type: http
      scheme: bearer
      description: 'Workspace-scoped API key presented as a Bearer token (Authorization: Bearer ros_live_...). The workspace is resolved from the key.'