Nusii Api::V2::Client API

The Api::V2::Client API from Nusii — 2 operation(s) for api::v2::client.

GitHub OpenAPI

Operations 5

GET /api/v2/clients index #
POST /api/v2/clients create #
DELETE /api/v2/clients/{id} destroy #
GET /api/v2/clients/{id} show #
PUT /api/v2/clients/{id} update #

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/nusii-com:nusii-com-api-v2-client-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

nusii-com-api-v2-client-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Nusii API v2 Api::V2::Client API
  version: '2.0'
  description: 'The Nusii proposal API. Authenticate with an API key (`Authorization: Token token=YOUR_API_KEY`) or an OAuth 2.0 bearer token. Narrative documentation lives at https://developer.nusii.com.'
servers:
- url: https://app.nusii.com
security:
- TokenAuth: []
- OAuthBearer: []
tags:
- name: Api::V2::Client
paths:
  /api/v2/clients:
    get:
      summary: index
      tags:
      - Api::V2::Client
      parameters:
      - name: email
        in: query
        required: false
        schema:
          type: string
      - name: emails
        in: query
        required: false
        schema:
          type: string
      - name: query
        in: query
        required: false
        schema:
          type: string
      - name: query[nested]
        in: query
        required: false
        schema:
          type: string
      responses:
        '200':
          description: still serves active, inactive and suspicious accounts
          content:
            application/vnd.api+json:
              schema:
                type: object
                properties:
                  data:
                    type: array
                    items:
                      type: object
                      properties:
                        id:
                          type: string
                        type:
                          type: string
                        attributes:
                          type: object
                          properties:
                            email:
                              type: string
                            name:
                              type: string
                            surname:
                              type: string
                            full_name:
                              type: string
                            business:
                              type: string
                            web:
                              type: 'null'
                            currency:
                              type: string
                            locale:
                              type: string
                            time_zone:
                              type: 'null'
                            pdf_page_size:
                              type: string
                            notes:
                              type: 'null'
                            client_role:
                              type: 'null'
                            telephone:
                              type: 'null'
                            address:
                              type: 'null'
                            city:
                              type: 'null'
                            postcode:
                              type: 'null'
                            country:
                              type: 'null'
                            state:
                              type: 'null'
                            created_at:
                              type: string
                          required:
                          - email
                          - name
                          - surname
                          - full_name
                          - business
                          - web
                          - currency
                          - locale
                          - time_zone
                          - pdf_page_size
                          - notes
                          - client_role
                          - telephone
                          - address
                          - city
                          - postcode
                          - country
                          - state
                          - created_at
                      required:
                      - id
                      - type
                      - attributes
                  links:
                    type: object
                    properties:
                      self:
                        type: string
                      first:
                        type: string
                      prev:
                        type: 'null'
                      next:
                        type: 'null'
                      last:
                        type: string
                    required:
                    - self
                    - first
                    - prev
                    - next
                    - last
                  meta:
                    type: object
                    properties:
                      current_page:
                        type: integer
                      next_page:
                        type: 'null'
                      prev_page:
                        type: 'null'
                      total_pages:
                        type: integer
                      total_count:
                        type: integer
                    required:
                    - current_page
                    - next_page
                    - prev_page
                    - total_pages
                    - total_count
                required:
                - data
                - links
                - meta
        '400':
          description: returns bad request for a non-string filter
          content:
            application/vnd.api+json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                required:
                - error
        '403':
          description: still rejects a session without an Authorization header
          content:
            application/vnd.api+json:
              schema:
                type: object
                properties:
                  message:
                    type: string
                required:
                - message
      operationId: getApiV2Clients
      x-operation-id-source: derived
    post:
      summary: create
      tags:
      - Api::V2::Client
      requestBody:
        content:
          application/x-www-form-urlencoded:
            schema:
              type: object
              properties:
                client:
                  type: object
                  properties:
                    name:
                      type: string
                    email:
                      type: string
                    web:
                      type: string
                  required:
                  - name
                  - email
              required:
              - client
      responses:
        '201':
          description: allows POST requests
          content:
            application/vnd.api+json:
              schema:
                type: object
                properties:
                  data:
                    type: object
                    properties:
                      id:
                        type: string
                      type:
                        type: string
                      attributes:
                        type: object
                        properties:
                          email:
                            type: string
                          name:
                            type: string
                          surname:
                            type: 'null'
                          full_name:
                            type: string
                          business:
                            type: 'null'
                          web:
                            type:
                            - string
                            - 'null'
                          currency:
                            type: string
                          locale:
                            type: string
                          time_zone:
                            type: 'null'
                          pdf_page_size:
                            type: string
                          notes:
                            type: 'null'
                          client_role:
                            type: 'null'
                          telephone:
                            type: 'null'
                          address:
                            type: 'null'
                          city:
                            type: 'null'
                          postcode:
                            type: 'null'
                          country:
                            type: 'null'
                          state:
                            type: 'null'
                          created_at:
                            type: string
                        required:
                        - email
                        - name
                        - surname
                        - full_name
                        - business
                        - web
                        - currency
                        - locale
                        - time_zone
                        - pdf_page_size
                        - notes
                        - client_role
                        - telephone
                        - address
                        - city
                        - postcode
                        - country
                        - state
                        - created_at
                    required:
                    - id
                    - type
                    - attributes
                required:
                - data
        '403':
          description: rejects POST requests with insufficient_scope
          content:
            application/vnd.api+json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                required:
                - error
        '422':
          description: returns http unprocessable entity
          content:
            application/vnd.api+json:
              schema:
                type: object
                properties:
                  errors:
                    type: array
                    items:
                      type: object
                      properties:
                        source:
                          type: object
                          properties:
                            pointer:
                              type: string
                          required:
                          - pointer
                        detail:
                          type: string
                      required:
                      - source
                      - detail
                required:
                - errors
      operationId: postApiV2Clients
      x-operation-id-source: derived
  /api/v2/clients/{id}:
    delete:
      summary: destroy
      tags:
      - Api::V2::Client
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: integer
      responses:
        '200':
          description: allows DELETE requests
          content:
            application/vnd.api+json:
              schema:
                type: object
                properties:
                  data:
                    type: object
                    properties:
                      id:
                        type: string
                      type:
                        type: string
                      attributes:
                        type: object
                        properties:
                          email:
                            type: string
                          name:
                            type: string
                          surname:
                            type: string
                          full_name:
                            type: string
                          business:
                            type: string
                          web:
                            type: 'null'
                          currency:
                            type: string
                          locale:
                            type: string
                          time_zone:
                            type: 'null'
                          pdf_page_size:
                            type: string
                          notes:
                            type: 'null'
                          client_role:
                            type: 'null'
                          telephone:
                            type: 'null'
                          address:
                            type: 'null'
                          city:
                            type: 'null'
                          postcode:
                            type: 'null'
                          country:
                            type: 'null'
                          state:
                            type: 'null'
                          created_at:
                            type: string
                        required:
                        - email
                        - name
                        - surname
                        - full_name
                        - business
                        - web
                        - currency
                        - locale
                        - time_zone
                        - pdf_page_size
                        - notes
                        - client_role
                        - telephone
                        - address
                        - city
                        - postcode
                        - country
                        - state
                        - created_at
                    required:
                    - id
                    - type
                    - attributes
                required:
                - data
      operationId: deleteApiV2ClientsById
      x-operation-id-source: derived
    get:
      summary: show
      tags:
      - Api::V2::Client
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: integer
      responses:
        '200':
          description: returns http success
          content:
            application/vnd.api+json:
              schema:
                type: object
                properties:
                  data:
                    type: object
                    properties:
                      id:
                        type: string
                      type:
                        type: string
                      attributes:
                        type: object
                        properties:
                          email:
                            type: string
                          name:
                            type: string
                          surname:
                            type: string
                          full_name:
                            type: string
                          business:
                            type: string
                          web:
                            type: 'null'
                          currency:
                            type: string
                          locale:
                            type: string
                          time_zone:
                            type: 'null'
                          pdf_page_size:
                            type: string
                          notes:
                            type: 'null'
                          client_role:
                            type: 'null'
                          telephone:
                            type: 'null'
                          address:
                            type: 'null'
                          city:
                            type: 'null'
                          postcode:
                            type: 'null'
                          country:
                            type: 'null'
                          state:
                            type: 'null'
                          created_at:
                            type: string
                        required:
                        - email
                        - name
                        - surname
                        - full_name
                        - business
                        - web
                        - currency
                        - locale
                        - time_zone
                        - pdf_page_size
                        - notes
                        - client_role
                        - telephone
                        - address
                        - city
                        - postcode
                        - country
                        - state
                        - created_at
                    required:
                    - id
                    - type
                    - attributes
                required:
                - data
        '404':
          description: returns http not found when client isn't there
          content:
            application/vnd.api+json:
              schema:
                type: object
                properties:
                  errors:
                    type: array
                    items:
                      type: object
                      properties:
                        source:
                          type: object
                          properties:
                            pointer:
                              type: string
                          required:
                          - pointer
                        detail:
                          type: string
                      required:
                      - source
                      - detail
                required:
                - errors
      operationId: getApiV2ClientsById
      x-operation-id-source: derived
    put:
      summary: update
      tags:
      - Api::V2::Client
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: integer
      responses:
        '200':
          description: allows PUT requests
          content:
            application/vnd.api+json:
              schema:
                type: object
                properties:
                  data:
                    type: object
                    properties:
                      id:
                        type: string
                      type:
                        type: string
                      attributes:
                        type: object
                        properties:
                          email:
                            type: string
                          name:
                            type: string
                          surname:
                            type: string
                          full_name:
                            type: string
                          business:
                            type: string
                          web:
                            type: 'null'
                          currency:
                            type: string
                          locale:
                            type: string
                          time_zone:
                            type: 'null'
                          pdf_page_size:
                            type: string
                          notes:
                            type: 'null'
                          client_role:
                            type: 'null'
                          telephone:
                            type: 'null'
                          address:
                            type: 'null'
                          city:
                            type: 'null'
                          postcode:
                            type: 'null'
                          country:
                            type: 'null'
                          state:
                            type: 'null'
                          created_at:
                            type: string
                        required:
                        - email
                        - name
                        - surname
                        - full_name
                        - business
                        - web
                        - currency
                        - locale
                        - time_zone
                        - pdf_page_size
                        - notes
                        - client_role
                        - telephone
                        - address
                        - city
                        - postcode
                        - country
                        - state
                        - created_at
                    required:
                    - id
                    - type
                    - attributes
                required:
                - data
        '422':
          description: returns http unprocessable entity
          content:
            application/vnd.api+json:
              schema:
                type: object
                properties:
                  errors:
                    type: array
                    items:
                      type: object
                      properties:
                        source:
                          type: object
                          properties:
                            pointer:
                              type: string
                          required:
                          - pointer
                        detail:
                          type: string
                      required:
                      - source
                      - detail
                required:
                - errors
      requestBody:
        content:
          application/x-www-form-urlencoded:
            schema:
              type: object
              properties:
                client:
                  type: object
                  properties:
                    name:
                      type: string
                    email:
                      type: string
                  required:
                  - name
              required:
              - client
      operationId: putApiV2ClientsById
      x-operation-id-source: derived
components:
  securitySchemes:
    TokenAuth:
      type: apiKey
      in: header
      name: Authorization
      description: 'API key authentication: `Authorization: Token token=YOUR_API_KEY`'
    OAuthBearer:
      type: http
      scheme: bearer
      description: OAuth 2.0 access token