This API lets you fetch all of the LOAs you’ve created.
GET
https://api.plivo.com/v1/Account/{auth_id}/HostedMessagingNumber/LOA/<filters>
aliasstring | Friendly name for the LOA. |
A dictionary with an objects
property that contains a list of up to limit
hosted messaging numbers. Each tuple in the list is a separate LOA
object.
HTTP Status Code: 200
{
"api_id": "df88473a-407e-11ec-a1c3-0242ac110006",
"meta_response": {
"limit": 20,
"next": null,
"offset": 0,
"previous": null,
"total_count": 1
},
"objects": [
{
"alias": "testing3",
"created_at": "2022-10-13T05:51:47.946467Z",
"file": "file_PDF_500_kB.pdf",
"linked_numbers": [
"12142292316"
],
"loa_id": "e70c9618-2438-4470-949d-3ad777745069",
"resource_uri": "/v1/Account/MA2025RK4E639VJFZAGV/HostedMessagingNumber/LOA/e70c9618-2438-4470-949d-3ad777745069/"
}
]
}
1
2
curl -i --user AUTH_ID:AUTH_TOKEN \
https://api.plivo.com/v1/Account/{auth_id}/HostedMessagingNumber/LOA/