Get account device's registration info

This example shows you how return a list of devices associated with the account id.

Replace the following placeholder values in the sample code:

Key Description
bearer_token Your OAuth token. Read more about OAuth tokens
account_id The Vonage Business Communications account ID.
curl --location --request GET '$account_id/devices' \
--header 'Authorization: Bearer $bearer_token'