Skip to content
Pile
Esc
↑↓navigate↵open⌘Jpreview

Create customer reply ingest

POST/workspaces/{organizationId}/customers/{id}/reply-ingest
Authorization
AuthorizationBearer token · headerrequired

Workspace API key (Authorization: Bearer <key>). Issue keys under Settings → Developer or POST /workspaces/{organizationId}/tokens.

Path parameters
organizationIdstringrequired
idstringrequired
Request body
application/json
subjectstring
default: ""
bodystringrequired
min length 1
fromEmailstring
statementFileIdstring
Responses
200

Classified 16-category Unify reply, applied opt-out/bounce suppression, and created statement checklist if applicable

classifiedobjectrequired
suppressedbooleanrequired
enrollmentobjectrequired
tasksobject[]required
statementChecklistobject | nullrequired
404

Customer not found

Try it
Server
Authorization
Parameters
Bodyapplication/json
Request
curl -X POST 'https://pile.nyc/workspaces/string/customers/string/reply-ingest' \
  -H 'Authorization: Bearer YOUR_TOKEN' \
  -H 'Accept: application/json' \
  -H 'Content-Type: application/json' \
  -d '{
  "subject": "",
  "body": "string",
  "fromEmail": "string",
  "statementFileId": "string"
}'
Response
{
  "classified": {
    "property1": null,
    "property2": null
  },
  "suppressed": true,
  "enrollment": {
    "property1": null,
    "property2": null
  },
  "tasks": [
    {
      "property1": null,
      "property2": null
    }
  ],
  "statementChecklist": {
    "property1": null,
    "property2": null
  }
}

Was this page helpful?