Listar números
Sirve para listar tus números de WhatsApp con su proveedor, si están conectados y activos y su estado de salud, y obtener los IDs que usan las demás operaciones.
GET
Lectura · requiere el permiso accounts:read.
Listado · perPage de 1 a 100 (por defecto 25) · orden fijo: id ascendente · no acepta parámetros de orden.
httpheader
AuthorizationBearer <clave>Array of DeviceResource
Paginated set of DeviceResource
application/json- response
[index: integer]?curl -X GET "https://example.com/devices"[ { "id": 0, "alias": "string", "image": "string", "color": "string", "number": "string", "normalized_number": "string", "first_conecction_at": "string", "user_id": 0, "provider": 1, "waba_id": "string", "whatsapp_username": "string", "is_business": 0, "connected": 0, "active": 0, "health": "string", "number_key": "string", "number_key_confirmed": "string", "is_coexistence": true, "slot_state": "string", "pool_suspended": true, "pool_suspension_reason": "string", "pool_keep": true, "qr_allowed": true, "can_change_to_meta": true, "capabilities": { "messages": { "text": true, "media": true, "buttons": true, "lists": true, "templates": true, "location": true, "voice_note": true, "polls": true, "events": true, "contact_card": true, "reactions": true }, "groups": { "create": true, "add_participants": true, "remove_participants": true, "admins": true, "photo": true, "settings": true, "invite_link": true, "send": true, "join_requests": true }, "statuses": [ "string" ] } }]