The PbxImpersonation API allows to use other APIs in behalf of a specified user, with the login of the App Service. It is available for the following APIs:
{
    "api": "PbxImpersonation",
    "src": string,
    "mt": string
}This operation allows to create an api property, which can be used to address the target API as the given user. For this the user must be identified with a sip property and the target API with a target property.
Request message
{
    "api": "PbxImpersonation",
    "src": string,
    "mt": "CreateApi",
    "sip": string,
    "target": string
}Result message
{
    "api": "PbxImpersonation",
    "src": string,
    "mt": "CreateApiResult",
    "target": string
}This operation allows to delete an api property, that was previously created with the CreateApi operation.
Request message
{
    "api": "PbxImpersonation",
    "src": string,
    "mt": "DeleteApi",
    "target": string
}Result message
{
    "api": "PbxImpersonation",
    "src": string,
    "mt": "DeleteApiResult",
    "ok": bool
}