Download 3CX Postman example (Save as and import file in postman)
GET Methods
{
"product": "3CX REST API",
"version": "2.1.9",
"release": "Webhooks",
"licenseExpire": "02.05.2031 20:32:11",
"clientLicensesNum": "50",
"concurrentCalls": 16,
"callRecords": true,
"api": true,
"quality": false
}
{
"result": 5
}
{
"count": 2,
"AConnByCallID": [
{
"callID": 46874,
"direction": "Internal",
"did": "",
"AConnList": [
{
"dnNum": "1739",
"dnType": "extension",
"externalParty": "1674",
"status": "Connected"
},
{
"dnNum": "1674",
"dnType": "extension",
"externalParty": "1739",
"status": "Connected"
}
]
},
{
"callID": 46883,
"direction": "Internal",
"did": "",
"AConnList": [
{
"dnNum": "1283",
"dnType": "extension",
"externalParty": "1126",
"status": "Connected"
},
{
"dnNum": "1126",
"dnType": "extension",
"externalParty": "1283",
"status": "Connected"
}
]
}
]
}
{
"count": 2,
"callsInfo": [
{
"callID": 46874,
"state": "Talking",
"startedAt": "2022-12-29T08:37:16Z",
"answeredAt": "2022-12-29T08:37:23Z",
"did": "",
"owner": {
"dnNum": "1739",
"dnType": "extension",
"externalParty": "1674",
"status": "Connected"
},
"talkTo": [
{
"dnNum": "1674",
"dnType": "extension",
"externalParty": "1739",
"status": "Connected"
}
],
"routingTo": []
},
{
"callID": 46864,
"state": "Talking",
"startedAt": "2022-12-29T08:23:58Z",
"answeredAt": "2022-12-29T08:24:01Z",
"did": "",
"owner": {
"dnNum": "1126",
"dnType": "extension",
"externalParty": "1283",
"status": "Connected"
},
"talkTo": [
{
"dnNum": "1283",
"dnType": "extension",
"externalParty": "1126",
"status": "Connected"
}
],
"routingTo": []
}
]
}
{
"nums": [
"90000",
"10002",
"10000",
"10001"
]
}
{
"nums": [
"100",
"101",
"102",
"103",
"104",
"105",
"106",
"520",
"521",
"522"
]
}
{
"nums": [
"100",
"101",
"102"
]
}
{
"nums": [
"945",
"803"
]
}
{
"nums": [
"HOL",
"777",
"QCB",
"800",
"801",
"805"
]
}
{
"extGroups": [
"__DEFAULT__",
"Company0",
"Sales",
"___FAVORITES___000"
]
}
{
"num": "102",
"name": "Tom",
"lastname": "Smith",
"email": "info@creomate.com",
"mobile": "",
"enabled": true,
"externalCalls": true,
"recordType": "External"
}
{
"num": "102",
"registered": true,
"status": "Free",
"fwdName": "Available",
"qGlobalStatus": true,
"qStatus": [
{
"num": "802",
"status": false
},
{
"num": "804",
"status": true
}
]
}
{
"count": 3,
"members": [
"520",
"521",
"522"
]
}
{
"count": 2,
"members": [
"520",
"521"
]
}
{
"count": 3,
"members": [
"101",
"102",
"520"
]
}
SET Methods
{
"result": true
}
{
"result": true
}
{
"result": true
}
{
"result": true
}
{
"result": true
}
3CX queue management
{
"count": 2,
"members": [
{
"num": "102",
"name": "Tom",
"lastname": "Smith",
"loggedIn": true
},
{
"num": "104",
"name": "Alex",
"lastname": "Mulder",
"loggedIn": false
}
]
}
{
"count": 1,
"members": [
{
"num": "102",
"name": "Tom",
"lastname": "Smith",
"loggedIn": true
}
]
}
{
"count": 1,
"members": [
{
"num": "102",
"name": "Tom",
"lastname": "Smith",
"loggedIn": true
}
]
}
{
"result": true
}
{
"nums": [
"820",
"802",
"804"
]
}
{
"result": true
}
{
"result": true
}
{
"result": "Create queue"
}
{
"result": "Update queue"
}
{
"result": "Delete queue"
}
3CX Call control API Methods
{
"first": "102",
"second": "420774852529"
}
{
"count": 2,
"devices": [
{
"userAgent": "3CX Mobile Client",
"contact": "sip:102@127.0.0.1:5483;rinstance=5a6cb7ecb40359bf"
},
{
"userAgent": "3CX WebRTC proxy",
"contact": "sip:102@127.0.0.1:5063;rinstance=b206569d67c8dd02"
}
]
}
{
"result": "Drop"
}
{
"result": "Answer"
}
{
"result": "Transfer"
}
{
"result": "Join"
}
3CX phonebook management
{
"id": [
6,
7
]
}
{
"id": 5
}
{
"result": "Delete contact"
}
{
"result": "Update contact"
}
{
"name": "FirstName",
"lastName": "LastName",
"company": "Company",
"crmContactData": "",
"tag": "",
"phone": "Mobile",
"data0": "Mobile2",
"data1": "Home",
"data2": "Home2",
"data3": "Business",
"data4": "Business2",
"data5": "Email",
"data6": "Other",
"data7": "Businessfax",
"data8": "Homefax",
"data9": "Pager"
}
3CX Extension management
{
"result": "Create extension"
}
{
"result": "Delete extension"
}
{
"result": "Update extension"
}
3CX Server management
{
"result":"CFD scripts have been reset"
}
{
"result":"Success"
}