List custom columns
get
/v1/custom-columnsReturns every custom column defined for a given view root in the authenticated workspace.
Requires a bearer token: Authorization: Bearer <token>.
Query parameters
| Name | Type | Required | Description |
|---|---|---|---|
| root | string | Yes | View root (e.g. companies, people, invoices). |
Request
cURL
curl -X GET https://api.wellapp.ai/v1/custom-columns \
-H "Authorization: Bearer $WELL_API_TOKEN"Responses
200 — List of custom columns (JSON:API).
{
"data": {}
}400 — Invalid or missing root.
{
"code": "BAD_REQUEST",
"status": 400,
"title": "Bad Request",
"message": "See title.",
"meta": {
"trace_id": "a1b2c3",
"log_id": "a1b2c3"
}
}401 — Unauthorized / workspace not resolved.
{
"code": "UNAUTHORIZED",
"status": 401,
"title": "Unauthorized",
"message": "See title.",
"meta": {
"trace_id": "a1b2c3",
"log_id": "a1b2c3"
}
}