Skip to main content
POST
/
table
/
get-columns
Retrieve multiple columns
curl --request POST \
  --url https://app.myhero.so/table/get-columns \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "data": [
    "<string>"
  ]
}
'
{
  "data": [
    {
      "_id": "<string>",
      "projectId": "<string>",
      "tableId": "<string>",
      "workspaceId": "<string>",
      "isIdentifier": false,
      "name": "<string>",
      "slug": "<string>",
      "data": {
        "type": "identifier",
        "selectItems": [
          {
            "id": "<string>",
            "label": "<string>",
            "color": "<string>"
          }
        ],
        "number": {
          "format": "<string>",
          "decimalPlaces": 123
        },
        "oneMany": {
          "tableId": "<string>"
        }
      },
      "createdAt": 123,
      "updatedAt": 123,
      "originId": "<string>",
      "description": "<string>",
      "isDeleted": false
    }
  ]
}

Documentation Index

Fetch the complete documentation index at: https://developers.myhero.so/llms.txt

Use this file to discover all available pages before exploring further.

Accepts an array of column IDs and returns the subset belonging to tables the caller can access. Columns from inaccessible tables are silently omitted.

Authorizations

Authorization
string
header
required

HERO personal access token

Body

application/json
data
string[]
required
Minimum array length: 1
Minimum string length: 1

Response

200 response

data
object[]
required