Skip to content
campaiDeveloper
campai.com

Crm ยท Conversations

GET/{organizationId}/{mandateId}/crm/conversations/{conversationId}/replyTexts/{templateId}Reads only

Get saved reply

Returns the message of a message text template with its placeholders filled in for the conversation's contact, in the contact's language. Without a contact the placeholders are left out.

Permissions

Send an API key of the organization in the path, using the X-API-Key header.

Permission checks in detail
Required permissions
  • conversation.read
  • dispatchDocument.insert
  • mandate.read
Also checked, depending on the request and the records it touches
  • contact:member.read
  • contact:address.read
  • contact:customer.read
  • contact:sponsor.read
  • contact:contributor.read
  • contact:employee.read
  • contact:supplier.read

Request

Path parameters

  • organizationIdidrequired
  • mandateIdidrequired
  • conversationIdidrequired
  • templateIdidrequired
Request
curl --fail-with-body --silent --show-error --max-time 30 --globoff \
  --request GET 'https://cloud.campai.com/api/YOUR_ORGANIZATION_ID/YOUR_MANDATE_ID/crm/conversations/YOUR_CONVERSATION_ID/replyTexts/YOUR_TEMPLATE_ID' \
  --header 'X-API-Key: YOUR_API_KEY'

Response

200 Successful response

Content-Type: application/json

  • messagestring
Response200
{
  "message": "string"
}

Errors

No errors of its own are known for this endpoint.

Errors nearly every request can meet are listed under Errors.