Create Tenant

This API is used to create tenant.

Note:

  • API used for integration case as Partner.

  • API_KEY: <shop_key>

  • Partner base_url information

CreateTenant

post
Body
objectOptional
Responses
200
A successful response
application/json
post
POST /CreateTenant HTTP/1.1
Host: $BASE_URL.ETelecom
Content-Type: application/json
Accept: */*
Content-Length: 2

{}
200

A successful response

{
  "connection_id": "text",
  "connection_method": "unknown",
  "created_at": "2025-08-03T06:01:54.885Z",
  "domain": "text",
  "id": "text",
  "name": "text",
  "owner_id": "text",
  "status": "Z",
  "updated_at": "2025-08-03T06:01:54.885Z"
}

Request:

curl --location '$BASE_URL.Etelecom/CreateTenant' \
--header 'Content-Type: application/json' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer $API_KEY' \
--data '{}'

Response:

{
  "connection_id": "string",
  "connection_method": "unknown",
  "created_at": "2019-08-24T14:15:22Z",
  "domain": "string",
  "id": "string",
  "name": "string",
  "owner_id": "string",
  "status": "Z",
  "updated_at": "2019-08-24T14:15:22Z"
}

Return data attribute structure:

Parameters
Data type
Describe

connection_id

string<int64>

Session ID

connection_method

string

Connection method

created_at

string<date-time>

Initialization time

domain

string

Domain of the switchboard

id

string<int64>

Call center ID

name

string

Name of the switchboard

owner_id

string<int64>

Manager ID

status

string

Status

Z: Newly created

P: Enable

N: Disable

updated_at

string<date-time>

Update date

Last updated