SendSeven GmbH Context Endpoints API
The Context Endpoints API from SendSeven GmbH — 4 operation(s) for context endpoints.
The Context Endpoints API from SendSeven GmbH — 4 operation(s) for context endpoints.
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/sendseven-com:sendseven-com-context-endpoints-api"
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.
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: 3.2.0
info:
title: SendSeven Context Endpoints API
description: Unified messaging API for WhatsApp, Telegram, SMS, and more
version: '20261124.1227'
servers:
- url: https://api.sendseven.com
description: Production
tags:
- name: Context Endpoints
paths:
/api/v1/context-endpoints:
get:
tags:
- Context Endpoints
summary: List Context Endpoints
description: 'List context endpoints (signing secrets are never included, only a 4-char hint)
**Required Scopes:** `settings:read`'
operationId: list_context_endpoints_api_v1_context_endpoints_get
security:
- HTTPBearer: []
parameters:
- name: page
in: query
required: false
schema:
type: integer
minimum: 1
default: 1
title: Page
- name: page_size
in: query
required: false
schema:
type: integer
maximum: 100
minimum: 1
default: 50
title: Page Size
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/ContextEndpointListResponse'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
post:
tags:
- Context Endpoints
summary: Create Context Endpoint
description: 'Create a context endpoint. The response contains the signing secret ONCE.
`timeout_ms` is clamped to 200-3000, `ttl_seconds` to 0-3600. The URL must
be https and must not point to a private network.
**Required Scopes:** `settings:update` (not available to OAuth apps)'
operationId: create_context_endpoint_api_v1_context_endpoints_post
security:
- HTTPBearer: []
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/ContextEndpointCreate'
responses:
'201':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/ContextEndpointWithSecretResponse'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/api/v1/context-endpoints/{endpoint_id}:
get:
tags:
- Context Endpoints
summary: Get Context Endpoint
description: 'Get one context endpoint (without its secret)
**Required Scopes:** `settings:read`'
operationId: get_context_endpoint_api_v1_context_endpoints__endpoint_id__get
security:
- HTTPBearer: []
parameters:
- name: endpoint_id
in: path
required: true
schema:
type: string
title: Endpoint Id
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/ContextEndpointResponse'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
patch:
tags:
- Context Endpoints
summary: Update Context Endpoint
description: 'Update a context endpoint (partial; `response_map: null` clears the map)
Changing `url` also requires `contacts:read`, is not available to OAuth
apps, and ROTATES the signing secret: the response then contains the new
`secret` (shown once). Without a URL change no `secret` is returned.
**Required Scopes:** `settings:update` (+ `contacts:read` when `url` changes)'
operationId: update_context_endpoint_api_v1_context_endpoints__endpoint_id__patch
security:
- HTTPBearer: []
parameters:
- name: endpoint_id
in: path
required: true
schema:
type: string
title: Endpoint Id
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/ContextEndpointUpdate'
responses:
'200':
description: Successful Response
content:
application/json:
schema:
anyOf:
- $ref: '#/components/schemas/ContextEndpointWithSecretResponse'
- $ref: '#/components/schemas/ContextEndpointResponse'
title: Response Update Context Endpoint Api V1 Context Endpoints Endpoint Id Patch
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
delete:
tags:
- Context Endpoints
summary: Delete Context Endpoint
description: 'Delete a context endpoint. Agents using it stop calling it immediately.
**Required Scopes:** `settings:update`'
operationId: delete_context_endpoint_api_v1_context_endpoints__endpoint_id__delete
security:
- HTTPBearer: []
parameters:
- name: endpoint_id
in: path
required: true
schema:
type: string
title: Endpoint Id
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/DeleteResponse'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/api/v1/context-endpoints/{endpoint_id}/rotate-secret:
post:
tags:
- Context Endpoints
summary: Rotate Context Endpoint Secret
description: 'Generate a new signing secret. The old secret stops working immediately.
**Required Scopes:** `settings:update` (not available to OAuth apps)'
operationId: rotate_context_endpoint_secret_api_v1_context_endpoints__endpoint_id__rotate_secret_post
security:
- HTTPBearer: []
parameters:
- name: endpoint_id
in: path
required: true
schema:
type: string
title: Endpoint Id
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/ContextEndpointWithSecretResponse'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/api/v1/context-endpoints/{endpoint_id}/test:
post:
tags:
- Context Endpoints
summary: Test Context Endpoint
description: 'Call the endpoint once (no cache) for a contact and return what the agent
would see after the response map, plus the request body that was sent.
Works on disabled endpoints too.
**Required Scopes:** `settings:update` + `contacts:read`'
operationId: test_context_endpoint_api_v1_context_endpoints__endpoint_id__test_post
security:
- HTTPBearer: []
parameters:
- name: endpoint_id
in: path
required: true
schema:
type: string
title: Endpoint Id
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/ContextEndpointTestRequest'
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/ContextEndpointTestResponse'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
components:
schemas:
PaginationMeta:
properties:
total:
type: integer
title: Total
description: Total number of items matching the query
page:
type: integer
minimum: 1.0
title: Page
description: Current page number (1-indexed)
page_size:
type: integer
minimum: 1.0
title: Page Size
description: Number of items per page
total_pages:
type: integer
title: Total Pages
description: Total number of pages
has_next:
type: boolean
title: Has Next
description: Whether there are more pages
has_prev:
type: boolean
title: Has Prev
description: Whether there are previous pages
next_cursor:
anyOf:
- type: string
- type: 'null'
title: Next Cursor
description: Cursor for next page (if using cursor pagination)
prev_cursor:
anyOf:
- type: string
- type: 'null'
title: Prev Cursor
description: Cursor for previous page
type: object
required:
- total
- page
- page_size
- total_pages
- has_next
- has_prev
title: PaginationMeta
description: 'Pagination metadata for list responses.
Supports both offset-based and page-based pagination.
Clients should use page/page_size for new implementations.'
ValidationError:
properties:
loc:
items:
anyOf:
- type: string
- type: integer
type: array
title: Location
msg:
type: string
title: Message
type:
type: string
title: Error Type
input:
title: Input
ctx:
type: object
title: Context
type: object
required:
- loc
- msg
- type
title: ValidationError
DeleteResponse:
properties:
success:
type: boolean
title: Success
description: Whether deletion succeeded
default: true
id:
type: string
title: Id
description: ID of deleted resource
message:
anyOf:
- type: string
- type: 'null'
title: Message
default: Resource deleted successfully
type: object
required:
- id
title: DeleteResponse
description: Response for resource deletion
ContextEndpointUpdate:
properties:
name:
anyOf:
- type: string
maxLength: 100
minLength: 1
- type: 'null'
title: Name
url:
anyOf:
- type: string
maxLength: 2048
minLength: 8
- type: 'null'
title: Url
timeout_ms:
anyOf:
- type: integer
- type: 'null'
title: Timeout Ms
ttl_seconds:
anyOf:
- type: integer
- type: 'null'
title: Ttl Seconds
response_map:
anyOf:
- additionalProperties: true
type: object
- type: 'null'
title: Response Map
is_enabled:
anyOf:
- type: boolean
- type: 'null'
title: Is Enabled
type: object
title: ContextEndpointUpdate
description: 'Partial update; omitted fields are kept. ``response_map: null`` clears it.
Changing ``url`` needs ``contacts:read`` too and rotates the signing secret
(the response then carries the new ``secret``).'
ContextEndpointWithSecretResponse:
properties:
id:
type: string
title: Id
name:
type: string
title: Name
url:
type: string
title: Url
timeout_ms:
type: integer
title: Timeout Ms
ttl_seconds:
type: integer
title: Ttl Seconds
response_map:
additionalProperties: true
type: object
title: Response Map
is_enabled:
type: boolean
title: Is Enabled
has_secret:
type: boolean
title: Has Secret
description: Whether a signing secret is stored and readable
secret_hint:
anyOf:
- type: string
- type: 'null'
title: Secret Hint
description: Last 4 characters of the signing secret
created_by:
anyOf:
- type: string
- type: 'null'
title: Created By
created_at:
anyOf:
- type: string
- type: 'null'
title: Created At
updated_at:
anyOf:
- type: string
- type: 'null'
title: Updated At
secret:
type: string
title: Secret
description: Signing secret (shown only once)
type: object
required:
- id
- name
- url
- timeout_ms
- ttl_seconds
- is_enabled
- has_secret
- secret
title: ContextEndpointWithSecretResponse
description: Create / rotate-secret / URL-changing update only. Store the secret on your server; it is not shown again.
HTTPValidationError:
properties:
detail:
items:
$ref: '#/components/schemas/ValidationError'
type: array
title: Detail
type: object
title: HTTPValidationError
ContextEndpointTestResponse:
properties:
ok:
type: boolean
title: Ok
error_code:
anyOf:
- type: string
- type: 'null'
title: Error Code
data:
additionalProperties: true
type: object
title: Data
description: Values after the response map (what the agent would see)
request_payload:
additionalProperties: true
type: object
title: Request Payload
description: The JSON body that was sent
type: object
required:
- ok
title: ContextEndpointTestResponse
ContextEndpointTestRequest:
properties:
contact_id:
type: string
maxLength: 36
minLength: 1
title: Contact Id
description: Contact whose identifiers are sent
type: object
required:
- contact_id
title: ContextEndpointTestRequest
ContextEndpointCreate:
properties:
name:
type: string
maxLength: 100
minLength: 1
title: Name
description: Display name
url:
type: string
maxLength: 2048
minLength: 8
title: Url
description: HTTPS URL that receives the signed POST
timeout_ms:
anyOf:
- type: integer
- type: 'null'
title: Timeout Ms
description: Request timeout in ms, clamped to 200..3000 (default 1500)
ttl_seconds:
anyOf:
- type: integer
- type: 'null'
title: Ttl Seconds
description: Cache lifetime per contact in seconds, clamped to 0..3600 (default 300, 0 = no cache)
response_map:
anyOf:
- additionalProperties: true
type: object
- type: 'null'
title: Response Map
description: 'Up to 30 entries `{"out_key": {"path": "a.b.c", "label": "Plan"}}`. Only mapped values reach the agent.'
is_enabled:
anyOf:
- type: boolean
- type: 'null'
title: Is Enabled
description: Disabled endpoints are never called
default: true
type: object
required:
- name
- url
title: ContextEndpointCreate
ContextEndpointListResponse:
properties:
items:
items:
$ref: '#/components/schemas/ContextEndpointResponse'
type: array
title: Items
pagination:
$ref: '#/components/schemas/PaginationMeta'
type: object
required:
- items
- pagination
title: ContextEndpointListResponse
ContextEndpointResponse:
properties:
id:
type: string
title: Id
name:
type: string
title: Name
url:
type: string
title: Url
timeout_ms:
type: integer
title: Timeout Ms
ttl_seconds:
type: integer
title: Ttl Seconds
response_map:
additionalProperties: true
type: object
title: Response Map
is_enabled:
type: boolean
title: Is Enabled
has_secret:
type: boolean
title: Has Secret
description: Whether a signing secret is stored and readable
secret_hint:
anyOf:
- type: string
- type: 'null'
title: Secret Hint
description: Last 4 characters of the signing secret
created_by:
anyOf:
- type: string
- type: 'null'
title: Created By
created_at:
anyOf:
- type: string
- type: 'null'
title: Created At
updated_at:
anyOf:
- type: string
- type: 'null'
title: Updated At
type: object
required:
- id
- name
- url
- timeout_ms
- ttl_seconds
- is_enabled
- has_secret
title: ContextEndpointResponse
securitySchemes:
HTTPBearer:
type: http
scheme: bearer