Skip to main content
GET
/
api
/
openapi
/
v1
/
devices
/
{id}
Obter Dispositivo
curl --request GET \
  --url https://app.converza.io/api/openapi/v1/devices/{id} \
  --header 'Authorization: Bearer <token>'
{
  "success": true,
  "data": {
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "team_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "bot_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "name": "Dispositivo de Suporte 01",
    "status": "stopped",
    "type": "whatsapp",
    "connected": false,
    "blocked": false,
    "phone_number": "+5511999999999",
    "token": "device_token_abc123",
    "pool_url": "https://pool1.server-converza.io",
    "last_disconnect_reason": "<string>",
    "last_disconnect_at": "2023-11-07T05:31:56Z",
    "created_at": "2023-11-07T05:31:56Z",
    "updated_at": "2023-11-07T05:31:56Z"
  }
}

Authorizations

Authorization
string
header
required

Token JWT obtido do endpoint /api/openapi/auth/token

Path Parameters

id
string<uuid>
required

ID do Dispositivo (UUID)

Example:

"880e8400-e29b-41d4-a716-446655440003"

Response

Dispositivo recuperado com sucesso

success
boolean
Example:

true

data
object