Home > API Center > API interface guide

 

Query Strategy Template List

POST

https://api.laaffic.com/v3/voice/dimension/queryPage

Query the list of standard IVR/AI Agent strategy templates
 
Request Parameters
Parameter Description Required Type
current Current page number, 1–N Yes Integer
size Items per page, 1–100 Yes Integer
params Pagination parameters Yes JSONObject
dimensionId Strategy template ID, exact match No Integer
templateType Strategy template type: 1 standard group calling, 2 AI Agent group calling, 3 TTS (with configuration), 4 TTS (statistics only); omit to return all types No Integer
dimensionName Strategy template name, partial match No String
appName Application ID or application name No String
 
Request Example
Request URL:
    https://api.laaffic.com/v3/voice/dimension/queryPage
Request Method:
    POST
Request Headers:
    Content-Type: application/json;charset=UTF-8
    Sign: 05d7a50893e22a5c4bb3216ae3396c7c
    Timestamp: 1630468800
    Api-Key: bDqJFiq9
Request Body:
{
    "current": 1,
    "size": 10,
    "params": {
		    "templateType": 2,
        "dimensionName": "Notification",
        "appName": "123"
    }
}
 
Response Parameters
Parameter Description Type
code Status code: 0 for success; for other codes, see Response Status Codes for details String
reason Description of the failure reason String
data Paginated data JSONObject
total Total number of records Integer
size Items per page Integer
current Current page number Integer
pages Total number of pages Integer
records Record set JSONArray
dimensionId Strategy template Integer
templateType Strategy template type; values are the same as the request parameter templateType Integer
dimensionName Strategy template name String
idxAppId Bound application ID; empty if no application is bound Integer
appName Bound application name; empty if no application is bound String
remark Remarks String
createTime Creation time, format: yyyy-MM-dd HH:mm:ss String
 
Response Example
{
    "code": 0,
    "reason": "success",
    "data": {
        "records": [
            {
                "dimensionId": 1001,
                "templateType": 2,
                "dimensionName": "Notification AI Agent template",
                "idxAppId": 123,
                "appName": "My application",
                "remark": "For testing",
                "createTime": "2026-11-20 10:30:00"
            }
        ],
        "total": 574,
        "size": 1,
        "current": 1,
        "searchCount": true,
        "pages": 574
    }
}

Was this page helpful?

Questions about integration? Contact our technical support

LAAFFIC API dedicated TG technical support channel, real-time response to your needs

Contact via Telegram

Telegram
WhatsApp
Chat with us!
Need help?
Click here and start chatting with us!