Skip to main content
POST
/
table
Create a table
curl --request POST \
  --url https://app.myhero.so/table \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "projectId": "<string>",
  "name": "<string>",
  "description": "<string>",
  "resolveConflictServer": true,
  "skipDefaultColumn": true
}
'
{
  "data": {
    "_id": "<string>",
    "name": "<string>",
    "slug": "<string>",
    "rows": [
      "<string>"
    ],
    "columns": [
      "<string>"
    ],
    "isStatic": false,
    "ownerId": "<string>",
    "projectId": "<string>",
    "workspaceId": "<string>",
    "createdAt": 123,
    "updatedAt": 123,
    "originId": "<string>",
    "description": "<string>",
    "icon": {
      "name": "<string>",
      "color": "<string>"
    },
    "isDeleted": false
  }
}

Authorizations

Authorization
string
header
required

HERO personal access token

Body

application/json
projectId
string
required
Minimum string length: 1
name
string
description
string
resolveConflictServer
boolean
skipDefaultColumn
boolean

Response

200 response

data
object
required