API - SISTEMA | BAILEYS | OFIC...

Obter Mensagens por Protocolo

1min
retorna mensagens somente se o protocolo estiver encerrado / finalizado! \<?php $curl = curl init(); curl setopt array($curl, array( curlopt url => 'https //{backend url}/api/tickets/messages/6126', curlopt returntransfer => true, curlopt encoding => '', curlopt maxredirs => 10, curlopt timeout => 0, curlopt followlocation => true, curlopt http version => curl http version 1 1, curlopt customrequest => 'get', curlopt postfields =>'{ "protocol" "6126" }', curlopt httpheader => array( 'content type application/json', 'authorization bearer token meu' ), )); $response = curl exec($curl); curl close($curl); echo $response;