OmniDimension Reseller identity API

Set the brand your clients see on their email and hear on the verification call, and send through your own SMTP. Reseller accounts only.

GitHub OpenAPI

Operations 5

GET /reseller/identity Get brand identity #
POST /reseller/identity/save Save brand identity #
POST /reseller/identity/smtp/save Save custom email server #
POST /reseller/identity/smtp/test Test custom email server #
POST /reseller/identity/smtp/disable Disable custom email server #

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/omnidim-io:omnidim-io-reseller-identity-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

omnidim-io-reseller-identity-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: OmniDimension Reseller identity API
  version: '1.0'
  description: 'Public REST API for the OmniDimension voice-agent platform. Use it

    to manage agents, dispatch calls, run bulk-call campaigns, manage

    knowledge bases, attach phone numbers, run agent simulations, and

    administer reseller accounts.'
  contact:
    name: OmniDimension
    url: https://omnidim.io
servers:
- url: https://omnidim.io/api/v1
  description: Production. `https://backend.omnidim.io/api/v1` also works and serves the same API.
security:
- BearerAuth: []
tags:
- name: Reseller identity
  description: 'Set the brand your clients see on their email and hear on the

    verification call, and send through your own SMTP. Reseller accounts

    only.'
paths:
  /reseller/identity:
    get:
      tags:
      - Reseller identity
      operationId: getResellerIdentity
      summary: Get brand identity
      description: 'Read your brand and your custom email server settings. The brand

        is what your client organizations see: your brand name on their

        emails, and spoken in their verification calls. Your own emails

        do not change.


        Who may call: a key whose user is the owner or an admin of a

        reseller organization. Any other user gets `403`.


        The response always has the same shape. `has_identity` is `false`

        and `identity` is `{}` until the first save. `smtp` never contains

        the password. `can_use_brand_identity` is `false` for an account

        that cannot hold a brand (for example one that already holds

        another organization''s configuration). Such an account can read

        but every write returns `403`.


        Errors: `401` for a missing or invalid key. `403` when the user is

        not the owner or an admin of the organization. `500` for a server

        error.'
      x-codeSamples:
      - lang: python
        label: Python SDK
        source: 'from omnidimension import Client

          client = Client(api_key)


          state = client.reseller.get_identity()["json"]

          print(state["has_identity"], state["identity"].get("platform_name"))

          '
      - lang: bash
        label: cURL
        source: "curl \"https://omnidim.io/api/v1/reseller/identity\" \\\n  -H \"Authorization: Bearer YOUR_API_KEY\"\n"
      responses:
        '200':
          description: The current brand and email server state.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResellerIdentityState'
              example:
                success: true
                can_use_brand_identity: true
                can_use_custom_smtp: true
                has_identity: true
                identity:
                  platform_name: Acme Voice
                  company_name: Acme Ltd
                  logo_url: https://acme.example/logo.png
                  primary_color: '#1976d2'
                  real_email: hello@acme.example
                smtp:
                  configured: true
                  active: true
                  host: smtp.acme.example
                  port: 587
                  username: mailer@acme.example
                  encryption: starttls
                  from_email: hello@acme.example
        '401':
          description: Missing or invalid API key.
        '403':
          description: 'The key''s user is not the owner or an admin of the organization.

            '
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SessionError'
              example:
                error: forbidden
                error_description: Only an account owner or admin can change brand settings.
        '500':
          description: Server error.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SessionError'
              example:
                error: server_error
                error_description: Something went wrong. Please try again.
  /reseller/identity/save:
    post:
      tags:
      - Reseller identity
      operationId: saveResellerIdentity
      summary: Save brand identity
      description: 'Set the brand your client organizations see: your brand name and

        company name on their emails, and your brand name spoken in their

        verification calls. The first save creates the brand. Later saves

        change only the fields you send. Your own emails do not change.


        Who may call: a key whose user is the owner or an admin of a

        reseller organization that can hold a brand. Any other user, and

        any account that already holds another organization''s

        configuration, gets `403`.


        `platform_name` and `company_name` are 1 to 60 characters of plain

        text. On the first save, a name you leave out is taken from your

        organization name. `primary_color` is a hex colour such as

        `#1976d2`. `real_email` is the sender and reply-to address on your

        clients'' emails.


        The response is the full brand state, the same object that

        `GET /reseller/identity` returns.


        Errors: `400 invalid_request` for a name that is empty, longer than

        60 characters or not plain text, a `primary_color` that is not a

        hex value, or a `real_email` that is not an email address. The

        `error_description` says which. `401` for a missing or invalid key.

        `403 forbidden` when the user is not the owner or an admin, or the

        account cannot hold a brand. `500 server_error` for a server error.'
      x-codeSamples:
      - lang: python
        label: Python SDK
        source: "from omnidimension import Client\nclient = Client(api_key)\n\nstate = client.reseller.save_identity(\n    platform_name=\"Acme Voice\",\n    company_name=\"Acme Ltd\",\n    primary_color=\"#1976d2\",\n    real_email=\"hello@acme.example\",\n)[\"json\"]\nprint(state[\"identity\"])\n"
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                platform_name:
                  type: string
                  minLength: 1
                  maxLength: 60
                  description: Brand name. Your clients' emails show it and their verification calls speak it. Plain text.
                company_name:
                  type: string
                  minLength: 1
                  maxLength: 60
                  description: Company name. Plain text.
                logo_url:
                  type: string
                  description: Public URL of your logo.
                primary_color:
                  type: string
                  description: Brand colour as a hex value, for example `#1976d2`.
                real_email:
                  type: string
                  format: email
                  description: Sender and reply-to address on your clients' emails.
            example:
              platform_name: Acme Voice
              company_name: Acme Ltd
              primary_color: '#1976d2'
              real_email: hello@acme.example
      responses:
        '200':
          description: The brand was saved. The body is the full brand state.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResellerIdentityState'
              example:
                success: true
                can_use_brand_identity: true
                can_use_custom_smtp: true
                has_identity: true
                identity:
                  platform_name: Acme Voice
                  company_name: Acme Ltd
                  logo_url: ''
                  primary_color: '#1976d2'
                  real_email: hello@acme.example
                smtp:
                  configured: false
                  active: false
        '400':
          description: A field failed validation. `error_description` names it.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SessionError'
              example:
                error: invalid_request
                error_description: Primary color must be a hex value like
        '401':
          description: Missing or invalid API key.
        '403':
          description: 'The key''s user is not the owner or an admin of the organization,

            or the account cannot hold a brand.

            '
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SessionError'
              example:
                error: forbidden
                error_description: Brand settings are not available for your account.
        '500':
          description: Server error.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SessionError'
              example:
                error: server_error
                error_description: Something went wrong. Please try again.
  /reseller/identity/smtp/save:
    post:
      tags:
      - Reseller identity
      operationId: saveResellerIdentitySmtp
      summary: Save custom email server
      description: 'Send your clients'' emails through your own email server, so they

        come from your domain. The server is checked with a live login

        before anything is saved. If the login fails, nothing changes and

        the response is `400` with the reason. Save your brand first.


        Who may call: a key whose user is the owner or an admin of a

        reseller organization that can hold a brand and use a custom email

        server. Any other user gets `403`.


        `host` and `port` are required. `encryption` is `starttls` (the

        default), `ssl` or `none`. If you leave `password` blank and a

        server is already saved, the saved password is used. The password

        is never returned.


        The response is the full brand state, the same object that

        `GET /reseller/identity` returns, with `smtp.active` set to `true`.

        Use `POST /reseller/identity/smtp/test` to check a server without

        saving it, and `POST /reseller/identity/smtp/disable` to stop

        using it.


        Errors: `400 invalid_request` when no brand is saved yet, when

        `host` or `port` is missing, when `encryption` is not one of the

        three values, or when the login fails. `401` for a missing or

        invalid key. `403 forbidden` when the user is not the owner or an

        admin, or the account cannot hold a brand or use a custom email

        server. `500 server_error` for a server error.'
      x-codeSamples:
      - lang: python
        label: Python SDK
        source: "from omnidimension import Client\nclient = Client(api_key)\n\nstate = client.reseller.save_identity_smtp(\n    host=\"smtp.acme.example\",\n    port=587,\n    username=\"mailer@acme.example\",\n    password=\"app-password\",\n    encryption=\"starttls\",\n    from_email=\"hello@acme.example\",\n)[\"json\"]\nprint(state[\"smtp\"][\"active\"])\n"
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ResellerIdentitySmtpInput'
            example:
              host: smtp.acme.example
              port: 587
              username: mailer@acme.example
              password: app-password
              encryption: starttls
              from_email: hello@acme.example
      responses:
        '200':
          description: The server was saved and is in use. The body is the full brand state.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResellerIdentityState'
              example:
                success: true
                can_use_brand_identity: true
                can_use_custom_smtp: true
                has_identity: true
                identity:
                  platform_name: Acme Voice
                  company_name: Acme Ltd
                  real_email: hello@acme.example
                smtp:
                  configured: true
                  active: true
                  host: smtp.acme.example
                  port: 587
                  username: mailer@acme.example
                  encryption: starttls
                  from_email: hello@acme.example
        '400':
          description: 'No brand is saved yet, a field is missing or invalid, or the

            login to the server failed. `error_description` gives the reason.

            '
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SessionError'
              example:
                error: invalid_request
                error_description: Save your brand before connecting an email server.
        '401':
          description: Missing or invalid API key.
        '403':
          description: 'The key''s user is not the owner or an admin of the organization,

            or the account cannot hold a brand or use a custom email server.

            '
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SessionError'
              example:
                error: forbidden
                error_description: Brand settings are not available for your account.
        '500':
          description: Server error.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SessionError'
              example:
                error: server_error
                error_description: Something went wrong. Please try again.
  /reseller/identity/smtp/test:
    post:
      tags:
      - Reseller identity
      operationId: testResellerIdentitySmtp
      summary: Test custom email server
      description: 'Check that a login to an email server works. Nothing is saved and

        nothing changes for your clients. Use it before

        `POST /reseller/identity/smtp/save`.


        Send the same body as the save call. If you leave `password`

        blank, the saved password is used. A brand must be saved first.


        Who may call: a key whose user is the owner or an admin of a

        reseller organization that can hold a brand and use a custom email

        server. Any other user gets `403`.


        Errors: `400 invalid_request` when no brand is saved yet, when

        `host` or `port` is missing, or when the login fails. The

        `error_description` gives the reason. `401` for a missing or

        invalid key. `403 forbidden` when the user is not the owner or an

        admin, or the account cannot hold a brand or use a custom email

        server. `500 server_error` for a server error.'
      x-codeSamples:
      - lang: python
        label: Python SDK
        source: "from omnidimension import Client\nclient = Client(api_key)\n\n# Leave password out to test the saved server.\nresult = client.reseller.test_identity_smtp(\n    host=\"smtp.acme.example\",\n    port=587,\n    username=\"mailer@acme.example\",\n)\nprint(result[\"json\"][\"success\"])\n"
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ResellerIdentitySmtpInput'
            example:
              host: smtp.acme.example
              port: 587
              username: mailer@acme.example
              encryption: starttls
      responses:
        '200':
          description: The login worked.
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
              example:
                success: true
        '400':
          description: 'No brand is saved yet, a field is missing, or the login failed.

            `error_description` gives the reason.

            '
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SessionError'
              example:
                error: invalid_request
                error_description: SMTP host is required.
        '401':
          description: Missing or invalid API key.
        '403':
          description: 'The key''s user is not the owner or an admin of the organization,

            or the account cannot hold a brand or use a custom email server.

            '
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SessionError'
              example:
                error: forbidden
                error_description: Brand settings are not available for your account.
        '500':
          description: Server error.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SessionError'
              example:
                error: server_error
                error_description: Something went wrong. Please try again.
  /reseller/identity/smtp/disable:
    post:
      tags:
      - Reseller identity
      operationId: disableResellerIdentitySmtp
      summary: Disable custom email server
      description: 'Stop sending your clients'' emails through your own email server.

        Their emails go back to the default sender. The saved server and its

        login are kept, so you can switch it on again with

        `POST /reseller/identity/smtp/save`. Your brand is not changed.


        Send no body. Who may call: a key whose user is the owner or an

        admin of a reseller organization that can hold a brand and use a

        custom email server. Any other user gets `403`.


        The response is the full brand state, the same object that

        `GET /reseller/identity` returns, with `smtp.active` set to `false`.


        Errors: `400 invalid_request` when no brand is saved yet. `401` for

        a missing or invalid key. `403 forbidden` when the user is not the

        owner or an admin, or the account cannot hold a brand or use a

        custom email server. `500 server_error` for a server error.'
      x-codeSamples:
      - lang: python
        label: Python SDK
        source: 'from omnidimension import Client

          client = Client(api_key)


          state = client.reseller.disable_identity_smtp()["json"]

          print(state["smtp"]["active"])

          '
      responses:
        '200':
          description: Custom email server turned off. The body is the full brand state.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResellerIdentityState'
              example:
                success: true
                can_use_brand_identity: true
                can_use_custom_smtp: true
                has_identity: true
                identity:
                  platform_name: Acme Voice
                  company_name: Acme Ltd
                smtp:
                  configured: true
                  active: false
                  host: smtp.acme.example
                  port: 587
                  username: mailer@acme.example
                  encryption: starttls
                  from_email: hello@acme.example
        '400':
          description: No brand is saved yet.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SessionError'
              example:
                error: invalid_request
                error_description: Save your brand before connecting an email server.
        '401':
          description: Missing or invalid API key.
        '403':
          description: 'The key''s user is not the owner or an admin of the organization,

            or the account cannot hold a brand or use a custom email server.

            '
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SessionError'
              example:
                error: forbidden
                error_description: Brand settings are not available for your account.
        '500':
          description: Server error.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SessionError'
              example:
                error: server_error
                error_description: Something went wrong. Please try again.
components:
  schemas:
    ResellerIdentitySmtpInput:
      type: object
      required:
      - host
      - port
      properties:
        host:
          type: string
          description: Email server host name.
        port:
          type: integer
          description: Email server port, usually 587 for `starttls` or 465 for `ssl`.
        username:
          type: string
          description: Login name.
        password:
          type: string
          description: Login password. Leave it blank to use the saved password.
        encryption:
          type: string
          enum:
          - starttls
          - ssl
          - none
          default: starttls
        from_email:
          type: string
          description: Address your clients' emails are sent from.
    ResellerIdentityState:
      type: object
      description: Your brand and custom email server state. The SMTP password is never returned.
      properties:
        success:
          type: boolean
        can_use_brand_identity:
          type: boolean
          description: Whether this account may hold a brand. When `false`, every write returns `403`.
        can_use_custom_smtp:
          type: boolean
          description: Whether this account may send clients' emails through its own email server.
        has_identity:
          type: boolean
          description: '`false` until the first save.'
        identity:
          type: object
          description: The saved brand. Empty until the first save. Other branding keys can appear.
          additionalProperties: true
          properties:
            platform_name:
              type: string
            company_name:
              type: string
            logo_url:
              type: string
            primary_color:
              type: string
            real_email:
              type: string
        smtp:
          type: object
          properties:
            configured:
              type: boolean
              description: A server is saved.
            active:
              type: boolean
              description: Clients' emails go out through the saved server now.
            host:
              type: string
            port:
              type: integer
            username:
              type: string
            encryption:
              type: string
              enum:
              - starttls
              - ssl
              - none
            from_email:
              type: string
    SessionError:
      type: object
      properties:
        error:
          type: string
          description: Machine-readable error code.
        error_description:
          type: string
          description: Human-readable explanation.
        code:
          type: string
          description: 'Stable, specific reason. Present on the newer endpoints (Voice

            cloning, WhatsApp); older endpoints return only `error`.

            '
        request_id:
          type: string
          description: 'Correlates this response with the server log. Present alongside

            `code`. Also sent as the `X-Request-Id` header.

            '
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      description: 'Bearer token authentication. Obtain your API key from the

        OmniDimension dashboard.

        '