Narmi Surveys API

The surveys API from Narmi — 3 operation(s) for surveys.

GitHub OpenAPI
Business capability
Customer Feedback Management BC-430.50

Operations 4

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /v1/survey_impressions/ List survey impressions · Survey impressions list #
Ask an LLM
“How do I see every impression recorded for a survey?”
“Can I page through survey impressions by UUID?”
Tell an agent
List impressions for survey {uuid}.
Show all survey impressions of {uuid}.
POST /v1/survey_impressions/ Record a survey impression · Survey impressions create #
Ask an LLM
“How do I log that a member viewed a survey?”
“Can I record a survey impression from a mobile app?”
Tell an agent
Record an impression for survey {survey}.
Log that someone viewed survey {survey}.
POST /v1/survey_impressions/create_answer/ Answer a survey question · Survey impressions create answer create #
Ask an LLM
“How do I record a member's answer to a survey question?”
“Can I save a single answer to a survey question by its UUID?”
Tell an agent
Answer question {question_uuid} on impression {impression_uuid} with {value}.
Save answer {value} to question {question_uuid} for impression {impression_uuid}.
GET /v1/surveys/ Get the survey a member should see · Get current survey #
Ask an LLM
“Which survey should the logged-in member see right now?”
“Why is no survey showing up for a member?”
Tell an agent
Get the current survey for the authenticated user.
Show the survey the member should answer now.

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/narmi:narmi-surveys-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

narmi-surveys-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Narmi Public Surveys API
  version: v1
  description: To read about Public API access and authentication, go to API Overview.
  termsOfService: https://www.narmi.com/policies/developer-terms-conditions
  contact:
    name: Narmi Support
    email: support@narmi.com
servers:
- url: https://api.sandbox.narmi.dev/
  description: ''
tags:
- name: Surveys
paths:
  /v1/survey_impressions/:
    get:
      operationId: survey_impressions_list
      parameters:
      - name: page
        required: false
        in: query
        description: A page number within the paginated result set.
        schema:
          type: integer
      - in: query
        name: uuid
        schema:
          type: string
          format: uuid
        description: UUID of the survey being viewed
        required: true
      tags:
      - Surveys
      security:
      - oauth2:
        - read
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PaginatedImpressionList'
          description: ''
      description: 'All monetary values are represented in minor units, or the smallest unit of the currency with no decimal (e.g., cents). For example, $10.00 is represented as 1000.


        How can we improve these docs? Share your feedback.'
      x-stoplight:
        id: gkvrdleasvut0
      summary: Survey impressions list
      x-summary-source: derived
    post:
      operationId: survey_impressions_create
      tags:
      - Surveys
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ImpressionRequest'
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/ImpressionRequest'
          multipart/form-data:
            schema:
              $ref: '#/components/schemas/ImpressionRequest'
        required: true
      security:
      - oauth2:
        - write
      responses:
        '201':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Impression'
          description: ''
      description: 'All monetary values are represented in minor units, or the smallest unit of the currency with no decimal (e.g., cents). For example, $10.00 is represented as 1000.


        How can we improve these docs? Share your feedback.'
      x-stoplight:
        id: bdwhxl8zfcuta
      summary: Survey impressions create
      x-summary-source: derived
  /v1/survey_impressions/create_answer/:
    post:
      operationId: survey_impressions_create_answer_create
      tags:
      - Surveys
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateAnswerRequest'
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/CreateAnswerRequest'
          multipart/form-data:
            schema:
              $ref: '#/components/schemas/CreateAnswerRequest'
        required: true
      security:
      - oauth2:
        - write
      responses:
        '200':
          description: No response body
      description: 'All monetary values are represented in minor units, or the smallest unit of the currency with no decimal (e.g., cents). For example, $10.00 is represented as 1000.


        How can we improve these docs? Share your feedback.'
      x-stoplight:
        id: qllxmevdp3mh2
      summary: Survey impressions create answer create
      x-summary-source: derived
  /v1/surveys/:
    get:
      operationId: surveys_retrieve
      description: 'Returns the current survey that should be displayed to the authenticated user. Only one survey is shown at a time, prioritized by creation date (newest first).


        Surveys are filtered based on:

        - User''s response history and survey frequency settings (once, monthly, quarterly, yearly)

        - Survey status (active, not archived, not draft)

        - Survey date range (starts_at and ends_at)

        - Product type (banking vs command/staff)


        Returns empty JSON `{}` if no survey should be shown to the user.


        All monetary values are represented in minor units, or the smallest unit of the currency with no decimal (e.g., cents). For example, $10.00 is represented as 1000.


        How can we improve these docs? Share your feedback.'
      summary: Get current survey
      tags:
      - Surveys
      security:
      - oauth2:
        - read
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Survey'
              examples:
                SurveyWithNPSQuestion:
                  value:
                    uuid: a1b2c3d4-5678-90ab-cdef-1234567890ab
                    name: Customer Satisfaction Survey
                    questions:
                    - uuid: b2c3d4e5-6789-01bc-def1-234567890abc
                      text: How likely are you to recommend us?
                      is_required: true
                      answer_type: npsscore
                      answer_choices:
                        uuid: c3d4e5f6-7890-12cd-ef12-34567890abcd
                        choices:
                        - 1
                        - 2
                        - 3
                        - 4
                        - 5
                        - 6
                        - 7
                        - 8
                        - 9
                        - 10
                    - uuid: d4e5f6a7-8901-23de-f123-4567890abcde
                      text: Any additional comments?
                      is_required: false
                      answer_type: freeformtext
                      answer_choices: null
                  summary: Survey with NPS question
                NoSurveyAvailable:
                  value: {}
                  summary: No survey available
                  description: Returned when no survey should be shown to the user
          description: Successfully retrieved the current survey or empty object if no survey is available
      x-stoplight:
        id: nviadxk2jj3d0
components:
  schemas:
    Impression:
      type: object
      description: 'Serializer for creating survey impressions.

        Records that a user viewed a survey.'
      properties:
        uuid:
          type: string
          format: uuid
          readOnly: true
          description: Unique identifier for the impression
        survey:
          type: string
          format: uuid
          description: UUID of the survey that was viewed
        viewed_at:
          type: string
          format: date-time
          readOnly: true
          description: Timestamp when the survey was viewed by the user
      required:
      - survey
      x-stoplight:
        id: tph0rpzmae7zm
    Survey:
      type: object
      description: 'Serializer for surveys with nested questions.


        Questions can be pre-sorted and passed via context[''questions''].'
      properties:
        uuid:
          type: string
          format: uuid
          description: Unique identifier for the survey
        name:
          type: string
          description: Name of the survey
        questions:
          description: List of questions in the survey, ordered by priority (highest first)
          readOnly: true
      required:
      - name
      - uuid
      x-stoplight:
        id: 8wwz1p5y7iqn4
    CreateAnswerRequest:
      type: object
      properties:
        impression_uuid:
          type: string
          format: uuid
          writeOnly: true
        question_uuid:
          type: string
          format: uuid
          writeOnly: true
        value:
          writeOnly: true
      required:
      - impression_uuid
      - question_uuid
      - value
      x-stoplight:
        id: vxbunjwb2qgfd
    ImpressionRequest:
      type: object
      description: 'Serializer for creating survey impressions.

        Records that a user viewed a survey.'
      properties:
        survey:
          type: string
          format: uuid
          description: UUID of the survey that was viewed
      required:
      - survey
      x-stoplight:
        id: aaui1avehvk19
    PaginatedImpressionList:
      type: object
      required:
      - count
      - results
      properties:
        count:
          type: integer
          example: 123
        next:
          type:
          - string
          - 'null'
          format: uri
          example: http://api.example.org/accounts/?page=4
        previous:
          type:
          - string
          - 'null'
          format: uri
          example: http://api.example.org/accounts/?page=2
        results:
          type: array
          items:
            $ref: '#/components/schemas/Impression'
      x-stoplight:
        id: atdsmymzgw1ww
  securitySchemes:
    oauth2:
      type: oauth2
      flows:
        authorizationCode:
          authorizationUrl: /v2/oauth/authorize/
          tokenUrl: /v2/oauth/token/
          scopes:
            banking:accounts:read: Can read account information.
            banking:transactions:read: Can read transaction information.
            banking:scheduled_transfers:read: Can read scheduled transfer information.
            banking:scheduled_transfers:write: Can create and update scheduled transfers.
            banking:accounts:write: Can update account information.
            banking:transactions:write: Can update transaction information.
            banking:users:read: Can read user profile information.
            banking:products:read: Can read product information.
            banking:documents:read: Can read user statements and documents.
x-stoplight:
  id: 68n444msv6n7x