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

Place fields from detected field_candidates

Creates signature fields from anydoc field_candidates (with suggested bounding boxes). Agents use this instead of a UI click loop.

POST/documents/place-candidates
Authorization
AuthorizationBearer token · headerrequired

Pass your API key as a Bearer token. API keys are scoped to specific operations — configure scopes in your organization's Settings → Developer → API Keys.

Request body
requiredapplication/json
idstringrequired
indicesinteger[]
recipient_idstring
Responses
200

Placed

fieldIdsstring[]required
countintegerrequired
400

Invalid request parameters

typestringrequired

Machine-readable error code

statusintegerrequired

HTTP status code

titlestringrequired

Human-readable error message

detailsobject

Field-level validation errors

401

Missing or invalid API key

typestringrequired

Machine-readable error code

statusintegerrequired

HTTP status code

titlestringrequired

Human-readable error message

detailsobject

Field-level validation errors

404

Resource not found

typestringrequired

Machine-readable error code

statusintegerrequired

HTTP status code

titlestringrequired

Human-readable error message

detailsobject

Field-level validation errors

Try it
Server
Authorization
Bodyapplication/json
Request
curl -X POST "https://api.seal.nyc/api/v1/documents/place-candidates" \
  -H "Authorization: Bearer YOUR_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
  "id": "string",
  "indices": [
    0
  ],
  "recipient_id": "string"
}'
Response
{
  "fieldIds": [
    "string"
  ],
  "count": 0
}