Conversation reply imports
Import a conversation reply
Backdated, no notifications/workflows/SLA. [requires "edit all tickets" scope]
AuthorizationBearer <token>
In: header
Path Parameters
idstring
The SparrowDesk conversation id
Header Parameters
x-import-source?string
Optional label identifying the system the reply was imported from
include_in_reports?boolean
Add the conversation to reports and recalculate its report data (first response and waiting times) from all of its replies. Conversations imported with include_in_reports are recalculated without it.
Default
falsereply
A single historical reply. Either author_id or author_email must be provided to resolve the reply author.
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://app.sparrowdesk.com/v1/imports/conversations/string/replies" \ -H "Content-Type: application/json" \ -d '{ "reply": { "author_type": "agent", "html_body": "string", "created_at": "2019-08-24T14:15:22Z" } }'{
"data": {
"external_id": "string",
"reply_id": 0,
"status": "created",
"author_fallback": true,
"issues": [
{
"type": "attachment",
"file_name": "string",
"reason": "string",
"retryable": true
}
],
"error": "string",
"conversation_id": "string",
"report_warning": "string"
}
}{
"message": "Unauthorized"
}{
"error": {
"message": "string"
}
}{
"error": {
"message": "string"
}
}{
"name": "RateLimitExceeded",
"message": "Rate limit exceeded for: APIS_PER_MINUTE",
"code": 429,
"details": [
{
"name": "APIS_PER_MINUTE",
"quota": 0,
"count": 0,
"remaining": 0
}
]
}