Gleap ContactMemory API
The ContactMemory API from Gleap — 2 operation(s) for contactmemory.
The ContactMemory API from Gleap — 2 operation(s) for contactmemory.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
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.curl "https://apis.io/api/v1/apis/gleap-contactmemory-api"
curl "https://apis.io/api/v1/apis?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
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: 3.2.0
info:
title: Gleap AI content Contact Memory 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
ContactMemoryActor:
type: string
enum:
- bot
- draft_reply
- copilot
- admin
- consolidation
- unknown
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
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
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
securitySchemes:
jwt:
type: http
scheme: bearer
bearerFormat: JWT