Preset categories

The user's unfinished template drafts, most recently touched first.

Resuming a conversation already worked by id; what was missing was any way to find one. Without this, a draft someone closed the tab on was only reachable through Jobs, which is not where anyone looks for a half-built template.

Free, no lambda, no joins.

GET
/template-chat

Authorization

token_auth
AuthorizationBearer <token>

Token-based authentication using access tokens.

In: header

Query Parameters

limit?Limit

How many unfinished drafts to return, most recently touched first.

Default3
Range1 <= value <= 5

Response Body

application/json

application/json

curl -X GET "https://v2.api.piktid.com/template-chat"
{
  "drafts": []
}
{
  "error": "Invalid request",
  "detail": [
    {
      "field": null,
      "message": "string",
      "position": "query"
    }
  ]
}
Empty