ReferenceSegmentos
Listar segmentos
Lista todos os segmentos do tenant.
Authorization
ApiKeyAuth api-key<token>
Chave de API no formato sk_live_....
In: header
Response Body
application/json
application/json
application/json
curl -X GET "https://example.com/api/external/list-segments"{ "success": true, "total": 0, "segments": [ { "id_segment": "string", "name": "string", "total_channels": 0, "total_groups": 0, "created_at": "2019-08-24T14:15:22Z", "monitoring": true } ]}{ "success": false, "error": "Unauthorized", "message": "Chave de API inválida ou ausente."}{ "success": false, "error": "Internal Server Error", "message": "Erro interno ao processar a requisição."}