Pipeline — Tạo

Tạo mới một pipeline qua POST.

Xem Markdown

Endpoint POST /v1/pipelines tạo mới một pipeline.

Endpoint

MethodEndpointMô tả
POST/v1/pipelinesTạo mới pipeline

Tham số thân yêu cầu (Body Parameters)

Tham sốKiểuBắt buộcMô tả
namestringCóTên pipeline

Kiểm thử tại chỗ

POSThttps://crm-gateways.hitechcloud.vn/v1/pipelines

Gửi thử sẽ ghi dữ liệu thật trên môi trường được chọn. Nên thử trên Sandbox trước. Token không được lưu lại.

Body
cURL tạo mới
curl -X POST "https://crm-gateways.hitechcloud.vn/v1/pipelines" \
  -H "Authorization: Bearer YOUR_ACCESS_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "name": "Quy trinh ban hang"
  }'
Phản hồi (201 Created)
{
  "status": "success",
  "data": {
    "id": "pl_sales",
    "name": "Quy trinh ban hang",
    "stage_count": 5,
    "is_default": true,
    "created_at": "2026-01-01T08:00:00+07:00"
  }
}