Fetchply Docs

Read email recipients, delivery outcomes and review state

GET
/api/v1/agents/{id}/email/conversations/{sessionId}

Authorization

BearerAuth read:conversations
AuthorizationBearer <token>

In: header

Scope: read:conversations

Path Parameters

id*string
sessionId*string

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/api/v1/agents/string/email/conversations/string"
{
  "thread": {
    "sessionId": "string",
    "chatbotId": "string",
    "mailboxId": "string",
    "recipients": {
      "to": [
        "string"
      ],
      "cc": [
        "string"
      ]
    },
    "aiPaused": true,
    "revision": 0,
    "createdAt": "2019-08-24T14:15:22Z",
    "updatedAt": "2019-08-24T14:15:22Z"
  },
  "sender": {
    "address": "string",
    "name": "string"
  },
  "deliveries": [
    {
      "id": "string",
      "status": "string",
      "error": "string",
      "createdAt": "2019-08-24T14:15:22Z",
      "outcomes": [
        {
          "address": "string",
          "status": "string",
          "occurredAt": "string",
          "reason": "string"
        }
      ]
    }
  ],
  "messages": [
    {
      "id": "string",
      "reviewReason": "string",
      "recipients": {
        "to": [
          "string"
        ],
        "cc": [
          "string"
        ]
      },
      "aiStatus": "string"
    }
  ]
}
{
  "type": "string",
  "title": "string",
  "status": 0,
  "detail": "string",
  "issues": [
    {
      "path": "string",
      "message": "string"
    }
  ]
}
{
  "type": "string",
  "title": "string",
  "status": 0,
  "detail": "string",
  "issues": [
    {
      "path": "string",
      "message": "string"
    }
  ]
}
{
  "type": "string",
  "title": "string",
  "status": 0,
  "detail": "string",
  "issues": [
    {
      "path": "string",
      "message": "string"
    }
  ]
}
{
  "type": "string",
  "title": "string",
  "status": 0,
  "detail": "string",
  "issues": [
    {
      "path": "string",
      "message": "string"
    }
  ]
}
{
  "type": "string",
  "title": "string",
  "status": 0,
  "detail": "string",
  "issues": [
    {
      "path": "string",
      "message": "string"
    }
  ]
}