Wazo Tenants API

The tenants API from Wazo — 4 operation(s) for tenants.

Operations 7

GET /tenants Retrieves the list of tenants
POST /tenants Creates a new tenant #
DELETE /tenants/{tenant_uuid} Delete a tenant #
GET /tenants/{tenant_uuid} Retrieves the details of a tenant
PUT /tenants/{tenant_uuid} Modify a tenant #
GET /tenants/{tenant_uuid}/domains Retrieves the domains names with uuids of a tenant
PUT /tenants/{tenant_uuid}/parent/{parent_tenant_uuid} Update tenant's parent #

Documentation

Specifications

Other Resources

🔗
Console
https://api.wazo.io/documentation/console/authentication/
🔗
SourceCode
https://github.com/wazo-platform/wazo-auth
🔗
ChangeLog
https://github.com/wazo-platform/wazo-auth/blob/master/CHANGELOG.md
🔗
Conventions
https://raw.githubusercontent.com/api-evangelist/wazo/refs/heads/main/conventions/wazo-conventions.yml
🔗
ErrorCatalog
https://raw.githubusercontent.com/api-evangelist/wazo/refs/heads/main/errors/wazo-problem-types.yml
🔗
Console
https://api.wazo.io/documentation/console/configuration/
🔗
SourceCode
https://github.com/wazo-platform/wazo-confd
🔗
ChangeLog
https://github.com/wazo-platform/wazo-confd/blob/master/CHANGELOG.md
🔗
Console
https://api.wazo.io/documentation/console/application/
🔗
SourceCode
https://github.com/wazo-platform/wazo-calld
🔗
ChangeLog
https://github.com/wazo-platform/wazo-calld/blob/master/CHANGELOG.md
🔗
Console
https://api.wazo.io/documentation/console/cdr/
🔗
SourceCode
https://github.com/wazo-platform/wazo-call-logd
🔗
ChangeLog
https://github.com/wazo-platform/wazo-call-logd/blob/master/CHANGELOG.md
🔗
Console
https://api.wazo.io/documentation/console/contact/
🔗
SourceCode
https://github.com/wazo-platform/wazo-dird
🔗
ChangeLog
https://github.com/wazo-platform/wazo-dird/blob/master/CHANGELOG.md
🔗
Console
https://api.wazo.io/documentation/console/webhook/
🔗
SourceCode
https://github.com/wazo-platform/wazo-webhookd
🔗
ChangeLog
https://github.com/wazo-platform/wazo-webhookd/blob/master/CHANGELOG.md
🔗
Webhooks
https://raw.githubusercontent.com/api-evangelist/wazo/refs/heads/main/asyncapi/wazo-events-webhooks.yml
🔗
Console
https://api.wazo.io/documentation/console/plugins/
🔗
SourceCode
https://github.com/wazo-platform/wazo-plugind
🔗
ChangeLog
https://github.com/wazo-platform/wazo-plugind/blob/master/CHANGELOG.md
🔗
Console
https://api.wazo.io/documentation/console/agent/
🔗
SourceCode
https://github.com/wazo-platform/wazo-agentd
🔗
ChangeLog
https://github.com/wazo-platform/wazo-agentd/blob/master/CHANGELOG.md
🔗
Console
https://api.wazo.io/documentation/console/chat/
🔗
SourceCode
https://github.com/wazo-platform/wazo-chatd
🔗
ChangeLog
https://github.com/wazo-platform/wazo-chatd/blob/master/CHANGELOG.md
🔗
SourceCode
https://github.com/wazo-platform/wazo-phoned
🔗
ChangeLog
https://github.com/wazo-platform/wazo-phoned/blob/master/CHANGELOG.md
🔗
Console
https://api.wazo.io/documentation/console/setup/
🔗
SourceCode
https://github.com/wazo-platform/wazo-setupd
🔗
ChangeLog
https://github.com/wazo-platform/wazo-setupd/blob/master/CHANGELOG.md
🔗
Console
https://api.wazo.io/documentation/console/amid/
🔗
SourceCode
https://github.com/wazo-platform/wazo-amid
🔗
ChangeLog
https://github.com/wazo-platform/wazo-amid/blob/master/CHANGELOG.md

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/wazo-tenants-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 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. See our Privacy Policy and Terms.

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

OpenAPI Specification

wazo-tenants-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Wazo Tenants API
  contact:
    name: Wazo Dev Team
    url: https://wazo-platform.org/
    email: dev@wazo.community
  x-logo:
    url: https://wazo-platform.org/images/logo-black.svg
    backgroundColor: '#FAFAFA'
    altText: Wazo Logo
  version: '1.0'
  description: 'Operations tagged tenants across 2 of this provider''s published API definitions: wazo-auth-api-openapi.yml, wazo-confd-api-openapi.yml. Each path carries the servers of the definition it was published in.'
servers:
- url: /0.1
- url: /1.1
tags:
- name: tenants
paths:
  /tenants:
    get:
      tags:
      - tenants
      security:
      - wazo_auth_token: []
      description: '**Required ACL**: `auth.tenants.read`


        Tenants can be filtered by domain name using the `domain_name` query string to do an exact match on one of its domain names or using the `search` query string for a fuzzy match.

        '
      summary: Retrieves the list of tenants
      parameters:
      - $ref: '#/components/parameters/order'
      - $ref: '#/components/parameters/direction'
      - $ref: '#/components/parameters/limit'
      - $ref: '#/components/parameters/offset'
      - $ref: '#/components/parameters/search'
      - $ref: '#/components/parameters/tenantuuid'
      responses:
        '200':
          description: The list of tenant
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TenantList'
    post:
      summary: Creates a new tenant
      description: '**Required ACL:** `auth.tenants.create`'
      operationId: createTenant
      tags:
      - tenants
      security:
      - wazo_auth_token: []
      parameters:
      - $ref: '#/components/parameters/tenantuuid'
      responses:
        '200':
          description: The new tenant
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TenantPostResponse'
        '400':
          description: Invalid body
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/APIError'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/TenantCreate'
        description: The tenant creation parameters
    servers:
    - url: /0.1
  /tenants/{tenant_uuid}:
    delete:
      operationId: delete_tenant
      tags:
      - tenants
      security:
      - wazo_auth_token: []
      description: '**Required ACL**: `auth.tenants.{tenant_uuid}.delete`'
      parameters:
      - $ref: '#/components/parameters/tenant_uuid'
      summary: Delete a tenant
      responses:
        '204':
          description: The tenant has been removed
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: Tenant not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '500':
          description: System related error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
    get:
      tags:
      - tenants
      security:
      - wazo_auth_token: []
      description: '**Required ACL**: `auth.tenants.{tenant_uuid}.read`'
      parameters:
      - $ref: '#/components/parameters/tenant_uuid'
      summary: Retrieves the details of a tenant
      responses:
        '200':
          description: The tenant's data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TenantResult'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: Tenant not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '500':
          description: System related error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
    put:
      summary: Modify a tenant
      description: '**Required ACL:** `auth.tenants.{tenant_uuid}.update`'
      operationId: updateTenant
      tags:
      - tenants
      security:
      - wazo_auth_token: []
      parameters:
      - $ref: '#/components/parameters/tenant_uuid'
      responses:
        '200':
          description: The new tenant
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TenantPostResponse'
        '400':
          description: Invalid body
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/APIError'
        '404':
          description: Tenant not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/TenantEdit'
        description: The tenant parameters
        required: true
    servers:
    - url: /0.1
  /tenants/{tenant_uuid}/domains:
    get:
      tags:
      - tenants
      security:
      - wazo_auth_token: []
      description: '**Required ACL**: `auth.tenants.{tenant_uuid}.domains.read`'
      parameters:
      - $ref: '#/components/parameters/tenant_uuid'
      summary: Retrieves the domains names with uuids of a tenant
      responses:
        '200':
          description: The tenant's domains data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TenantDomainsList'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: Tenant not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '500':
          description: System related error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
    servers:
    - url: /0.1
  /tenants/{tenant_uuid}/parent/{parent_tenant_uuid}:
    put:
      summary: Update tenant's parent
      description: '**Required ACL:** `auth.tenants.{tenant_uuid}.parent.{parent_tenant_uuid}.update`'
      operationId: updateTenantParent
      tags:
      - tenants
      security:
      - wazo_auth_token: []
      parameters:
      - $ref: '#/components/parameters/tenant_uuid'
      - $ref: '#/components/parameters/parent_tenant_uuid'
      responses:
        '204':
          description: Parent updated
        '404':
          description: Tenant or Parent not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
    servers:
    - url: /0.1
components:
  schemas:
    TenantBase:
      type: object
      properties:
        name:
          type: string
          description: The tenant's name
        contact:
          type: string
          description: The contact user's UUID
        phone:
          type: string
          description: The tenant's contact phone number
        domain_names:
          type: array
          description: A list containing human readeable unique domain names, associated with a specific tenant
          uniqueItems: true
          items:
            type: string
        address:
          $ref: '#/components/schemas/TenantAddress'
        default_authentication_method:
          type: string
          description: 'The `default_authentication_method` defines the authentication method that

            is going to be used for users using the `authentication_method` `default`.

            '
          default: native
          enum:
          - native
          - saml
          - ldap
    TenantAddress:
      type: object
      properties:
        line_1:
          type: string
          description: The first line of the address
        line_2:
          type: string
          description: The second line of the address
        city:
          type: string
        state:
          type: string
        country:
          type: string
        zip_code:
          type: string
    APIError:
      type: object
      properties:
        timestamp:
          type: number
        message:
          type: string
        resource:
          type: string
        details:
          type: object
    TenantCreate:
      type: object
      allOf:
      - $ref: '#/components/schemas/TenantBase'
      - properties:
          uuid:
            type: string
            description: The tenant's UUID
          slug:
            type: string
            description: A unique, human readeable identifier for this tenant. This field cannot be modified and will be auto-generated if missing.
    Error:
      type: object
      properties:
        reason:
          type: array
          items:
            type: string
        timestamp:
          type: array
          items:
            type: string
        status_code:
          type: integer
    TenantDomainsList:
      type: object
      properties:
        total:
          type: integer
          description: The number of domains
        items:
          type: array
          items:
            type: object
            properties:
              name:
                type: string
              uuid:
                type: string
          description: A non-paginated list of domains
    TenantEdit:
      type: object
      allOf:
      - $ref: '#/components/schemas/TenantBase'
    TenantList:
      type: object
      properties:
        total:
          type: integer
          description: The number of tenants
        filtered:
          type: integer
          description: The number of tenants matching the searched term
        items:
          type: array
          items:
            $ref: '#/components/schemas/TenantResult'
          description: A paginated list of tenants
    TenantResult:
      type: object
      allOf:
      - $ref: '#/components/schemas/TenantBase'
      - properties:
          uuid:
            type: string
          slug:
            type: string
            description: A unique, human readeable identifier for this tenant
    TenantPostResponse:
      type: object
      properties:
        name:
          type: string
        uuid:
          type: string
        parent_uuid:
          type: string
    Tenant:
      properties:
        uuid:
          type: string
          readOnly: true
          description: The UUID of the Tenant
        sip_templates_generated:
          type: boolean
          readOnly: true
          description: Wether or not the SIP templates have been generated
        global_sip_template_uuid:
          type: string
          readOnly: true
        webrtc_sip_template_uuid:
          type: string
          readOnly: true
        registration_trunk_sip_template_uuid:
          type: string
          readOnly: true
    TenantItems:
      title: TenantItems
      properties:
        items:
          type: array
          items:
            $ref: '#/components/schemas/Tenant'
        total:
          type: integer
    Error_2:
      type: array
      items:
        type: string
  parameters:
    parent_tenant_uuid:
      name: parent_tenant_uuid
      in: path
      description: The UUID of the new parent tenant
      required: true
      schema:
        type: string
    search:
      required: false
      name: search
      in: query
      description: Search term for filtering a list of items. Only items with a field containing the search term will be returned.
      schema:
        type: string
    direction:
      required: false
      name: direction
      in: query
      description: Sort list of items in 'asc' (ascending) or 'desc' (descending) order
      schema:
        type: string
        enum:
        - asc
        - desc
    tenant_uuid:
      name: tenant_uuid
      in: path
      description: The UUID of the tenant
      required: true
      schema:
        type: string
    offset:
      name: offset
      in: query
      description: The offset defines the offsets the start by the number specified
      required: false
      schema:
        type: integer
        default: 0
    limit:
      name: limit
      in: query
      description: The limit defines the number of individual objects that are returned
      required: false
      schema:
        type: integer
    order:
      required: false
      name: order
      in: query
      description: Name of the field to use for sorting the list of items returned.
      schema:
        type: string
    tenantuuid:
      name: Wazo-Tenant
      in: header
      description: The tenant's UUID, defining the ownership of a given resource.
      required: false
      schema:
        type: string
    offset_2:
      required: false
      name: offset
      in: query
      description: Number of items to skip over in the list. Useful for pagination.
      schema:
        type: integer
    recurse:
      name: recurse
      in: query
      description: Should the query include sub-tenants
      required: false
      schema:
        type: boolean
        default: false
    limit_2:
      required: false
      name: limit
      in: query
      description: Maximum number of items to return in the list
      schema:
        type: integer
    urltenantuuid:
      description: Resource UUID
      name: tenant_uuid
      in: path
      required: true
      schema:
        type: string
  responses:
    NotFoundError:
      description: The resource requested was not found on the server
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error_2'
  securitySchemes:
    wazo_auth_basic:
      type: http
      scheme: basic
    wazo_auth_token:
      type: apiKey
      name: X-Auth-Token
      in: header
x-refined-from:
- wazo-auth-api-openapi.yml
- wazo-confd-api-openapi.yml
x-xivo-name: agentd
x-xivo-port: 9493
x-apievangelist-source:
  harvested_from: https://github.com/wazo-platform/wazo-agentd
  assembly: base plugin api.yml deep-merged with all plugin api.yml fragments, reproducing what the running service serves at /api/agentd/1.0/api/api.yml (see wazo_agentd/plugins/api/http.py — xivo.chain_map.ChainMap)
  spec_version: Swagger 2.0 (as published by Wazo)
  harvested: '2026-08-17'