Deprecation of `textBody` and `messagingTemplate` fields

Description

We have deprecated the fields textBody and messagingTemplate from the response of api/v2/conversations/messages/agentless.

To get the values of those fields, please use instead:

For textBody, you can find the same information in message.normalizedMessage.text

For messagingTemplate, you can find the same information in message.normalizedMessage.content[index].template

Change Category

API

Change Context

Using normalizedMessage for getting the sent message information is the preferred way to fetch this information.

Change Impact

Customers should use the new fields, but we will not remove the deprecated fields until we can demonstrate that no customers are utilizing them.

Date of Change

Immediate

Impacted APIs

api/v2/conversations/messages/agentless

References

[MSG-6418]

Will this only effect the conversations/messages/agentless endpoint, or will textBody also be deprecated (later) for /api/v2/conversations/emails/{conversationId}/messages/{messageId}?

1 Like

These changes are for the Agentless messaging endpoint only. This will not have any effect on the email endpoint (/api/v2/conversations/emails/{conversationId}/messages/{messageId}) textBody field.