- List messages for a support ticket
List all messages in a support ticket conversation, ordered by position.
Access control follows the same rules as the parent support ticket:
- User-scoped tokens: Can only access messages for tickets belonging to that user
- Organization-scoped tokens: Can only access messages for tickets belonging to users in that organization
- Tokens with access_all_areas: Can access messages for all tickets including those without a user
- Mock serverhttps://developers.ev.energy/_mock/ev.energy-api-v2/support_tickets/{support_ticket_id}/messages
- Live API for both production and sandbox requests.https://api.ev.energy/v2/support_tickets/{support_ticket_id}/messages
- Staging server for internal testing only.https://api-staging.ev.energy/v2/support_tickets/{support_ticket_id}/messages
curl -i -X GET \
'https://developers.ev.energy/_mock/ev.energy-api-v2/support_tickets/tick01HN2NJ9NMRZBXT1H6FT9N7735/messages?message_type=string&message_type__in=string&position=0&position__gte=0&position__lte=0' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'EvEnergy-Version: 2'Returns a list of messages for the specified support ticket.
Indicates the version of the API that generated this response. If EvEnergy-Version was not specified in the request, this will be your OAuth application's default version.
The maximum number of requests that can be made to this endpoint per hour. Defaults to 1000 but may vary per client.
The number of requests remaining until this client's rate limit is reached.
Unique identifier for the message.
The position in the conversation history. 0 is the first message.
The type of message in the ticket conversation.
The message from the agent or customer.
A cleaned version of the message with all unnecessary text removed.
[ { "id": "tmsgA1B2C3D4E5F6G7H8I9J0K1L2M3", "position": 0, "message_type": "INITIAL_REQUEST", "message": "I am having trouble connecting my Tesla to the app.", "message_clean": "Having trouble connecting Tesla to app.", "created_at": "2019-08-24T14:15:22Z" } ]