SendSeven GmbH Saved Interactive Messages API

Save and reuse interactive message templates (button menus, list menus) across conversations.

GitHub OpenAPI

Operations 8

GET /api/v1/saved-interactive-messages List Saved Interactive Messages #
POST /api/v1/saved-interactive-messages Create Saved Interactive Message #
GET /api/v1/saved-interactive-messages/categories List Categories #
GET /api/v1/saved-interactive-messages/by-shortcut/{shortcut} Get By Shortcut #
GET /api/v1/saved-interactive-messages/{message_id} Get Saved Interactive Message #
PUT /api/v1/saved-interactive-messages/{message_id} Update Saved Interactive Message #
DELETE /api/v1/saved-interactive-messages/{message_id} Delete Saved Interactive Message #
POST /api/v1/saved-interactive-messages/{message_id}/send Send Saved Interactive Message #

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/sendseven-com:sendseven-com-saved-interactive-messages-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

sendseven-com-saved-interactive-messages-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: SendSeven Saved Interactive Messages API
  description: Unified messaging API for WhatsApp, Telegram, SMS, and more
  version: '20261124.1227'
servers:
- url: https://api.sendseven.com
  description: Production
tags:
- name: Saved Interactive Messages
  description: Save and reuse interactive message templates (button menus, list menus) across conversations.
paths:
  /api/v1/saved-interactive-messages:
    get:
      tags:
      - Saved Interactive Messages
      summary: List Saved Interactive Messages
      description: 'List saved interactive messages visible to the current user.


        Returns the user''s own messages and all shared messages. Users with

        `canned_responses:settings` scope see all messages in the tenant.


        **Required Scopes:** `messages:create`'
      operationId: list_saved_interactive_messages_api_v1_saved_interactive_messages_get
      security:
      - HTTPBearer: []
      parameters:
      - name: page
        in: query
        required: false
        schema:
          type: integer
          minimum: 1
          description: Page number (1-indexed)
          default: 1
          title: Page
        description: Page number (1-indexed)
      - name: page_size
        in: query
        required: false
        schema:
          type: integer
          maximum: 100
          minimum: 1
          description: Items per page
          default: 20
          title: Page Size
        description: Items per page
      - name: type
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          description: 'Filter by type: ''buttons'' or ''list'''
          title: Type
        description: 'Filter by type: ''buttons'' or ''list'''
      - name: category
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          description: Filter by category
          title: Category
        description: Filter by category
      - name: search
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          description: Search in title, body, and shortcut
          title: Search
        description: Search in title, body, and shortcut
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SavedInteractiveMessageListResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    post:
      tags:
      - Saved Interactive Messages
      summary: Create Saved Interactive Message
      description: 'Create a new saved interactive message template.


        By default, messages are shared (visible to all team members). Set `is_shared=false`

        to make it personal. Only users with `canned_responses:settings` scope can create shared messages.


        ## Buttons Type

        - Maximum 3 reply buttons

        - Each button has an `id` (returned when clicked) and `title` (max 20 chars)


        ## List Type

        - Up to 10 sections with rows

        - Each row has `id`, `title` (max 24 chars), and optional `description`

        - Maximum 10 total rows across all sections


        **Required Scopes:** `messages:create`'
      operationId: create_saved_interactive_message_api_v1_saved_interactive_messages_post
      security:
      - HTTPBearer: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SavedInteractiveMessageCreate'
      responses:
        '201':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SavedInteractiveMessageResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/saved-interactive-messages/categories:
    get:
      tags:
      - Saved Interactive Messages
      summary: List Categories
      description: 'Get unique categories for saved interactive messages.


        Returns all categories from messages visible to the current user.


        **Required Scopes:** `messages:create`'
      operationId: list_categories_api_v1_saved_interactive_messages_categories_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/app__schemas__saved_interactive_message__CategoryListResponse'
      security:
      - HTTPBearer: []
  /api/v1/saved-interactive-messages/by-shortcut/{shortcut}:
    get:
      tags:
      - Saved Interactive Messages
      summary: Get By Shortcut
      description: 'Get a saved interactive message by its shortcut.


        Used for slash command lookups (e.g., /pricing). The shortcut is

        case-insensitive and the leading slash is optional.


        **Required Scopes:** `messages:create`'
      operationId: get_by_shortcut_api_v1_saved_interactive_messages_by_shortcut__shortcut__get
      security:
      - HTTPBearer: []
      parameters:
      - name: shortcut
        in: path
        required: true
        schema:
          type: string
          title: Shortcut
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SavedInteractiveMessageResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/saved-interactive-messages/{message_id}:
    get:
      tags:
      - Saved Interactive Messages
      summary: Get Saved Interactive Message
      description: 'Get a specific saved interactive message by ID.


        **Required Scopes:** `messages:create`'
      operationId: get_saved_interactive_message_api_v1_saved_interactive_messages__message_id__get
      security:
      - HTTPBearer: []
      parameters:
      - name: message_id
        in: path
        required: true
        schema:
          type: string
          title: Message Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SavedInteractiveMessageResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    put:
      tags:
      - Saved Interactive Messages
      summary: Update Saved Interactive Message
      description: 'Update a saved interactive message.


        Users can only update their own messages. Users with `canned_responses:settings`

        scope can update any message.


        **Required Scopes:** `messages:create`'
      operationId: update_saved_interactive_message_api_v1_saved_interactive_messages__message_id__put
      security:
      - HTTPBearer: []
      parameters:
      - name: message_id
        in: path
        required: true
        schema:
          type: string
          title: Message Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SavedInteractiveMessageUpdate'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SavedInteractiveMessageResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    delete:
      tags:
      - Saved Interactive Messages
      summary: Delete Saved Interactive Message
      description: 'Delete a saved interactive message.


        Users can only delete their own messages. Users with `canned_responses:settings`

        scope can delete any message.


        **Required Scopes:** `messages:create`'
      operationId: delete_saved_interactive_message_api_v1_saved_interactive_messages__message_id__delete
      security:
      - HTTPBearer: []
      parameters:
      - name: message_id
        in: path
        required: true
        schema:
          type: string
          title: Message Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SuccessResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/saved-interactive-messages/{message_id}/send:
    post:
      tags:
      - Saved Interactive Messages
      summary: Send Saved Interactive Message
      description: 'Send a saved interactive message to a contact.


        This endpoint retrieves the saved interactive message template and sends it

        to the specified contact via the specified WhatsApp channel.


        The saved message must be visible to the current user (either owned by them

        or shared).


        ## Example Request

        ```json

        {

        "channel_id": "uuid-of-whatsapp-channel",

        "contact_id": "uuid-of-recipient-contact",

        "meta": {

        "campaign": "q4-sales"

        }

        }

        ```


        **Required Scopes:** `messages:create`'
      operationId: send_saved_interactive_message_api_v1_saved_interactive_messages__message_id__send_post
      security:
      - HTTPBearer: []
      parameters:
      - name: message_id
        in: path
        required: true
        schema:
          type: string
          title: Message Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SendSavedInteractiveMessageRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SendSavedInteractiveMessageResponse'
        '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
    SavedInteractiveMessageCreate:
      properties:
        title:
          type: string
          maxLength: 255
          minLength: 1
          title: Title
          description: Display name for the template
        shortcut:
          anyOf:
          - type: string
            maxLength: 50
          - type: 'null'
          title: Shortcut
          description: Optional shortcut for slash commands (e.g., 'pricing'). Stored lowercase without leading slash.
        category:
          anyOf:
          - type: string
            maxLength: 100
          - type: 'null'
          title: Category
          description: Category for grouping (e.g., 'Sales', 'Support')
        interactive_type:
          type: string
          enum:
          - buttons
          - list
          title: Interactive Type
          description: 'Interactive message type: ''buttons'' or ''list'''
        body:
          type: string
          maxLength: 1024
          minLength: 1
          title: Body
          description: Main message body text (max 1024 chars)
        header_text:
          anyOf:
          - type: string
            maxLength: 60
          - type: 'null'
          title: Header Text
          description: Optional header text (max 60 chars). Used when header_type is 'text' or omitted.
        header_type:
          anyOf:
          - type: string
            enum:
            - text
            - image
            - video
            - document
          - type: 'null'
          title: Header Type
          description: 'Header type: ''text'', ''image'', ''video'', ''document'', or null (no header). For backward compatibility, if header_text is set but header_type is null, it is treated as ''text''.'
        header_media_url:
          anyOf:
          - type: string
            maxLength: 500
          - type: 'null'
          title: Header Media Url
          description: URL for image/video/document header media. Required when header_type is 'image', 'video' or 'document' (unless header_attachment_id is provided).
        header_attachment_id:
          anyOf:
          - type: string
            maxLength: 36
          - type: 'null'
          title: Header Attachment Id
          description: Attachment ID for uploaded media header. Alternative to header_media_url for image/video/document headers.
        footer_text:
          anyOf:
          - type: string
            maxLength: 60
          - type: 'null'
          title: Footer Text
          description: Optional footer text (max 60 chars)
        buttons:
          anyOf:
          - items:
              $ref: '#/components/schemas/InteractiveButton'
            type: array
            maxItems: 3
          - type: 'null'
          title: Buttons
          description: Buttons for type='buttons' (max 3)
        sections:
          anyOf:
          - items:
              $ref: '#/components/schemas/InteractiveListSection'
            type: array
            maxItems: 10
          - type: 'null'
          title: Sections
          description: Sections for type='list' (max 10)
        button_text:
          anyOf:
          - type: string
            maxLength: 20
          - type: 'null'
          title: Button Text
          description: Menu button text for list type (e.g., 'View Options')
        is_shared:
          type: boolean
          title: Is Shared
          description: If true, visible to all team members
          default: true
      type: object
      required:
      - title
      - interactive_type
      - body
      title: SavedInteractiveMessageCreate
      description: Schema for creating a new saved interactive message
    SavedInteractiveMessageUpdate:
      properties:
        title:
          anyOf:
          - type: string
            maxLength: 255
            minLength: 1
          - type: 'null'
          title: Title
          description: Display name for the template
        shortcut:
          anyOf:
          - type: string
            maxLength: 50
          - type: 'null'
          title: Shortcut
          description: Optional shortcut for slash commands
        category:
          anyOf:
          - type: string
            maxLength: 100
          - type: 'null'
          title: Category
          description: Category for grouping
        interactive_type:
          anyOf:
          - type: string
            enum:
            - buttons
            - list
          - type: 'null'
          title: Interactive Type
          description: Interactive message type
        body:
          anyOf:
          - type: string
            maxLength: 1024
            minLength: 1
          - type: 'null'
          title: Body
          description: Main message body text
        header_text:
          anyOf:
          - type: string
            maxLength: 60
          - type: 'null'
          title: Header Text
          description: Optional header text
        header_type:
          anyOf:
          - type: string
            enum:
            - text
            - image
            - video
            - document
          - type: 'null'
          title: Header Type
          description: 'Header type: ''text'', ''image'', ''video'', ''document'', or null'
        header_media_url:
          anyOf:
          - type: string
            maxLength: 500
          - type: 'null'
          title: Header Media Url
          description: URL for image/video/document header media
        header_attachment_id:
          anyOf:
          - type: string
            maxLength: 36
          - type: 'null'
          title: Header Attachment Id
          description: Attachment ID for uploaded media header
        footer_text:
          anyOf:
          - type: string
            maxLength: 60
          - type: 'null'
          title: Footer Text
          description: Optional footer text
        buttons:
          anyOf:
          - items:
              $ref: '#/components/schemas/InteractiveButton'
            type: array
            maxItems: 3
          - type: 'null'
          title: Buttons
          description: Buttons for type='buttons'
        sections:
          anyOf:
          - items:
              $ref: '#/components/schemas/InteractiveListSection'
            type: array
            maxItems: 10
          - type: 'null'
          title: Sections
          description: Sections for type='list'
        button_text:
          anyOf:
          - type: string
            maxLength: 20
          - type: 'null'
          title: Button Text
          description: Menu button text for list type
        is_shared:
          anyOf:
          - type: boolean
          - type: 'null'
          title: Is Shared
          description: If true, visible to all team members
      type: object
      title: SavedInteractiveMessageUpdate
      description: Schema for updating a saved interactive message. All fields are optional.
    SendSavedInteractiveMessageRequest:
      properties:
        channel_id:
          type: string
          title: Channel Id
          description: Channel UUID (must be a WhatsApp channel)
        contact_id:
          type: string
          title: Contact Id
          description: Contact UUID (the recipient)
        meta:
          anyOf:
          - additionalProperties: true
            type: object
          - type: 'null'
          title: Meta
          description: Custom metadata to attach to the message
      type: object
      required:
      - channel_id
      - contact_id
      title: SendSavedInteractiveMessageRequest
      description: Request schema for sending a saved interactive message to a contact
    SuccessResponse:
      properties:
        success:
          type: boolean
          title: Success
          description: Whether the operation succeeded
          default: true
        message:
          anyOf:
          - type: string
          - type: 'null'
          title: Message
          description: Optional success message
      type: object
      title: SuccessResponse
      description: 'Standard success response for operations without data return.


        Use for: DELETE operations, bulk updates, toggles, etc.'
      example:
        message: Resource deleted successfully
        success: true
    SavedInteractiveMessageListResponse:
      properties:
        items:
          items:
            $ref: '#/components/schemas/SavedInteractiveMessageResponse'
          type: array
          title: Items
        pagination:
          $ref: '#/components/schemas/PaginationMeta'
      type: object
      required:
      - items
      - pagination
      title: SavedInteractiveMessageListResponse
      description: Paginated list response for saved interactive messages
    InteractiveButton:
      properties:
        id:
          type: string
          maxLength: 256
          title: Id
          description: Unique button identifier (returned in reply)
        title:
          type: string
          maxLength: 20
          title: Title
          description: Button display text (max 20 chars)
      type: object
      required:
      - id
      - title
      title: InteractiveButton
      description: Button for interactive reply buttons message
    app__schemas__saved_interactive_message__CategoryListResponse:
      properties:
        categories:
          items:
            type: string
          type: array
          title: Categories
          description: List of unique category names
      type: object
      required:
      - categories
      title: CategoryListResponse
      description: Response for listing unique categories
    InteractiveListRow:
      properties:
        id:
          type: string
          maxLength: 200
          title: Id
          description: Unique row identifier (returned when selected)
        title:
          type: string
          maxLength: 24
          title: Title
          description: Row title (max 24 chars)
        description:
          anyOf:
          - type: string
            maxLength: 72
          - type: 'null'
          title: Description
          description: Row description (max 72 chars)
      type: object
      required:
      - id
      - title
      title: InteractiveListRow
      description: Row item within a list section
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    SendSavedInteractiveMessageResponse:
      properties:
        id:
          type: string
          title: Id
          description: Message UUID
        conversation_id:
          type: string
          title: Conversation Id
          description: Conversation UUID
        external_id:
          anyOf:
          - type: string
          - type: 'null'
          title: External Id
          description: WhatsApp message ID (wamid)
        status:
          type: string
          title: Status
          description: 'Message status: pending, sent, failed'
        platform:
          type: string
          title: Platform
          description: Platform (always whatsapp)
          default: whatsapp
        type:
          type: string
          title: Type
          description: 'Interactive type: buttons, list'
        saved_message_id:
          type: string
          title: Saved Message Id
          description: ID of the saved message that was sent
        error:
          anyOf:
          - type: string
          - type: 'null'
          title: Error
          description: Error message if status is 'failed'
      type: object
      required:
      - id
      - conversation_id
      - status
      - type
      - saved_message_id
      title: SendSavedInteractiveMessageResponse
      description: Response after sending a saved interactive message
    SavedInteractiveMessageResponse:
      properties:
        created_at:
          type: string
          title: Created At
          description: When the resource was created (UTC)
        updated_at:
          anyOf:
          - type: string
          - type: 'null'
          title: Updated At
          description: When the resource was last updated (UTC)
        id:
          type: string
          title: Id
          description: Unique identifier (UUID)
        tenant_id:
          type: string
          title: Tenant Id
          description: Tenant this resource belongs to
        title:
          type: string
          title: Title
        shortcut:
          anyOf:
          - type: string
          - type: 'null'
          title: Shortcut
        category:
          anyOf:
          - type: string
          - type: 'null'
          title: Category
        interactive_type:
          type: string
          title: Interactive Type
        body:
          type: string
          title: Body
        header_text:
          anyOf:
          - type: string
          - type: 'null'
          title: Header Text
        header_type:
          anyOf:
          - type: string
          - type: 'null'
          title: Header Type
        header_media_url:
          anyOf:
          - type: string
          - type: 'null'
          title: Header Media Url
        header_attachment_id:
          anyOf:
          - type: string
          - type: 'null'
          title: Header Attachment Id
        footer_text:
          anyOf:
          - type: string
          - type: 'null'
          title: Footer Text
        buttons:
          anyOf:
          - items:
              $ref: '#/components/schemas/InteractiveButton'
            type: array
          - type: 'null'
          title: Buttons
        sections:
          anyOf:
          - items:
              $ref: '#/components/schemas/InteractiveListSection'
            type: array
          - type: 'null'
          title: Sections
        button_text:
          anyOf:
          - type: string
          - type: 'null'
          title: Button Text
        is_shared:
          type: boolean
          title: Is Shared
        created_by_user_id:
          anyOf:
          - type: string
          - type: 'null'
          title: Created By User Id
      type: object
      required:
      - created_at
      - id
      - tenant_id
      - title
      - interactive_type
      - body
      - is_shared
      title: SavedInteractiveMessageResponse
      description: Response schema for a saved interactive message
    InteractiveListSection:
      properties:
        title:
          type: string
          maxLength: 24
          title: Title
          description: Section title
        rows:
          items:
            $ref: '#/components/schemas/InteractiveListRow'
          type: array
          maxItems: 10
          minItems: 1
          title: Rows
          description: Rows in this section (1-10)
      type: object
      required:
      - title
      - rows
      title: InteractiveListSection
      description: Section in a list menu
  securitySchemes:
    HTTPBearer:
      type: http
      scheme: bearer