Skip to content

View one extension

Request:

GET /api/v2/extensions/<extension-id>.json

Example of response:

{
    "extension": {
        "ext_id": "01c1a942-1e6a-11ef-9119-9b3d971aa321",
        "extension": "12005040976",
        "user_id": "3fce14ba-0848-440c-95a1-98d376067b77",
        "tenant_id": "209e8a10-e250-4824-8567-43f48e07a060"
    }
}

Response contains HTTP status code as shown in the following table.

Response Description
200 OK The extension is returned in the response body
403 Forbidden The request cannot be completed because API user has no permission to view extensions
404 Not Found Extension with such ID does not exist, or it is outside the access scope of the API user