CognitiveX Docs
API

POST /api/billing/create-portal

Create Portal

POST /api/billing/create-portal

Create Portal

Authentication: Authorization: Bearer <key> or X-API-Key: <key>. Create keys at developers.cognitivx.io/keys.

Parameters

NameInTypeRequiredDescription
X-Org-IDheaderstring | nullNo-

Example request

curl -X POST https://api.cognitivx.io/api/billing/create-portal \
  -H "Authorization: Bearer icog_..."

Example response

200 application/json

{
  "url": "https://example.com"
}

Responses

StatusDescription
200Success. Returns the response body shown below.
422Request validation failed. detail lists each offending field.