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

Create customer morning brief

POST/workspaces/{organizationId}/customers/morning-brief
Authorization
AuthorizationBearer token · headerrequired

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

Path parameters
organizationIdstringrequired
Request body
application/json
ownerIdstring
limitinteger
min 1 · max 100
Responses
200

Ranked daily rep morning brief with why-now and next action

generatedAtstringrequired
totalCandidatesnumberrequired
itemsobject[]required
Try it
Server
Authorization
Parameters
Bodyapplication/json
Request
curl -X POST 'https://pile.nyc/workspaces/string/customers/morning-brief' \
  -H 'Authorization: Bearer YOUR_TOKEN' \
  -H 'Accept: application/json' \
  -H 'Content-Type: application/json' \
  -d '{
  "ownerId": "string",
  "limit": 1
}'
Response
{
  "generatedAt": "string",
  "totalCandidates": 0,
  "items": [
    {
      "property1": null,
      "property2": null
    }
  ]
}

Was this page helpful?