Company logoTrust Center Documentation
API v1 ReferenceCustom tabs

Create a custom tab

Create a new custom tab for the tenant.

POST
/api/v1/custom-tabs

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Request Body

application/json

slug*string

Lowercase, hyphenated slug (used in the URL).

title?string
translations?array<>
content?
content_schema_version?string
order?integer
enabled?boolean
access_level?string
Value in"public" | "restricted" | "requires_nda" | "internal"

Response Body

application/json

curl -X POST "https://app.orbiqhq.com/api/v1/custom-tabs" \  -H "Content-Type: application/json" \  -d '{    "slug": "vendor-assurance",    "title": "Vendor Assurance",    "translations": [      {        "languages_code": "en-US",        "title": "Vendor Assurance"      },      {        "languages_code": "de-DE",        "title": "Anbieterprüfung"      }    ],    "access_level": "public",    "enabled": true,    "content": {      "layers": [        {          "id": "section-1",          "type": "tc-section",          "props": {            "width": "contained",            "padding": "md",            "background": "none"          },          "children": [            {              "id": "markdown-1",              "type": "tc-markdown",              "props": {                "content": "## Overview"              }            }          ]        }      ]    }  }'
{
  "success": true,
  "data": {
    "customTab": {
      "id": "string",
      "slug": "string",
      "title": "string",
      "order": 0,
      "enabled": true,
      "access_level": "public",
      "content": {
        "layers": [
          {
            "id": "string",
            "type": "string",
            "name": "string",
            "props": {
              "property1": "string",
              "property2": "string"
            },
            "children": [
              {
                "id": "string",
                "type": "string",
                "name": "string",
                "props": {
                  "property1": "string",
                  "property2": "string"
                },
                "children": []
              }
            ]
          }
        ],
        "variables": [
          {
            "id": "string",
            "name": "string",
            "type": "string",
            "defaultValue": "string"
          }
        ]
      },
      "content_schema_version": "string",
      "date_created": "2019-08-24T14:15:22Z",
      "date_updated": "2019-08-24T14:15:22Z",
      "translations": [
        {
          "id": "string",
          "languages_code": "en-US",
          "title": "string"
        }
      ]
    }
  }
}
Empty
Empty
Empty

How is this guide?