Gleap ContactMemory API

The ContactMemory API from Gleap — 2 operation(s) for contactmemory.

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/gleap-contactmemory-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 email required.

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

OpenAPI Specification

gleap-contactmemory-api-openapi.yml Raw ↑
openapi: 3.0.0
info:
  title: Gleap AI content ContactMemory API
  version: 14.0.0
  contact:
    name: Gleap Support
    email: hello@gleap.io
    url: https://gleap.io
  description: The Gleap REST API provides programmatic access to feedback tickets, user identification, event tracking, help center content, outbound messaging, sessions, contacts, and AI-powered support workflows. The API uses Bearer token authentication and supports filtering, pagination, and webhook integrations.
  license:
    name: Proprietary
servers:
- url: https://api.gleap.io/v3
tags:
- name: ContactMemory
paths:
  /sessions/{sessionId}/memory:
    get:
      operationId: ListEntries
      responses:
        '200':
          description: Ok
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ContactMemoryListItem'
                type: array
      description: List memory entries (no content) for a contact session.
      summary: List contact memory entries
      tags:
      - ContactMemory
      security:
      - jwt: []
      parameters:
      - in: path
        name: sessionId
        required: true
        schema:
          type: string
      - in: header
        name: project
        required: true
        schema:
          type: string
    post:
      operationId: CreateEntry
      responses:
        '200':
          description: Ok
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ContactMemoryWriteResult'
      description: Create or upsert a memory entry by name.
      summary: Create or update a contact memory entry
      tags:
      - ContactMemory
      security:
      - jwt: []
      parameters:
      - in: path
        name: sessionId
        required: true
        schema:
          type: string
      - in: header
        name: project
        required: true
        schema:
          type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ContactMemoryEntryBody'
    delete:
      operationId: ClearAll
      responses:
        '200':
          description: Ok
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ContactMemoryWriteResult'
      description: Clear all memory entries for a contact.
      summary: Clear all contact memory entries
      tags:
      - ContactMemory
      security:
      - jwt: []
      parameters:
      - in: path
        name: sessionId
        required: true
        schema:
          type: string
      - in: header
        name: project
        required: true
        schema:
          type: string
  /sessions/{sessionId}/memory/{entryName}:
    get:
      operationId: GetEntry
      responses:
        '200':
          description: Ok
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ContactMemoryEntry'
      description: Get the full content of a single memory entry.
      summary: Get one contact memory entry
      tags:
      - ContactMemory
      security:
      - jwt: []
      parameters:
      - in: path
        name: sessionId
        required: true
        schema:
          type: string
      - in: path
        name: entryName
        required: true
        schema:
          type: string
      - in: header
        name: project
        required: true
        schema:
          type: string
    put:
      operationId: UpdateEntry
      responses:
        '200':
          description: Ok
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ContactMemoryWriteResult'
      description: Update an existing memory entry by name.
      summary: Update a contact memory entry
      tags:
      - ContactMemory
      security:
      - jwt: []
      parameters:
      - in: path
        name: sessionId
        required: true
        schema:
          type: string
      - in: path
        name: entryName
        required: true
        schema:
          type: string
      - in: header
        name: project
        required: true
        schema:
          type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ContactMemoryUpdateBody'
    delete:
      operationId: DeleteEntry
      responses:
        '200':
          description: Ok
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ContactMemoryWriteResult'
      description: Delete one memory entry by name.
      summary: Delete a contact memory entry
      tags:
      - ContactMemory
      security:
      - jwt: []
      parameters:
      - in: path
        name: sessionId
        required: true
        schema:
          type: string
      - in: path
        name: entryName
        required: true
        schema:
          type: string
      - in: header
        name: project
        required: true
        schema:
          type: string
components:
  schemas:
    ContactMemoryListItem:
      properties:
        name:
          type: string
        description:
          type: string
        actor:
          $ref: '#/components/schemas/ContactMemoryActor'
        actorUserId:
          type: string
        updatedAt:
          type: string
          format: date-time
      required:
      - name
      - description
      - actor
      - updatedAt
      type: object
      additionalProperties: false
    ContactMemoryWriteResult:
      properties:
        ok:
          type: boolean
        reason:
          type: string
          enum:
          - disabled
          - no_userId
          - invalid_input
          - session_not_found
        consolidationEnqueued:
          type: boolean
        entries:
          type: number
          format: double
      required:
      - ok
      type: object
      additionalProperties: false
    ContactMemoryActor:
      type: string
      enum:
      - bot
      - draft_reply
      - copilot
      - admin
      - consolidation
      - unknown
    ContactMemoryEntryBody:
      properties:
        name:
          type: string
        description:
          type: string
        content:
          type: string
      required:
      - name
      - content
      type: object
      additionalProperties: false
    ContactMemoryUpdateBody:
      properties:
        description:
          type: string
        content:
          type: string
      required:
      - content
      type: object
      additionalProperties: false
    ContactMemoryEntry:
      properties:
        name:
          type: string
        description:
          type: string
        content:
          type: string
        actor:
          $ref: '#/components/schemas/ContactMemoryActor'
        actorUserId:
          type: string
        createdAt:
          type: string
          format: date-time
        updatedAt:
          type: string
          format: date-time
      required:
      - name
      - description
      - content
      - actor
      - createdAt
      - updatedAt
      type: object
      additionalProperties: false
  securitySchemes:
    jwt:
      type: http
      scheme: bearer
      bearerFormat: JWT