WASync · Schema

CreateConnectionRequest

CompanyWhatsAppCRMIntegrationBitrix24Pipedrive

Properties

Name Type Description
label string Optional human-readable label for the connection.
country string ISO 3166-1 alpha-2 country of the phone number that will be paired, when you know it. Optional. Lets WASync place the session in that country from the first second; without it the country is taken fro
clientRef string Optional. Your own id for the END CUSTOMER this number belongs to (e.g. your tenant or account id), when one workspace serves many customers. WASync keeps the numbers of one customer together and isol
View JSON Schema on GitHub

JSON Schema

wasync-app-create-connection-request-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/wasync-app/json-schema/wasync-app-create-connection-request-schema.json",
  "title": "CreateConnectionRequest",
  "x-generated": "2026-11-28",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/wasync-app-openapi.json#/components/schemas/CreateConnectionRequest",
  "type": "object",
  "properties": {
    "label": {
      "type": "string",
      "description": "Optional human-readable label for the connection."
    },
    "country": {
      "type": "string",
      "pattern": "^[A-Za-z]{2}$",
      "description": "ISO 3166-1 alpha-2 country of the phone number that will be paired, when you know it. Optional. Lets WASync place the session in that country from the first second; without it the country is taken from the number after pairing. Case-insensitive. Anything that is not two letters is rejected with 400 `{\"error\":\"invalid_request\",\"field\":\"country\"}`. Part of the body compared for `Idempotency-Key`."
    },
    "clientRef": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "description": "Optional. Your own id for the END CUSTOMER this number belongs to (e.g. your tenant or account id), when one workspace serves many customers. WASync keeps the numbers of one customer together and isolated from other customers' numbers, and echoes the value back as `clientRef` on GET /connections. Send the same value for every number of the same customer; omit it for your own numbers. Trimmed; 1-128 printable characters, otherwise 400 `{\"error\":\"invalid_request\",\"field\":\"clientRef\"}`. Part of the body compared for `Idempotency-Key`."
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/wasync-app-create-connection-request"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.