cURL
curl --request PUT \ --url https://api.atendai.com/api/tickets/{ticketId} \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "name": "<string>", "number": "<string>", "email": "<string>", "profilePicUrl": "<string>", "isGroup": true, "isAdmin": true, "isOpen": true, "isBotEnabled": true, "utmCampaign": "<string>", "utmContent": "<string>", "utmMedium": "<string>", "utmSource": "<string>", "utmTerms": "<string>", "active": true, "channel": "<string>", "whatsappId": "<string>", "companyId": "<string>" }'
{ "message": "<success message>" }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
O ID do ticket a ser atualizado.
Successful response
The response is of type object.
object