{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/GetConversation",
"title": "GetConversation",
"required": [
"id",
"from",
"to",
"subject",
"firstWords",
"body",
"hasAttachment",
"attachmentNames",
"date"
],
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "Conversation ID.",
"example": "2023-01-23t09-23-08_619a80a05aa34efb982b309c7a1910e3"
},
"from": {
"$ref": "#/components/schemas/From"
},
"to": {
"type": "array",
"items": {
"$ref": "#/components/schemas/To"
},
"description": "Conversation receiver."
},
"subject": {
"type": "string",
"description": "Conversation content subject.",
"example": "Your payment has been aproved."
},
"firstWords": {
"type": "string",
"description": "First words of Conversation content.",
"example": "Your payment has been aproved and we are waiting for..."
},
"body": {
"type": "string",
"description": "Conversation content body.",
"example": "
recorrenciaqa Seu pagamento foi aprovado. Referente ao Pedido #1305371685465-01 | Ol\u00e1, jose. Estamos providenciando a emiss\u00e3o da Nota Fiscal do seu pedido e o envio do seu produto. | Pagamento Visa final 1111 R$ 3,99 \u00e0 vista | | Atenciosamente, Equipe recorrenciaqa | |
"
},
"hasAttachment": {
"type": "boolean",
"description": "When set as `true`, it means there are attachments, when set as `false`, there are not.",
"example": false
},
"attachmentNames": {
"type": "array",
"items": {
"type": "string",
"description": "Name of the attachment.",
"example": "attachments439505"
},
"description": "List with attachments' names, if there are any."
},
"date": {
"type": "string",
"description": "Conversation date.",
"example": "2023-01-23T09:23:31.0000000+00:00"
}
},
"example": {
"id": "2023-01-23t09-23-08_619a80a05aa34efb982b309c7a1910e3",
"from": {
"conversationRelatedTo": "1305371685465-01",
"conversationSubject": "oms",
"emailAlias": "noreply@vtexcommerce.com.br-9814872b.ct.store.com.br",
"aliasMaskType": 0,
"email": "noreply@store.com.br",
"name": "no reply",
"role": "null"
},
"to": [
{
"conversationRelatedTo": "1305371685465-01",
"conversationSubject": "oms",
"emailAlias": "64d8bd8dbe5c4e7b93b8b3c237e50be1@ct.name.com.br",
"aliasMaskType": 0,
"email": "customer.name@email.com",
"name": "Mary John",
"role": "Customer"
}
],
"subject": "Your payment has been aproved.",
"firstWords": "Your payment has been aproved and we are waiting for...",
"body": " recorrenciaqa Seu pagamento foi aprovado. Referente ao Pedido #1305371685465-01 | Ol\u00e1, jose. Estamos providenciando a emiss\u00e3o da Nota Fiscal do seu pedido e o envio do seu produto. | Pagamento Visa final 1111 R$ 3,99 \u00e0 vista | | Atenciosamente, Equipe recorrenciaqa | |
",
"hasAttachment": false,
"attachmentNames": [
"attachments439505"
],
"date": "2023-01-23T09:23:31.0000000+00:00"
}
}