---
title: "POST /v1/operations/lines.create"
method: POST
path: "/v1/operations/lines.create"
---

# POST /v1/operations/lines.create

`POST /v1/operations/lines.create`

## Request

- Base URL: `https://sagots.com` (the document declares no server; this is the origin it was published from)
- URL: `https://sagots.com/v1/operations/lines.create`
- Auth: HTTP bearer

## Request body

- object
  - `workspaceId` string, uuid, required
  - `provider` 'sandbox' | 'legacy_gateway' | 'gateway' | 'twilio' | 'sagot', required
  - `name` string
  - `isDefault` boolean
  - `accountSid` string
  - `apiKeySid` string
  - `apiKeySecret` string
  - `numbers` string[]
  - `callerId` string
  - `edge` 'singapore' | 'tokyo' | 'sydney' | 'ashburn' | 'umatilla' | 'dublin' | 'frankfurt' | 'sao-paulo'

## Response `200`

Operation result

## Other responses

- `400`: Structured error

---

[API](https://skmtc.dev/sagots/apis/sagot-operations.md) · [All operations](https://skmtc.dev/sagots/apis/sagot-operations/llms.txt) · [OpenAPI document](https://skmtc.dev/sagots/apis/sagot-operations/revisions/da45e0cbcbde?raw)
