Sarj AI Developer API Admin API

The admin API from Sarj AI Developer API — 4 operation(s) for admin.

Operations 6

POST /v1/messaging-settings/configs Create Config #
GET /v1/messaging-settings/configs/{config_id} Get Config #
PUT /v1/messaging-settings/configs/{config_id} Update Config #
DELETE /v1/messaging-settings/configs/{config_id} Delete Config #
GET /v1/messaging-settings/configs/org/{organization_id} Get Configs By Org #
POST /v1/messaging-settings/configs/list List Configs #

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/sarj-ai-developer-api-admin-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no email required.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

sarj-ai-developer-api-admin-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Sarj Ai Developer Admin API
  version: 1.0.0
  description: 'Operations tagged admin across 2 of this provider''s published API definitions: sarj-ai-developer-api-admin-api-openapi.yml, sarj-ai-developer-api-voice-platform-openapi.json. Each path carries the servers of the definition it was published in.'
servers:
- url: https://platform-api.sarj.ai/api/v1
  description: Base URL declared by the provider in apis.yml (roadmap#122).
tags:
- name: admin
paths:
  /v1/messaging-settings/configs:
    post:
      tags:
      - admin
      summary: Create Config
      operationId: adminCreateConfig
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateMessagingProviderConfigRequest'
        required: true
      responses:
        '201':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MessagingProviderConfigPublic'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    servers:
    - url: https://platform-api.sarj.ai/api/v1
      description: Base URL declared by the provider in apis.yml (roadmap#122).
  /v1/messaging-settings/configs/{config_id}:
    get:
      tags:
      - admin
      summary: Get Config
      operationId: adminGetConfig
      parameters:
      - name: config_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Config Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MessagingProviderConfigPublic'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    put:
      tags:
      - admin
      summary: Update Config
      operationId: adminUpdateConfig
      parameters:
      - name: config_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Config Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateMessagingProviderConfigRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MessagingProviderConfigPublic'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    delete:
      tags:
      - admin
      summary: Delete Config
      operationId: adminDeleteConfig
      parameters:
      - name: config_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Config Id
      responses:
        '204':
          description: Successful Response
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    servers:
    - url: https://platform-api.sarj.ai/api/v1
      description: Base URL declared by the provider in apis.yml (roadmap#122).
  /v1/messaging-settings/configs/org/{organization_id}:
    get:
      tags:
      - admin
      summary: Get Configs By Org
      operationId: adminGetConfigsByOrg
      parameters:
      - name: organization_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Organization Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/MessagingProviderConfigPublic'
                title: Response Admingetconfigsbyorg
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    servers:
    - url: https://platform-api.sarj.ai/api/v1
      description: Base URL declared by the provider in apis.yml (roadmap#122).
  /v1/messaging-settings/configs/list:
    post:
      tags:
      - admin
      summary: List Configs
      operationId: adminListConfigs
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ListMessagingProviderConfigRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/MessagingProviderConfigPublic'
                type: array
                title: Response Adminlistconfigs
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    servers:
    - url: https://platform-api.sarj.ai/api/v1
      description: Base URL declared by the provider in apis.yml (roadmap#122).
components:
  schemas:
    ScenarioInboxMappingRequest:
      properties:
        scenario_id:
          type: string
          format: uuid
          title: Scenario Id
        inbox_id:
          type: string
          title: Inbox Id
      type: object
      required:
      - scenario_id
      - inbox_id
      title: ScenarioInboxMappingRequest
    ListMessagingProviderConfigRequest:
      properties:
        organization_id:
          anyOf:
          - type: string
            format: uuid
          - type: 'null'
          title: Organization Id
        provider:
          anyOf:
          - $ref: '#/components/schemas/MessagingProvider'
          - type: 'null'
        enabled:
          anyOf:
          - type: boolean
          - type: 'null'
          title: Enabled
      type: object
      title: ListMessagingProviderConfigRequest
    MessagingProviderConfigPublic:
      properties:
        id:
          type: string
          title: Id
        organization_id:
          type: string
          title: Organization Id
        provider:
          $ref: '#/components/schemas/MessagingProvider'
        name:
          type: string
          title: Name
        config:
          additionalProperties: true
          type: object
          title: Config
        has_auth_token:
          type: boolean
          title: Has Auth Token
        scenario_inbox_mappings:
          items:
            $ref: '#/components/schemas/ScenarioInboxMapping'
          type: array
          title: Scenario Inbox Mappings
        enabled:
          type: boolean
          title: Enabled
        created_by:
          type: string
          title: Created By
        updated_by:
          type: string
          title: Updated By
        created_at:
          type: string
          format: date-time
          title: Created At
        updated_at:
          type: string
          format: date-time
          title: Updated At
      type: object
      required:
      - id
      - organization_id
      - provider
      - name
      - config
      - has_auth_token
      - enabled
      - created_by
      - updated_by
      - created_at
      - updated_at
      title: MessagingProviderConfigPublic
    CreateMessagingProviderConfigRequest:
      properties:
        organization_id:
          type: string
          format: uuid
          title: Organization Id
        provider:
          $ref: '#/components/schemas/MessagingProvider'
        name:
          type: string
          title: Name
        config:
          additionalProperties: true
          type: object
          title: Config
        auth_token:
          anyOf:
          - type: string
          - type: 'null'
          title: Auth Token
        scenario_inbox_mappings:
          items:
            $ref: '#/components/schemas/ScenarioInboxMappingRequest'
          type: array
          title: Scenario Inbox Mappings
          default: []
        enabled:
          type: boolean
          title: Enabled
          default: true
      type: object
      required:
      - organization_id
      - provider
      - name
      - config
      title: CreateMessagingProviderConfigRequest
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    UpdateMessagingProviderConfigRequest:
      properties:
        provider:
          $ref: '#/components/schemas/MessagingProvider'
        name:
          type: string
          title: Name
        config:
          additionalProperties: true
          type: object
          title: Config
        auth_token:
          anyOf:
          - type: string
          - type: 'null'
          title: Auth Token
        scenario_inbox_mappings:
          items:
            $ref: '#/components/schemas/ScenarioInboxMappingRequest'
          type: array
          title: Scenario Inbox Mappings
          default: []
        enabled:
          type: boolean
          title: Enabled
          default: true
      type: object
      required:
      - provider
      - name
      - config
      title: UpdateMessagingProviderConfigRequest
    ScenarioInboxMapping:
      properties:
        scenario_id:
          type: string
          title: Scenario Id
        inbox_id:
          type: string
          title: Inbox Id
      type: object
      required:
      - scenario_id
      - inbox_id
      title: ScenarioInboxMapping
    MessagingProvider:
      type: string
      enum:
      - socialbot_whatsapp
      title: MessagingProvider
    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
x-refined-from:
- sarj-ai-developer-api-admin-api-openapi.yml
- sarj-ai-developer-api-voice-platform-openapi.json