Skip to content
API reference/Stations

Add a station

Add a station within the current plan limit. All stations share the workspace market.

POST/api/v1/stations

Authentication

Send your workspace key as xi-api-key or Authorization: Bearer.

stations:writewrite

Parameters

Named placeholders belong in the path. Other arguments use a JSON body.

callsRequired
string
formatOptional
string

Response

JSON response with status 200.

Requests and errors →
Illustrative arguments
{
  "calls": "YOUR_VALUE",
  "format": ""
}
Input schema
{
  "type": "object",
  "properties": {
    "calls": {
      "type": "string",
      "minLength": 1,
      "maxLength": 16,
      "pattern": "^[A-Za-z0-9-]+$"
    },
    "format": {
      "default": "",
      "type": "string",
      "maxLength": 64
    }
  },
  "required": [
    "calls"
  ],
  "additionalProperties": false
}
Response schema
{
  "type": "object",
  "properties": {
    "ok": {
      "type": "boolean",
      "const": true
    }
  },
  "required": [
    "ok"
  ],
  "additionalProperties": false
}