Facebook
LinkedIn
YouTube
Getting Started
Authentication
Authentication
  • V2 Authentication (Deprecated)
  • V3 Authentication
V2 API Documentation (Deprecated)V3 API Documentation
Getting Started
Authentication
Authentication
  • V2 Authentication (Deprecated)
  • V3 Authentication
V2 API Documentation (Deprecated)V3 API Documentation
  1. Groups
  • Platform
    • Users
      • List Users
      • Get User Details
      • Update User
      • Partial Update User
      • Delete User
      • Create User
    • Groups
      • List Child Groups
        GET
      • Get Group Tree
        GET
      • Get Group Details
        GET
      • List Groups
        GET
      • Get Org Unit Hierarchy
        GET
      • Update Group
        PUT
      • Partial Update Group
        PATCH
      • Delete Group
        DELETE
      • Create Group
        POST
    • Webhooks
      • List Webhooks
      • Get Webhook Details
      • Update Webhook
      • Partial Update Webhook
      • Delete Webhook
      • Create Webhook
    • Media Prompts
      • List Prompts
      • Upload Prompt
      • Delete Prompt
  • AI Voice Agents
    • List AI Voice Agents
      GET
    • Create Agent
      POST
    • Get Agent Details
      GET
    • Update Agent
      PUT
    • Partial Update Agent
      PATCH
    • Delete Agent
      DELETE
  • Phone Numbers
    • Assigned Numbers
      GET
    • Provisioned Numbers
      GET
    • Reserved Numbers
      DELETE
    • Phone Numbers
      POST
    • Available Numbers
      GET
  • Provisioned Routes
    • List Provisioned Routes
      GET
    • Create Provisioned Route
      POST
    • Get Provisioned Route Details
      GET
    • Delete Provisioned Route
      DELETE
    • Update Provisioned Route
      PUT
    • Partial Update Provisioned Route
      PATCH
  • SMS Broadcasts
    • List Broadcasts
    • Create Broadcast
    • Get Broadcast Details
    • Update Broadcast
    • Partial Update Broadcast
    • Delete Broadcast
  • Conversation
    • Calls
      • Get Calls List
      • Get Call By ID
    • SMS
      • Get SMS Conversations
  • Miscellaneous
    • List Ad Sources
    • List Industries
    • List Tags
    • Create Tag
    • Update Tag
    • Delete Tag
  1. Groups

Get Group Tree

GET
https://platform-api.convirza.com/v3/groups/tree
Groups
Last modified:2026-04-03 14:27:57
Returns the complete organizational hierarchy as a nested tree, scoped to the authenticated user's account access.
Tree structure
Each node in the tree contains:
org_unit_id and org_unit_name — the group's unique identifier and display name.
org_unit_parent_id — the parent node's ID (null for the root).
coded_level — a dotted-notation level string (e.g. 1.2.3) that encodes depth and position for display purposes.
children — an array of child nodes, recursively structured.
Active filter
Set active=true (default) to return only active groups — the standard view for UI pickers and dropdowns. Set active=false to include inactive/archived groups as well, useful for admin audit views.
Authorization
The tree is automatically scoped to the org units accessible to the authenticated user. Users with narrow access see only their portion of the hierarchy.

Request

Authorization
Bearer Token
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
or
Query Params

Responses

🟢200
application/json
Successfully retrieved group tree
Body

🟠400
🟠401
🔴500
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://platform-api.convirza.com/v3/groups/tree?active' \
--header 'Authorization: Bearer <token>'
Response Response Example
200 - Example 1
{
    "code": 200,
    "message": "Success",
    "data": {
        "groups": [
            {
                "org_unit_id": 1001,
                "text": "Corporate Headquarters",
                "code": "1",
                "group_level": 1
            },
            {
                "org_unit_id": 1002,
                "text": "Sales Division",
                "code": "1.1",
                "group_level": 2
            },
            {
                "org_unit_id": 1003,
                "text": "East Coast Sales",
                "code": "1.1.1",
                "group_level": 3
            }
        ]
    },
    "request_id": "550e8400-e29b-41d4-a716-446655440000",
    "timestamp": "2026-01-20T12:34:56.789Z"
}
Modified at 2026-04-03 14:27:57
Previous
List Child Groups
Next
Get Group Details
Built with