Ruzora Nps API

The nps API from Ruzora — 5 operation(s) for nps.

GitHub OpenAPI

Operations 5

POST /api/nps/response Record Nps Response #
GET /api/nps/stats Get Nps Stats #
GET /api/nps/placements/{placement_id} Get Placement Nps History #
POST /api/nps/webhooks/tally Tally Webhook #

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/ruzora-com:ruzora-com-nps-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

ruzora-com-nps-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Ruzora Candidate CRM Nps API
  description: Candidate pipeline, sourcing, and LinkedIn automation
  version: 1.0.0
tags:
- name: nps
paths:
  /api/nps/response:
    post:
      tags:
      - nps
      summary: Record Nps Response
      description: 'Record NPS survey response and trigger automated actions.


        **Public endpoint** - No authentication required (survey responses come

        from the /nps/[placement_id] page linked in survey emails).


        **Actions by Score:**

        - **9-10 (Promoter):** Slack celebration + referral-request task (+24h)

        - **7-8 (Passive):** Slack note + follow-up task (+3 days)

        - **0-6 (Detractor):** URGENT Slack alert + founder-call-today task


        Rewritten for Neon (R2 Wave 1, Epic 1.4a) — the previous version wrote

        Airtable-era field names ("NPS_Score", "Client") that NeonService''s

        strict column allow-lists silently dropped, so no response was ever

        actually saved.


        `is_smoke=true` = prod-smoke dry-run: validates the placement, returns

        the category, writes nothing, pings nobody.'
      operationId: record_nps_response_api_nps_response_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/NPSResponseCreate'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/NPSResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/nps/stats:
    get:
      tags:
      - nps
      summary: Get Nps Stats
      description: 'Get overall NPS statistics


        **Query Parameters:**

        - `days`: Number of days to analyze (default: 90)


        **Returns:**

        - Overall NPS score (-100 to 100)

        - Promoter/Passive/Detractor counts and percentages

        - Response rate

        - Average score


        **Example:**

        ```

        GET /api/nps/stats?days=30

        ```'
      operationId: get_nps_stats_api_nps_stats_get
      security:
      - HTTPBearer: []
      parameters:
      - name: days
        in: query
        required: false
        schema:
          type: integer
          default: 90
          title: Days
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/NPSStats'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/nps/placements/{placement_id}:
    get:
      tags:
      - nps
      summary: Get Placement Nps History
      description: 'Get complete NPS history for a placement


        Shows all NPS scores (30-day, 90-day, 180-day) and trend


        **Example:**

        ```

        GET /api/nps/placements/recPlacement123

        ```'
      operationId: get_placement_nps_history_api_nps_placements__placement_id__get
      security:
      - HTTPBearer: []
      parameters:
      - name: placement_id
        in: path
        required: true
        schema:
          type: string
          title: Placement Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PlacementNPSHistory'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/nps/trends:
    get:
      tags:
      - nps
      summary: Get Nps Trends
      description: 'Get NPS trends over time (monthly)


        **Query Parameters:**

        - `months`: Number of months to return (default: 6)


        **Returns:** Array of monthly NPS scores


        **Example:**

        ```

        GET /api/nps/trends?months=12

        ```'
      operationId: get_nps_trends_api_nps_trends_get
      security:
      - HTTPBearer: []
      parameters:
      - name: months
        in: query
        required: false
        schema:
          type: integer
          default: 6
          title: Months
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/NPSTrendData'
                title: Response Get Nps Trends Api Nps Trends Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/nps/webhooks/tally:
    post:
      tags:
      - nps
      summary: Tally Webhook
      description: 'Tally.so webhook handler (FREE survey platform)


        Receives NPS survey responses from Tally.so and processes them


        **Tally.so Webhook Setup:**

        ```

        Tally Settings → Integrations → Webhooks

        URL: https://api.ruzora.com/api/nps/webhooks/tally

        Method: POST

        Trigger: On form submission

        ```


        **Payload Example:**

        ```json

        {

        "eventType": "FORM_RESPONSE",

        "eventId": "xyz123",

        "createdAt": "2026-02-20T14:30:00Z",

        "data": {

        "responseId": "abc456",

        "submissionId": "def789",

        "formId": "YOUR_FORM_ID",

        "formName": "30-Day NPS Survey",

        "fields": [

        {

        "key": "question_1",

        "label": "On a scale of 0-10...",

        "type": "NUMBER",

        "value": 9

        },

        {

        "key": "question_2",

        "label": "What do you love most?",

        "type": "TEXTAREA",

        "value": "Juan is amazing!"

        },

        {

        "key": "placement_id",

        "type": "HIDDEN_FIELDS",

        "value": "recPlacement123"

        },

        {

        "key": "survey_type",

        "type": "HIDDEN_FIELDS",

        "value": "30_day"

        },

        {

        "key": "client_email",

        "type": "HIDDEN_FIELDS",

        "value": "sarah@acme.com"

        }

        ]

        }

        }

        ```'
      operationId: tally_webhook_api_nps_webhooks_tally_post
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
components:
  schemas:
    NPSResponse:
      properties:
        placement_id:
          type: string
          title: Placement Id
        score:
          type: integer
          title: Score
        category:
          type: string
          enum:
          - Promoter
          - Passive
          - Detractor
          title: Category
        comment:
          anyOf:
          - type: string
          - type: 'null'
          title: Comment
        survey_type:
          type: string
          title: Survey Type
        response_date:
          type: string
          format: date-time
          title: Response Date
        actions_triggered:
          items:
            type: string
          type: array
          title: Actions Triggered
          description: Actions taken based on score
      type: object
      required:
      - placement_id
      - score
      - category
      - survey_type
      - response_date
      title: NPSResponse
      description: NPS response with calculated category
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
            - type: string
            - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
      type: object
      required:
      - loc
      - msg
      - type
      title: ValidationError
    NPSResponseCreate:
      properties:
        placement_id:
          type: string
          title: Placement Id
          description: Placement ID
        score:
          type: integer
          maximum: 10.0
          minimum: 0.0
          title: Score
          description: NPS score from 0-10
        comment:
          anyOf:
          - type: string
          - type: 'null'
          title: Comment
          description: Optional feedback comment
        survey_type:
          type: string
          enum:
          - 30_day
          - 90_day
          - 180_day
          - annual
          title: Survey Type
          description: Which milestone survey this is
        respondent_email:
          anyOf:
          - type: string
          - type: 'null'
          title: Respondent Email
          description: Email of person responding
        is_smoke:
          type: boolean
          title: Is Smoke
          description: 'Prod-smoke dry-run: validates the placement and returns the category, but writes nothing and pings nobody. Keeps synthetic responses out of real NPS stats.'
          default: false
      type: object
      required:
      - placement_id
      - score
      - survey_type
      title: NPSResponseCreate
      description: NPS survey response submission
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    NPSStats:
      properties:
        overall_nps:
          type: number
          title: Overall Nps
          description: NPS score (-100 to 100)
        total_responses:
          type: integer
          title: Total Responses
        promoters:
          type: integer
          title: Promoters
          description: Count of 9-10 scores
        passives:
          type: integer
          title: Passives
          description: Count of 7-8 scores
        detractors:
          type: integer
          title: Detractors
          description: Count of 0-6 scores
        promoter_percentage:
          type: number
          title: Promoter Percentage
        passive_percentage:
          type: number
          title: Passive Percentage
        detractor_percentage:
          type: number
          title: Detractor Percentage
        response_rate:
          anyOf:
          - type: number
          - type: 'null'
          title: Response Rate
          description: '% of surveys sent that got responses'
        average_score:
          type: number
          title: Average Score
      type: object
      required:
      - overall_nps
      - total_responses
      - promoters
      - passives
      - detractors
      - promoter_percentage
      - passive_percentage
      - detractor_percentage
      - average_score
      title: NPSStats
      description: NPS statistics and analytics
    PlacementNPSHistory:
      properties:
        placement_id:
          type: string
          title: Placement Id
        client_name:
          type: string
          title: Client Name
        engineer_name:
          type: string
          title: Engineer Name
        start_date:
          type: string
          title: Start Date
        current_nps:
          anyOf:
          - type: integer
          - type: 'null'
          title: Current Nps
        nps_30_day:
          anyOf:
          - type: integer
          - type: 'null'
          title: Nps 30 Day
        nps_30_day_date:
          anyOf:
          - type: string
            format: date-time
          - type: 'null'
          title: Nps 30 Day Date
        nps_30_day_comment:
          anyOf:
          - type: string
          - type: 'null'
          title: Nps 30 Day Comment
        nps_90_day:
          anyOf:
          - type: integer
          - type: 'null'
          title: Nps 90 Day
        nps_90_day_date:
          anyOf:
          - type: string
            format: date-time
          - type: 'null'
          title: Nps 90 Day Date
        nps_90_day_comment:
          anyOf:
          - type: string
          - type: 'null'
          title: Nps 90 Day Comment
        nps_180_day:
          anyOf:
          - type: integer
          - type: 'null'
          title: Nps 180 Day
        nps_180_day_date:
          anyOf:
          - type: string
            format: date-time
          - type: 'null'
          title: Nps 180 Day Date
        nps_180_day_comment:
          anyOf:
          - type: string
          - type: 'null'
          title: Nps 180 Day Comment
        trend:
          type: string
          enum:
          - improving
          - stable
          - declining
          - unknown
          title: Trend
          default: unknown
      type: object
      required:
      - placement_id
      - client_name
      - engineer_name
      - start_date
      title: PlacementNPSHistory
      description: Complete NPS history for a placement
    NPSTrendData:
      properties:
        month:
          type: string
          title: Month
        nps_score:
          type: number
          title: Nps Score
        response_count:
          type: integer
          title: Response Count
        promoters:
          type: integer
          title: Promoters
        passives:
          type: integer
          title: Passives
        detractors:
          type: integer
          title: Detractors
      type: object
      required:
      - month
      - nps_score
      - response_count
      - promoters
      - passives
      - detractors
      title: NPSTrendData
      description: NPS trend over time
  securitySchemes:
    HTTPBearer:
      type: http
      scheme: bearer