patch https://api.motioncxapps.com/ir/v1/phone-extension
This call allows adding of a phone extension and editing an existing phone extension.
- Authentication required, please visit this page for Authentication How To.
Parameters
- TenantID - How your specific customer instance is identified, this will be a number. Find this in the app Help (?) icon > MotionCX Voice > Tenant:
- UserID - Agent ID column in Administration > General Admin > Users
- Extension - Extension number to be added.
- ExtensionType - Defined in documentation.
- VoicemailEnabled - True/False.
- VoicemailGreeting - Type what the voicemail message should say to the caller, if VoicemailEnabled = True.
Responses available:
- 200
- 401
- 403
Example return
{
"tenantId": 2026,
"userId": 11583,
"extension": "9999",
"settings": "{\"extensionType\":1,\"voicemailEnabled\":true,\"voicemailGreeting\":\"Please leave a message\"}"
}