Skip to main content
POST
/
workspace
/
{workspace_id}
/
apigroup
Create a new API group in a workspace. Include name, description, and optional tags.
curl --request POST \
  --url https://x8ki-letl-twmt.n7.xano.io/api:meta/workspace/{workspace_id}/apigroup \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "description": "<string>",
  "swagger": true,
  "branch": "<string>",
  "docs": "<string>",
  "tag": [
    "<string>"
  ]
}
'
{
  "id": 1,
  "created_at": "2023-04-19 21:01:32+0000",
  "updated_at": "2023-04-19 21:01:32+0000",
  "name": "API Group Test",
  "description": "My API groups description",
  "docs": "Documentation",
  "guid": "YE1fwVhQ-enRlc6Sb42Gqru58-0",
  "canonical": "FRzyRdY0",
  "branch": "v1",
  "tag": [
    "example tag"
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

workspace_id
integer<int64>
required

Body

name
string
required
description
string
required
swagger
boolean
required
branch
string
docs
string
tag
string[] | null

Response

Success!

id
integer<int64>
default:1
created_at
string<timestamptz>
default:2023-04-19 21:01:32+0000
updated_at
string<timestamptz>
default:2023-04-19 21:01:32+0000
name
string
default:API Group Test
description
string
default:My API groups description
docs
string
default:Documentation
guid
string
default:YE1fwVhQ-enRlc6Sb42Gqru58-0
canonical
string
default:FRzyRdY0
branch
string
default:v1
tag
string[]