本译文由机器生成,正在等待中文母语人士审核。

API 参考

所有公开端点,均根据 API 实际执行的同一套定义生成。端点和字段名称为英文。

OpenAPI v0.1.0 · openapi.json · 开发者

ads

GET /v1/workspaces/{tenantId}/ads 🔒

参数:tenantId (path, 必填)

POST /v1/workspaces/{tenantId}/ads/accounts 🔒

参数:tenantId (path, 必填)

  • provider * — meta | tiktok | snapchat | simulated
  • externalAccountId * — string
  • name * — string
  • currency * — string
  • accessToken — string
POST /v1/workspaces/{tenantId}/ads/accounts/{accountId}/insights 🔒

参数:tenantId (path, 必填), accountId (path, 必填)

  • day * — string
POST /v1/workspaces/{tenantId}/ads/anomalies/{anomalyId}/acknowledge 🔒

参数:tenantId (path, 必填), anomalyId (path, 必填)

GET /v1/workspaces/{tenantId}/ads/audiences 🔒

参数:tenantId (path, 必填)

POST /v1/workspaces/{tenantId}/ads/audiences 🔒

参数:tenantId (path, 必填)

  • accountId * — string
  • name * — string
  • segmentId — string
  • listId — string
POST /v1/workspaces/{tenantId}/ads/audiences/{audienceId}/sync 🔒

参数:tenantId (path, 必填), audienceId (path, 必填)

GET /v1/workspaces/{tenantId}/ads/authorizations/{authorizationId} 🔒

参数:tenantId (path, 必填), authorizationId (path, 必填)

POST /v1/workspaces/{tenantId}/ads/authorizations/{authorizationId}/connect 🔒

参数:tenantId (path, 必填), authorizationId (path, 必填)

  • accountIds * — array
POST /v1/workspaces/{tenantId}/ads/campaigns 🔒

参数:tenantId (path, 必填)

  • accountId * — string
  • name * — string
  • objective * — string
  • dailyBudgetMinor * — integer
  • nativeSettings — object
POST /v1/workspaces/{tenantId}/ads/campaigns/{campaignId}/budget 🔒

参数:tenantId (path, 必填), campaignId (path, 必填)

  • dailyBudgetMinor * — integer
POST /v1/workspaces/{tenantId}/ads/campaigns/{campaignId}/pause 🔒

参数:tenantId (path, 必填), campaignId (path, 必填)

POST /v1/workspaces/{tenantId}/ads/campaigns/{campaignId}/publish 🔒

参数:tenantId (path, 必填), campaignId (path, 必填)

POST /v1/workspaces/{tenantId}/ads/campaigns/{campaignId}/resume 🔒

参数:tenantId (path, 必填), campaignId (path, 必填)

POST /v1/workspaces/{tenantId}/ads/campaigns/{campaignId}/schedule 🔒

参数:tenantId (path, 必填), campaignId (path, 必填)

  • startAt — string | null
  • endAt — string | null
POST /v1/workspaces/{tenantId}/ads/campaigns/{campaignId}/sync 🔒

参数:tenantId (path, 必填), campaignId (path, 必填)

GET /v1/workspaces/{tenantId}/ads/intelligence 🔒

参数:tenantId (path, 必填)

POST /v1/workspaces/{tenantId}/ads/intelligence/refresh 🔒

参数:tenantId (path, 必填)

GET /v1/workspaces/{tenantId}/ads/lead-pages 🔒

参数:tenantId (path, 必填)

POST /v1/workspaces/{tenantId}/ads/lead-pages 🔒

参数:tenantId (path, 必填)

  • pageId * — string
  • accountId — string
  • pipelineId —
  • stageKey —
  • consentMap —
DELETE /v1/workspaces/{tenantId}/ads/lead-pages/{pageId} 🔒

参数:tenantId (path, 必填), pageId (path, 必填)

POST /v1/workspaces/{tenantId}/ads/leads/{leadId}/retry 🔒

参数:tenantId (path, 必填), leadId (path, 必填)

GET /v1/workspaces/{tenantId}/ads/meta-pages 🔒

参数:tenantId (path, 必填), accountId (query)

POST /v1/workspaces/{tenantId}/ads/oauth/{provider}/start 🔒

参数:tenantId (path, 必填), provider (path, 必填)

POST /v1/workspaces/{tenantId}/ads/operations/{operationId}/approve 🔒

参数:tenantId (path, 必填), operationId (path, 必填)

POST /v1/workspaces/{tenantId}/ads/operations/{operationId}/reconcile 🔒

参数:tenantId (path, 必填), operationId (path, 必填)

POST /v1/workspaces/{tenantId}/ads/policy 🔒

参数:tenantId (path, 必填)

  • thresholdMinor * — integer
  • currency * — string
POST /v1/workspaces/{tenantId}/ads/recommendations/{recommendationId}/decision 🔒

参数:tenantId (path, 必填), recommendationId (path, 必填)

  • decision * — DISMISSED | ACTIONED
GET /v1/workspaces/{tenantId}/ads/report 🔒

参数:tenantId (path, 必填), from (query, 必填), to (query, 必填)

GET /v1/workspaces/{tenantId}/ads/roas 🔒

参数:tenantId (path, 必填), from (query, 必填), to (query, 必填)

ai

GET /v1/workspaces/{tenantId}/ai 🔒

参数:tenantId (path, 必填)

POST /v1/workspaces/{tenantId}/ai/agents 🔒

参数:tenantId (path, 必填)

  • name * — string
  • mode * — COPILOT | ASSISTED | LIMITED_AUTONOMOUS
  • instructions * — string
  • provider — simulated | anthropic
  • model — string
  • allowedTools * — array
  • knowledgeTags — array
  • maxSteps — integer
  • maxCostMinor * — integer
GET /v1/workspaces/{tenantId}/ai/agents/{agentId} 🔒

参数:tenantId (path, 必填), agentId (path, 必填)

POST /v1/workspaces/{tenantId}/ai/agents/{agentId}/activate 🔒

参数:tenantId (path, 必填), agentId (path, 必填)

POST /v1/workspaces/{tenantId}/ai/agents/{agentId}/disclosure 🔒

参数:tenantId (path, 必填), agentId (path, 必填)

  • on * — boolean
  • reason — string
GET /v1/workspaces/{tenantId}/ai/agents/{agentId}/insights 🔒

参数:tenantId (path, 必填), agentId (path, 必填), days (query)

POST /v1/workspaces/{tenantId}/ai/agents/{agentId}/pause 🔒

参数:tenantId (path, 必填), agentId (path, 必填)

POST /v1/workspaces/{tenantId}/ai/agents/{agentId}/run 🔒

参数:tenantId (path, 必填), agentId (path, 必填)

  • text * — string
  • conversationId — string
  • provider — simulated | anthropic
POST /v1/workspaces/{tenantId}/ai/agents/{agentId}/test 🔒

参数:tenantId (path, 必填), agentId (path, 必填)

  • text * — string
  • version — integer
POST /v1/workspaces/{tenantId}/ai/agents/{agentId}/versions 🔒

参数:tenantId (path, 必填), agentId (path, 必填)

  • name — string
  • mode * — COPILOT | ASSISTED | LIMITED_AUTONOMOUS
  • instructions * — string
  • provider — anthropic | simulated
  • model — string
  • allowedTools * — array
  • knowledgeTags — array
  • maxSteps — integer
  • maxCostMinor * — integer
  • memoryEnabled — boolean
  • autoReply — boolean
  • channels — array
  • handoffKeywords — array
  • changeNote — string
GET /v1/workspaces/{tenantId}/ai/analytics 🔒

参数:tenantId (path, 必填), days (query)

GET /v1/workspaces/{tenantId}/ai/approvals 🔒

参数:tenantId (path, 必填), agentId (query), status (query)

POST /v1/workspaces/{tenantId}/ai/approvals/{approvalId} 🔒

参数:tenantId (path, 必填), approvalId (path, 必填)

  • approve * — boolean
POST /v1/workspaces/{tenantId}/ai/knowledge 🔒

参数:tenantId (path, 必填)

  • title * — string
  • body * — string
  • tags — array
GET /v1/workspaces/{tenantId}/ai/knowledge 🔒

参数:tenantId (path, 必填)

POST /v1/workspaces/{tenantId}/ai/knowledge/documents 🔒

参数:tenantId (path, 必填)

  • name * — string
  • contentType * — text/plain | text/markdown | text/html | text/csv | application/json | application/vnd.openxmlformats-officedocument.wordprocessingml.document | application/pdf | image/png | image/jpeg | image/webp
  • content — string
  • contentBase64 — string
  • transcribe — boolean
  • tags — array
DELETE /v1/workspaces/{tenantId}/ai/knowledge/documents/{sourceId} 🔒

参数:tenantId (path, 必填), sourceId (path, 必填)

GET /v1/workspaces/{tenantId}/ai/runs 🔒

参数:tenantId (path, 必填), agentId (query), limit (query)

GET /v1/workspaces/{tenantId}/ai/runs/{runId} 🔒

参数:tenantId (path, 必填), runId (path, 必填)

GET /v1/workspaces/{tenantId}/ai/spending 🔒

参数:tenantId (path, 必填)

analytics

GET /v1/workspaces/{tenantId}/analytics 🔒

参数:tenantId (path, 必填), days (query)

GET /v1/workspaces/{tenantId}/analytics/activity-map 🔒

参数:tenantId (path, 必填), days (query)

GET /v1/workspaces/{tenantId}/analytics/bi 🔒

参数:tenantId (path, 必填), from (query, 必填), to (query, 必填)

GET /v1/workspaces/{tenantId}/analytics/trends 🔒

参数:tenantId (path, 必填), from (query), to (query), period (query)

audience

GET /v1/workspaces/{tenantId}/audience/lists 🔒

参数:tenantId (path, 必填)

POST /v1/workspaces/{tenantId}/audience/lists 🔒

参数:tenantId (path, 必填)

  • name * — string
  • description — string
GET /v1/workspaces/{tenantId}/audience/lists/{listId} 🔒

参数:tenantId (path, 必填), listId (path, 必填)

PATCH /v1/workspaces/{tenantId}/audience/lists/{listId} 🔒

参数:tenantId (path, 必填), listId (path, 必填)

  • name — string
  • description — string
  • notes — string
DELETE /v1/workspaces/{tenantId}/audience/lists/{listId} 🔒

参数:tenantId (path, 必填), listId (path, 必填)

POST /v1/workspaces/{tenantId}/audience/lists/{listId}/export 🔒

参数:tenantId (path, 必填), listId (path, 必填)

  • headers — object
GET /v1/workspaces/{tenantId}/audience/lists/{listId}/members 🔒

参数:tenantId (path, 必填), listId (path, 必填), q (query), cursor (query), limit (query)

POST /v1/workspaces/{tenantId}/audience/lists/{listId}/members 🔒

参数:tenantId (path, 必填), listId (path, 必填)

  • contactIds * — array
  • remove — boolean
POST /v1/workspaces/{tenantId}/audience/lists/{listId}/members/filter 🔒

参数:tenantId (path, 必填), listId (path, 必填)

  • dryRun — boolean
  • filter * — object
GET /v1/workspaces/{tenantId}/audience/lists/{listId}/reach 🔒

参数:tenantId (path, 必填), listId (path, 必填)

GET /v1/workspaces/{tenantId}/audience/segments 🔒

参数:tenantId (path, 必填)

POST /v1/workspaces/{tenantId}/audience/segments 🔒

参数:tenantId (path, 必填)

  • id — string
  • name * — string
  • rules * — object
DELETE /v1/workspaces/{tenantId}/audience/segments/{segmentId} 🔒

参数:tenantId (path, 必填), segmentId (path, 必填)

GET /v1/workspaces/{tenantId}/audience/segments/{segmentId}/members 🔒

参数:tenantId (path, 必填), segmentId (path, 必填), cursor (query), limit (query)

POST /v1/workspaces/{tenantId}/audience/segments/preview 🔒

参数:tenantId (path, 必填)

  • rules * — object

audit-events

GET /v1/workspaces/{tenantId}/audit-events 🔒

参数:tenantId (path, 必填), before (query), limit (query), cursor (query), actorType (query), actorId (query), action (query), targetType (query), targetId (query), from (query), to (query)

GET /v1/workspaces/{tenantId}/audit-events/verify 🔒

参数:tenantId (path, 必填)

auth

POST /auth/legal/accept 🔒
  • docKey * — terms | privacy | cookies | dpa | aup | subprocessors
  • version * — string
GET /auth/legal/pending 🔒
POST /auth/login
  • email * — string
  • password * — string
POST /auth/logout 🔒
GET /auth/me 🔒
POST /auth/mfa/setup/begin 🔒
  • setupToken * — string
POST /auth/mfa/setup/confirm 🔒
  • setupToken * — string
  • code * — string
POST /auth/mfa/verify 🔒
  • challengeToken * — string
  • code * — string
POST /auth/password-reset/confirm
  • token * — string
  • password * — string
POST /auth/password-reset/request
  • email * — string
  • locale — string
POST /auth/signup
  • email * — string
  • password * — string
  • displayName * — string
  • workspaceName * — string
  • locale — string
  • termsVersion * — string
POST /auth/verify-email
  • token * — string

automation

GET /v1/workspaces/{tenantId}/automation/runs 🔒

参数:tenantId (path, 必填), view (query)

GET /v1/workspaces/{tenantId}/automation/workflows 🔒

参数:tenantId (path, 必填)

POST /v1/workspaces/{tenantId}/automation/workflows 🔒

参数:tenantId (path, 必填)

  • id — string
  • name * — string
  • trigger * — object
  • steps * — array
  • maxRunsPerContactPerDay — integer
GET /v1/workspaces/{tenantId}/automation/workflows/{workflowId}/runs 🔒

参数:tenantId (path, 必填), workflowId (path, 必填)

POST /v1/workspaces/{tenantId}/automation/workflows/{workflowId}/status 🔒

参数:tenantId (path, 必填), workflowId (path, 必填)

  • status * — ACTIVE | PAUSED | ARCHIVED
POST /v1/workspaces/{tenantId}/automation/workflows/{workflowId}/trigger 🔒

参数:tenantId (path, 必填), workflowId (path, 必填)

  • contactId * — string

billing

GET /v1/workspaces/{tenantId}/billing/changes 🔒

参数:tenantId (path, 必填)

POST /v1/workspaces/{tenantId}/billing/changes 🔒

参数:tenantId (path, 必填)

  • kind * — PLAN_CHANGE | SEATS_CHANGE | CANCEL
  • planKey — string
  • seats — integer
  • note — string
  • acknowledgedFeeMinor — string
POST /v1/workspaces/{tenantId}/billing/changes/{changeId}/withdraw 🔒

参数:tenantId (path, 必填), changeId (path, 必填)

GET /v1/workspaces/{tenantId}/billing/checkout-sessions 🔒

参数:tenantId (path, 必填)

GET /v1/workspaces/{tenantId}/billing/checkout-sessions/{sessionId} 🔒

参数:tenantId (path, 必填), sessionId (path, 必填)

POST /v1/workspaces/{tenantId}/billing/credit-topups 🔒

参数:tenantId (path, 必填)

  • amountMinor * — string
  • provider — simulated | stripe | moyasar | tap | paymob | geidea | mamo | ccavenue | network_international
  • locale — string
  • idempotencyKey — string
GET /v1/workspaces/{tenantId}/billing/entitlements 🔒

参数:tenantId (path, 必填)

GET /v1/workspaces/{tenantId}/billing/invoices/{invoiceId} 🔒

参数:tenantId (path, 必填), invoiceId (path, 必填)

POST /v1/workspaces/{tenantId}/billing/invoices/{invoiceId}/checkout 🔒

参数:tenantId (path, 必填), invoiceId (path, 必填)

  • provider — simulated | stripe | moyasar | tap | paymob | geidea | mamo | ccavenue | network_international
  • locale — string
GET /v1/workspaces/{tenantId}/billing/invoices/{invoiceId}/document 🔒

参数:tenantId (path, 必填), invoiceId (path, 必填)

GET /v1/workspaces/{tenantId}/billing/messaging-charges 🔒

参数:tenantId (path, 必填), from (query), to (query)

GET /v1/workspaces/{tenantId}/billing/messaging-prices 🔒

参数:tenantId (path, 必填)

POST /v1/workspaces/{tenantId}/billing/orders 🔒

参数:tenantId (path, 必填)

  • planKey * — string
  • seats — integer
POST /v1/workspaces/{tenantId}/billing/orders/{orderId}/withdraw 🔒

参数:tenantId (path, 必填), orderId (path, 必填)

    GET /v1/workspaces/{tenantId}/billing/payment-options 🔒

    参数:tenantId (path, 必填)

    GET /v1/workspaces/{tenantId}/billing/profile 🔒

    参数:tenantId (path, 必填)

    PUT /v1/workspaces/{tenantId}/billing/profile 🔒

    参数:tenantId (path, 必填)

    • legalName * — string
    • addressLine1 * — string
    • addressLine2 — string | null
    • city * — string
    • region — string | null
    • postalCode — string | null
    • country * — string
    • taxId — string | null
    • invoiceEmail — string | null
    • revision — integer
    GET /v1/workspaces/{tenantId}/billing/quote 🔒

    参数:tenantId (path, 必填), planKey (query, 必填), seats (query)

    GET /v1/workspaces/{tenantId}/billing/refunds 🔒

    参数:tenantId (path, 必填)

    POST /v1/workspaces/{tenantId}/billing/refunds 🔒

    参数:tenantId (path, 必填)

    • invoiceId * — string
    • amount — string
    • amountMinor — string
    • reason * — string
    POST /v1/workspaces/{tenantId}/billing/refunds/{refundId}/withdraw 🔒

    参数:tenantId (path, 必填), refundId (path, 必填)

    GET /v1/workspaces/{tenantId}/billing/subscription 🔒

    参数:tenantId (path, 必填)

    GET /v1/workspaces/{tenantId}/billing/summary 🔒

    参数:tenantId (path, 必填)

    GET /v1/workspaces/{tenantId}/billing/usage 🔒

    参数:tenantId (path, 必填)

    GET /v1/workspaces/{tenantId}/billing/wallet 🔒

    参数:tenantId (path, 必填)

    billing-access

    GET /v1/workspaces/{tenantId}/billing-access 🔒

    参数:tenantId (path, 必填)

    GET /v1/workspaces/{tenantId}/billing-access/checkout-sessions/{sessionId} 🔒

    参数:tenantId (path, 必填), sessionId (path, 必填)

    POST /v1/workspaces/{tenantId}/billing-access/invoices/{invoiceId}/checkout 🔒

    参数:tenantId (path, 必填), invoiceId (path, 必填)

    • provider — string
    • locale — string
    GET /v1/workspaces/{tenantId}/billing-access/invoices/{invoiceId}/document 🔒

    参数:tenantId (path, 必填), invoiceId (path, 必填)

    POST /v1/workspaces/{tenantId}/billing-access/orders 🔒

    参数:tenantId (path, 必填)

    • planKey * — string
    • seats — integer
    POST /v1/workspaces/{tenantId}/billing-access/orders/{orderId}/withdraw 🔒

    参数:tenantId (path, 必填), orderId (path, 必填)

      GET /v1/workspaces/{tenantId}/billing-access/quote 🔒

      参数:tenantId (path, 必填), planKey (query, 必填), seats (query)

      branding

      GET /v1/workspaces/{tenantId}/branding 🔒

      参数:tenantId (path, 必填)

      POST /v1/workspaces/{tenantId}/branding 🔒

      参数:tenantId (path, 必填)

      • id — string
      • productName * — string
      • logoUrl — string | null
      • iconUrl — string | null
      • primaryColor — string
      • accentColor — string
      • supportEmail — string | null
      • supportUrl — string | null
      • privacyUrl — string | null
      • termsUrl — string | null
      • emailFromName — string | null
      • hidePoweredBy — boolean
      • applyToClients — boolean
      GET /v1/workspaces/{tenantId}/branding/effective 🔒

      参数:tenantId (path, 必填)

      campaigns

      GET /v1/workspaces/{tenantId}/campaigns 🔒

      参数:tenantId (path, 必填), cursor (query), limit (query)

      POST /v1/workspaces/{tenantId}/campaigns 🔒

      参数:tenantId (path, 必填)

      • name * — string
      • connectionId * — string
      • variables — array
      • audience — object
      • frequencyCapHours — integer
      • localSendTime —
      • content — object
      • fallback —
      • templateId — string
      • scheduleAt — string
      • variants — array
      GET /v1/workspaces/{tenantId}/campaigns/{campaignId} 🔒

      参数:tenantId (path, 必填), campaignId (path, 必填)

      PATCH /v1/workspaces/{tenantId}/campaigns/{campaignId} 🔒

      参数:tenantId (path, 必填), campaignId (path, 必填)

      • revision * — integer
      • name — string
      • connectionId — string
      • variables — array
      • audience — object
      • frequencyCapHours — integer
      • localSendTime —
      • content — object
      • fallback —
      • templateId —
      • scheduleAt —
      • variants —
      POST /v1/workspaces/{tenantId}/campaigns/{campaignId}/approve 🔒

      参数:tenantId (path, 必填), campaignId (path, 必填)

      • revision * — integer
      • selfApprove — boolean
      POST /v1/workspaces/{tenantId}/campaigns/{campaignId}/cancel 🔒

      参数:tenantId (path, 必填), campaignId (path, 必填)

      POST /v1/workspaces/{tenantId}/campaigns/{campaignId}/pause 🔒

      参数:tenantId (path, 必填), campaignId (path, 必填)

      POST /v1/workspaces/{tenantId}/campaigns/{campaignId}/preflight 🔒

      参数:tenantId (path, 必填), campaignId (path, 必填)

      GET /v1/workspaces/{tenantId}/campaigns/{campaignId}/preflight 🔒

      参数:tenantId (path, 必填), campaignId (path, 必填)

      POST /v1/workspaces/{tenantId}/campaigns/{campaignId}/preflights/{preflightId}/confirm-own 🔒

      参数:tenantId (path, 必填), campaignId (path, 必填), preflightId (path, 必填)

      • note * — string
      GET /v1/workspaces/{tenantId}/campaigns/{campaignId}/recipients 🔒

      参数:tenantId (path, 必填), campaignId (path, 必填), outcome (query, 必填), runId (query), cursor (query), limit (query)

      POST /v1/workspaces/{tenantId}/campaigns/{campaignId}/resume 🔒

      参数:tenantId (path, 必填), campaignId (path, 必填)

      POST /v1/workspaces/{tenantId}/campaigns/{campaignId}/return 🔒

      参数:tenantId (path, 必填), campaignId (path, 必填)

      • reason * — string
      • revision * — integer
      POST /v1/workspaces/{tenantId}/campaigns/{campaignId}/start 🔒

      参数:tenantId (path, 必填), campaignId (path, 必填)

      POST /v1/workspaces/{tenantId}/campaigns/{campaignId}/submit 🔒

      参数:tenantId (path, 必填), campaignId (path, 必填)

      • revision * — integer
      GET /v1/workspaces/{tenantId}/campaigns/{campaignId}/variants 🔒

      参数:tenantId (path, 必填), campaignId (path, 必填)

      channels

      GET /v1/workspaces/{tenantId}/channels 🔒

      参数:tenantId (path, 必填)

      GET /v1/workspaces/{tenantId}/channels/{connectionId}/health 🔒

      参数:tenantId (path, 必填), connectionId (path, 必填)

      POST /v1/workspaces/{tenantId}/channels/{connectionId}/health/sync 🔒

      参数:tenantId (path, 必填), connectionId (path, 必填)

      POST /v1/workspaces/{tenantId}/channels/{connectionId}/protection 🔒

      参数:tenantId (path, 必填), connectionId (path, 必填)

      • action * — RESUME | PAUSE_MARKETING | PAUSE_ALL
      • reason * — string
      GET /v1/workspaces/{tenantId}/channels/{connectionId}/templates 🔒

      参数:tenantId (path, 必填), connectionId (path, 必填), cursor (query), limit (query)

      POST /v1/workspaces/{tenantId}/channels/{connectionId}/templates 🔒

      参数:tenantId (path, 必填), connectionId (path, 必填)

      • name * — string
      • language * — string
      • category * — MARKETING | UTILITY | AUTHENTICATION
      • body * — string
      GET /v1/workspaces/{tenantId}/channels/delivery 🔒

      参数:tenantId (path, 必填)

      POST /v1/workspaces/{tenantId}/channels/whatsapp/cloud 🔒

      参数:tenantId (path, 必填)

      • label * — string
      • wabaId * — string
      • phoneNumberId * — string
      • displayPhone * — string
      • accessToken * — string
      POST /v1/workspaces/{tenantId}/channels/whatsapp/sandbox 🔒

      参数:tenantId (path, 必填)

      • label * — string
      • displayPhone * — string
      • tier — TIER_250 | TIER_1K | TIER_10K | TIER_100K

      commerce

      GET /v1/workspaces/{tenantId}/commerce/analytics 🔒

      参数:tenantId (path, 必填), days (query)

      GET /v1/workspaces/{tenantId}/commerce/orders 🔒

      参数:tenantId (path, 必填), contactId (query), status (query)

      GET /v1/workspaces/{tenantId}/commerce/orders/{orderId} 🔒

      参数:tenantId (path, 必填), orderId (path, 必填)

      GET /v1/workspaces/{tenantId}/commerce/products 🔒

      参数:tenantId (path, 必填), q (query)

      PUT /v1/workspaces/{tenantId}/commerce/settings/{key} 🔒

      参数:tenantId (path, 必填), key (path, 必填)

      GET /v1/workspaces/{tenantId}/commerce/stores 🔒

      参数:tenantId (path, 必填)

      POST /v1/workspaces/{tenantId}/commerce/stores 🔒

      参数:tenantId (path, 必填)

      • platform * — shopify | woocommerce | salla | zid
      • name * — string
      • shopDomain * — string
      • accessToken — string
      • consumerKey — string
      • consumerSecret — string
      • managerToken — string
      • webhookSecret — string
      POST /v1/workspaces/{tenantId}/commerce/stores/{storeId}/disconnect 🔒

      参数:tenantId (path, 必填), storeId (path, 必填)

      POST /v1/workspaces/{tenantId}/commerce/stores/{storeId}/sync 🔒

      参数:tenantId (path, 必填), storeId (path, 必填)

      contact-imports

      GET /v1/workspaces/{tenantId}/contact-imports 🔒

      参数:tenantId (path, 必填), cursor (query), limit (query)

      POST /v1/workspaces/{tenantId}/contact-imports 🔒

      参数:tenantId (path, 必填)

      • fileName * — string
      • sizeBytes * — integer
      GET /v1/workspaces/{tenantId}/contact-imports/{importId} 🔒

      参数:tenantId (path, 必填), importId (path, 必填)

      POST /v1/workspaces/{tenantId}/contact-imports/{importId}/cancel 🔒

      参数:tenantId (path, 必填), importId (path, 必填)

      PUT /v1/workspaces/{tenantId}/contact-imports/{importId}/chunks/{seq} 🔒

      参数:tenantId (path, 必填), importId (path, 必填), seq (path, 必填)

      • dataBase64 * — string
      POST /v1/workspaces/{tenantId}/contact-imports/{importId}/complete 🔒

      参数:tenantId (path, 必填), importId (path, 必填)

        GET /v1/workspaces/{tenantId}/contact-imports/{importId}/issues 🔒

        参数:tenantId (path, 必填), importId (path, 必填), cursor (query), limit (query)

        POST /v1/workspaces/{tenantId}/contact-imports/{importId}/preview 🔒

        参数:tenantId (path, 必填), importId (path, 必填)

        • encoding — utf-8 | utf-16le | utf-16be | windows-1256 | windows-1252
        • delimiter — comma | semicolon | tab
        • hasHeader — boolean
        • columns — array
        • phoneChannels — array
        • defaultCountry —
        POST /v1/workspaces/{tenantId}/contact-imports/{importId}/report 🔒

        参数:tenantId (path, 必填), importId (path, 必填)

        • headers — object
        • kinds — object
        • reasons — object
        POST /v1/workspaces/{tenantId}/contact-imports/{importId}/resume 🔒

        参数:tenantId (path, 必填), importId (path, 必填)

        POST /v1/workspaces/{tenantId}/contact-imports/{importId}/start 🔒

        参数:tenantId (path, 必填), importId (path, 必填)

        • encoding — utf-8 | utf-16le | utf-16be | windows-1256 | windows-1252
        • delimiter — comma | semicolon | tab
        • hasHeader — boolean
        • columns * — array
        • phoneChannels — array
        • defaultCountry —
        • dedupe — SKIP | MERGE | UPDATE
        • tags — array
        • list — object
        • consent —
        • startWorkflows — boolean
        • confirmWorkflowRows — integer
        • confirmRepeatedFile — boolean
        POST /v1/workspaces/{tenantId}/contact-imports/{importId}/undo 🔒

        参数:tenantId (path, 必填), importId (path, 必填)

          GET /v1/workspaces/{tenantId}/contact-imports/options 🔒

          参数:tenantId (path, 必填)

          contacts

          GET /v1/workspaces/{tenantId}/contacts 🔒

          参数:tenantId (path, 必填), q (query), limit (query), cursor (query)

          POST /v1/workspaces/{tenantId}/contacts 🔒

          参数:tenantId (path, 必填)

          • channel * — whatsapp | sms | email | telegram | instagram | messenger | tiktok | snapchat
          • address * — string
          • displayName — string
          • locale — string
          • consent — object
          GET /v1/workspaces/{tenantId}/contacts/{contactId}/ai-memory 🔒

          参数:tenantId (path, 必填), contactId (path, 必填)

          DELETE /v1/workspaces/{tenantId}/contacts/{contactId}/ai-memory 🔒

          参数:tenantId (path, 必填), contactId (path, 必填)

          POST /v1/workspaces/{tenantId}/contacts/{contactId}/consent 🔒

          参数:tenantId (path, 必填), contactId (path, 必填)

          • channel * — whatsapp | sms | email | telegram | instagram | messenger | tiktok | snapchat
          • purpose * — MARKETING | TRANSACTIONAL | SERVICE
          • status * — GRANTED | REVOKED
          • source * — string
          GET /v1/workspaces/{tenantId}/contacts/{contactId}/consent-history 🔒

          参数:tenantId (path, 必填), contactId (path, 必填)

          GET /v1/workspaces/{tenantId}/contacts/{contactId}/preference-link 🔒

          参数:tenantId (path, 必填), contactId (path, 必填), channel (query)

          POST /v1/workspaces/{tenantId}/contacts/import 🔒

          参数:tenantId (path, 必填)

          • rows * — array

          conversations

          GET /v1/workspaces/{tenantId}/conversations 🔒

          参数:tenantId (path, 必填), mine (query), status (query), view (query), scope (query), cursor (query), limit (query)

          GET /v1/workspaces/{tenantId}/conversations/{conversationId} 🔒

          参数:tenantId (path, 必填), conversationId (path, 必填), after (query)

          POST /v1/workspaces/{tenantId}/conversations/{conversationId}/assign 🔒

          参数:tenantId (path, 必填), conversationId (path, 必填)

          • membershipId * — string
          • reason * — string
          POST /v1/workspaces/{tenantId}/conversations/{conversationId}/attachments 🔒

          参数:tenantId (path, 必填), conversationId (path, 必填)

          • fileName * — string
          • contentType * — string
          • dataBase64 * — string
          GET /v1/workspaces/{tenantId}/conversations/{conversationId}/attachments/{attachmentId} 🔒

          参数:tenantId (path, 必填), conversationId (path, 必填), attachmentId (path, 必填)

          DELETE /v1/workspaces/{tenantId}/conversations/{conversationId}/attachments/{attachmentId} 🔒

          参数:tenantId (path, 必填), conversationId (path, 必填), attachmentId (path, 必填)

          GET /v1/workspaces/{tenantId}/conversations/{conversationId}/attachments/{attachmentId}/download 🔒

          参数:tenantId (path, 必填), conversationId (path, 必填), attachmentId (path, 必填)

          GET /v1/workspaces/{tenantId}/conversations/{conversationId}/attachments/{attachmentId}/preview 🔒

          参数:tenantId (path, 必填), conversationId (path, 必填), attachmentId (path, 必填)

          GET /v1/workspaces/{tenantId}/conversations/{conversationId}/candidates 🔒

          参数:tenantId (path, 必填), conversationId (path, 必填)

          POST /v1/workspaces/{tenantId}/conversations/{conversationId}/claim 🔒

          参数:tenantId (path, 必填), conversationId (path, 必填)

          POST /v1/workspaces/{tenantId}/conversations/{conversationId}/csat 🔒

          参数:tenantId (path, 必填), conversationId (path, 必填)

          POST /v1/workspaces/{tenantId}/conversations/{conversationId}/escalate 🔒

          参数:tenantId (path, 必填), conversationId (path, 必填)

          • reason * — string
          GET /v1/workspaces/{tenantId}/conversations/{conversationId}/handoff 🔒

          参数:tenantId (path, 必填), conversationId (path, 必填)

          PUT /v1/workspaces/{tenantId}/conversations/{conversationId}/labels 🔒

          参数:tenantId (path, 必填), conversationId (path, 必填)

          • labelIds * — array
          GET /v1/workspaces/{tenantId}/conversations/{conversationId}/messages 🔒

          参数:tenantId (path, 必填), conversationId (path, 必填), cursor (query), limit (query)

          POST /v1/workspaces/{tenantId}/conversations/{conversationId}/notes 🔒

          参数:tenantId (path, 必填), conversationId (path, 必填)

          • body * — string
          • mentions — array
          POST /v1/workspaces/{tenantId}/conversations/{conversationId}/offer/accept 🔒

          参数:tenantId (path, 必填), conversationId (path, 必填)

          • epoch * — integer
          POST /v1/workspaces/{tenantId}/conversations/{conversationId}/offer/decline 🔒

          参数:tenantId (path, 必填), conversationId (path, 必填)

          • epoch * — integer
          • reason * — string
          POST /v1/workspaces/{tenantId}/conversations/{conversationId}/reply 🔒

          参数:tenantId (path, 必填), conversationId (path, 必填)

          • text — string
          • attachmentId — string
          • epoch * — integer
          POST /v1/workspaces/{tenantId}/conversations/{conversationId}/resolve 🔒

          参数:tenantId (path, 必填), conversationId (path, 必填)

          POST /v1/workspaces/{tenantId}/conversations/{conversationId}/route 🔒

          参数:tenantId (path, 必填), conversationId (path, 必填)

          • to * — QUEUE | HUMAN | AI
          • queue_key — string
          • membership_id — string
          • agent_id — string
          • reason * — string
          • epoch * — integer
          POST /v1/workspaces/{tenantId}/conversations/{conversationId}/routing-mode 🔒

          参数:tenantId (path, 必填), conversationId (path, 必填)

          • mode * — DEFAULT | AI_FIRST | FLOW_FIRST | HUMAN_FIRST
          POST /v1/workspaces/{tenantId}/conversations/{conversationId}/snooze 🔒

          参数:tenantId (path, 必填), conversationId (path, 必填)

          • until —
          GET /v1/workspaces/{tenantId}/conversations/{conversationId}/summaries 🔒

          参数:tenantId (path, 必填), conversationId (path, 必填)

          POST /v1/workspaces/{tenantId}/conversations/{conversationId}/summaries 🔒

          参数:tenantId (path, 必填), conversationId (path, 必填)

          • summary — string
          • ai — boolean
          • provider — simulated | anthropic
          POST /v1/workspaces/{tenantId}/conversations/{conversationId}/template-reply 🔒

          参数:tenantId (path, 必填), conversationId (path, 必填)

          • templateId * — string
          • variables * — array
          • epoch * — integer
          GET /v1/workspaces/{tenantId}/conversations/{conversationId}/templates 🔒

          参数:tenantId (path, 必填), conversationId (path, 必填)

          GET /v1/workspaces/{tenantId}/conversations/{conversationId}/view 🔒

          参数:tenantId (path, 必填), conversationId (path, 必填)

          POST /v1/workspaces/{tenantId}/conversations/{conversationId}/viewing 🔒

          参数:tenantId (path, 必填), conversationId (path, 必填)

          • typing — boolean

          crm

          GET /v1/workspaces/{tenantId}/crm/appointments 🔒

          参数:tenantId (path, 必填), from (query), to (query)

          POST /v1/workspaces/{tenantId}/crm/appointments 🔒

          参数:tenantId (path, 必填)

          GET /v1/workspaces/{tenantId}/crm/companies 🔒

          参数:tenantId (path, 必填), q (query)

          POST /v1/workspaces/{tenantId}/crm/companies 🔒

          参数:tenantId (path, 必填)

          GET /v1/workspaces/{tenantId}/crm/contacts/{contactId} 🔒

          参数:tenantId (path, 必填), contactId (path, 必填)

          PATCH /v1/workspaces/{tenantId}/crm/contacts/{contactId} 🔒

          参数:tenantId (path, 必填), contactId (path, 必填)

          GET /v1/workspaces/{tenantId}/crm/custom-fields 🔒

          参数:tenantId (path, 必填), entity (query)

          POST /v1/workspaces/{tenantId}/crm/custom-fields 🔒

          参数:tenantId (path, 必填)

          DELETE /v1/workspaces/{tenantId}/crm/custom-fields/{entity}/{key} 🔒

          参数:tenantId (path, 必填), entity (path, 必填), key (path, 必填)

          GET /v1/workspaces/{tenantId}/crm/deals 🔒

          参数:tenantId (path, 必填), pipelineId (query), status (query), ownerId (query), q (query), cursor (query), limit (query)

          POST /v1/workspaces/{tenantId}/crm/deals 🔒

          参数:tenantId (path, 必填)

          GET /v1/workspaces/{tenantId}/crm/deals/{dealId} 🔒

          参数:tenantId (path, 必填), dealId (path, 必填)

          POST /v1/workspaces/{tenantId}/crm/deals/{dealId}/quotes 🔒

          参数:tenantId (path, 必填), dealId (path, 必填)

          GET /v1/workspaces/{tenantId}/crm/duplicates 🔒

          参数:tenantId (path, 必填)

          POST /v1/workspaces/{tenantId}/crm/merge 🔒

          参数:tenantId (path, 必填)

          • survivorId * — string
          • duplicateId * — string
          GET /v1/workspaces/{tenantId}/crm/pipelines 🔒

          参数:tenantId (path, 必填)

          POST /v1/workspaces/{tenantId}/crm/pipelines 🔒

          参数:tenantId (path, 必填)

          GET /v1/workspaces/{tenantId}/crm/privacy-requests 🔒

          参数:tenantId (path, 必填)

          POST /v1/workspaces/{tenantId}/crm/privacy-requests 🔒

          参数:tenantId (path, 必填)

          • contactId * — string
          • kind * — EXPORT | ERASE | RECTIFY | RESTRICT
          • reason — string
          POST /v1/workspaces/{tenantId}/crm/privacy-requests/{requestId}/complete 🔒

          参数:tenantId (path, 必填), requestId (path, 必填)

          POST /v1/workspaces/{tenantId}/crm/quotes/{quoteId}/status 🔒

          参数:tenantId (path, 必填), quoteId (path, 必填)

          • status * — APPROVED | SENT | ACCEPTED | DECLINED | EXPIRED
          GET /v1/workspaces/{tenantId}/crm/tasks 🔒

          参数:tenantId (path, 必填), mine (query), status (query), contactId (query), dealId (query)

          POST /v1/workspaces/{tenantId}/crm/tasks 🔒

          参数:tenantId (path, 必填)

          developer

          GET /v1/workspaces/{tenantId}/developer/deliveries 🔒

          参数:tenantId (path, 必填), status (query), cursor (query), limit (query)

          POST /v1/workspaces/{tenantId}/developer/deliveries/{deliveryId}/redeliver 🔒

          参数:tenantId (path, 必填), deliveryId (path, 必填)

          GET /v1/workspaces/{tenantId}/developer/events 🔒

          参数:tenantId (path, 必填)

          GET /v1/workspaces/{tenantId}/developer/keys 🔒

          参数:tenantId (path, 必填)

          POST /v1/workspaces/{tenantId}/developer/keys 🔒

          参数:tenantId (path, 必填)

          • name * — string
          • scopes * — array
          • expiresInDays — integer
          POST /v1/workspaces/{tenantId}/developer/keys/{keyId}/revoke 🔒

          参数:tenantId (path, 必填), keyId (path, 必填)

          GET /v1/workspaces/{tenantId}/developer/webhooks 🔒

          参数:tenantId (path, 必填)

          POST /v1/workspaces/{tenantId}/developer/webhooks 🔒

          参数:tenantId (path, 必填)

          • url * — string
          • events * — array
          POST /v1/workspaces/{tenantId}/developer/webhooks/{endpointId}/disable 🔒

          参数:tenantId (path, 必填), endpointId (path, 必填)

          POST /v1/workspaces/{tenantId}/developer/webhooks/{endpointId}/test 🔒

          参数:tenantId (path, 必填), endpointId (path, 必填)

          domains

          GET /v1/workspaces/{tenantId}/domains 🔒

          参数:tenantId (path, 必填)

          POST /v1/workspaces/{tenantId}/domains 🔒

          参数:tenantId (path, 必填)

          • hostname * — string
          • brandingProfileId * — string
          DELETE /v1/workspaces/{tenantId}/domains/{domainId} 🔒

          参数:tenantId (path, 必填), domainId (path, 必填)

          POST /v1/workspaces/{tenantId}/domains/{domainId}/verify 🔒

          参数:tenantId (path, 必填), domainId (path, 必填)

          email

          GET /v1/workspaces/{tenantId}/email/domains 🔒

          参数:tenantId (path, 必填)

          POST /v1/workspaces/{tenantId}/email/domains 🔒

          参数:tenantId (path, 必填)

          • domain * — string
          • purpose * — MARKETING | TRANSACTIONAL
          • connectionId — string
          DELETE /v1/workspaces/{tenantId}/email/domains/{domainId} 🔒

          参数:tenantId (path, 必填), domainId (path, 必填)

          POST /v1/workspaces/{tenantId}/email/domains/{domainId}/verify 🔒

          参数:tenantId (path, 必填), domainId (path, 必填)

          GET /v1/workspaces/{tenantId}/email/identities 🔒

          参数:tenantId (path, 必填)

          POST /v1/workspaces/{tenantId}/email/identities 🔒

          参数:tenantId (path, 必填)

          • identity * — string
          • fromEmail — string
          • fromName — string
          • replyTo — string
          • mailFromSubdomain — string
          DELETE /v1/workspaces/{tenantId}/email/identities/{identityId} 🔒

          参数:tenantId (path, 必填), identityId (path, 必填)

          POST /v1/workspaces/{tenantId}/email/identities/{identityId}/check 🔒

          参数:tenantId (path, 必填), identityId (path, 必填)

            GET /v1/workspaces/{tenantId}/email/templates 🔒

            参数:tenantId (path, 必填)

            POST /v1/workspaces/{tenantId}/email/templates 🔒

            参数:tenantId (path, 必填)

            • name * — string
            • stream * — MARKETING | TRANSACTIONAL
            • subject * — string
            • preheader — string
            • design * — object
            GET /v1/workspaces/{tenantId}/email/templates/{templateId} 🔒

            参数:tenantId (path, 必填), templateId (path, 必填)

            PUT /v1/workspaces/{tenantId}/email/templates/{templateId} 🔒

            参数:tenantId (path, 必填), templateId (path, 必填)

            • name — string
            • subject — string
            • preheader — string
            • design — object
            POST /v1/workspaces/{tenantId}/email/templates/{templateId}/preview 🔒

            参数:tenantId (path, 必填), templateId (path, 必填)

            • sample — object
            POST /v1/workspaces/{tenantId}/email/templates/{templateId}/status 🔒

            参数:tenantId (path, 必填), templateId (path, 必填)

            • status * — ACTIVE | ARCHIVED | DRAFT

            exports

            POST /v1/workspaces/{tenantId}/exports 🔒

            参数:tenantId (path, 必填)

            • kind * — contacts | segment_members | campaign_results | conversation_transcript | analytics_metrics | analytics_bi | team_performance | audit_log
            • params — object
            • headers — object
            GET /v1/workspaces/{tenantId}/exports 🔒

            参数:tenantId (path, 必填), cursor (query), limit (query)

            GET /v1/workspaces/{tenantId}/exports/{exportId}/download 🔒

            参数:tenantId (path, 必填), exportId (path, 必填)

            flows

            POST /v1/workspaces/{tenantId}/flows 🔒

            参数:tenantId (path, 必填)

            GET /v1/workspaces/{tenantId}/flows/{workflowId} 🔒

            参数:tenantId (path, 必填), workflowId (path, 必填)

            PUT /v1/workspaces/{tenantId}/flows/{workflowId} 🔒

            参数:tenantId (path, 必填), workflowId (path, 必填)

            POST /v1/workspaces/{tenantId}/flows/{workflowId}/duplicate 🔒

            参数:tenantId (path, 必填), workflowId (path, 必填)

            GET /v1/workspaces/{tenantId}/flows/{workflowId}/export 🔒

            参数:tenantId (path, 必填), workflowId (path, 必填)

            POST /v1/workspaces/{tenantId}/flows/{workflowId}/publish 🔒

            参数:tenantId (path, 必填), workflowId (path, 必填)

            • note — string
            POST /v1/workspaces/{tenantId}/flows/{workflowId}/rollback 🔒

            参数:tenantId (path, 必填), workflowId (path, 必填)

            • version * — integer
            POST /v1/workspaces/{tenantId}/flows/{workflowId}/test 🔒

            参数:tenantId (path, 必填), workflowId (path, 必填)

            • version — integer
            • contactId — string
            • answers — object
            GET /v1/workspaces/{tenantId}/flows/{workflowId}/tests 🔒

            参数:tenantId (path, 必填), workflowId (path, 必填)

            POST /v1/workspaces/{tenantId}/flows/import 🔒

            参数:tenantId (path, 必填)

            GET /v1/workspaces/{tenantId}/flows/node-types 🔒

            参数:tenantId (path, 必填)

            GET /v1/workspaces/{tenantId}/flows/runs/{runId} 🔒

            参数:tenantId (path, 必填), runId (path, 必填)

            GET /v1/workspaces/{tenantId}/flows/tests/{testId} 🔒

            参数:tenantId (path, 必填), testId (path, 必填)

            POST /v1/workspaces/{tenantId}/flows/validate 🔒

            参数:tenantId (path, 必填)

            • graph * — object

            inbox

            GET /v1/workspaces/{tenantId}/inbox/board 🔒

            参数:tenantId (path, 必填), stage (query), queue (query), line (query), cursor (query), limit (query)

            GET /v1/workspaces/{tenantId}/inbox/counts 🔒

            参数:tenantId (path, 必填), scope (query)

            GET /v1/workspaces/{tenantId}/inbox/labels 🔒

            参数:tenantId (path, 必填)

            POST /v1/workspaces/{tenantId}/inbox/labels 🔒

            参数:tenantId (path, 必填)

            • id — string
            • name * — string
            • color — string
            DELETE /v1/workspaces/{tenantId}/inbox/labels/{labelId} 🔒

            参数:tenantId (path, 必填), labelId (path, 必填)

            GET /v1/workspaces/{tenantId}/inbox/mentions 🔒

            参数:tenantId (path, 必填)

            POST /v1/workspaces/{tenantId}/inbox/mentions/read 🔒

            参数:tenantId (path, 必填)

            • ids * — array
            GET /v1/workspaces/{tenantId}/inbox/pipeline 🔒

            参数:tenantId (path, 必填), line (query, 必填)

            PUT /v1/workspaces/{tenantId}/inbox/pipeline 🔒

            参数:tenantId (path, 必填)

            • line * —
            • revision * — integer
            • config * — object
            GET /v1/workspaces/{tenantId}/inbox/pipeline/metrics 🔒

            参数:tenantId (path, 必填), days (query), queue (query), line (query)

            POST /v1/workspaces/{tenantId}/inbox/pipeline/publish 🔒

            参数:tenantId (path, 必填)

            • line * —
            • revision * — integer
            • note — string
            POST /v1/workspaces/{tenantId}/inbox/pipeline/resume 🔒

            参数:tenantId (path, 必填)

            • line * —
            • reason * — string
            POST /v1/workspaces/{tenantId}/inbox/pipeline/rollback 🔒

            参数:tenantId (path, 必填)

            • line * —
            • version * — integer
            • revision * — integer
            • note — string
            POST /v1/workspaces/{tenantId}/inbox/pipeline/simulate 🔒

            参数:tenantId (path, 必填)

            • line * —
            • source * — DRAFT | PUBLISHED
            • config — object
            • at — string
            • contact — object
            • messages * — array
            POST /v1/workspaces/{tenantId}/inbox/pipeline/stop 🔒

            参数:tenantId (path, 必填)

            • line * —
            • reason * — string
            GET /v1/workspaces/{tenantId}/inbox/pipeline/templates 🔒

            参数:tenantId (path, 必填)

            POST /v1/workspaces/{tenantId}/inbox/pipeline/use-workspace 🔒

            参数:tenantId (path, 必填)

            • line * —
            • revision * — integer
            GET /v1/workspaces/{tenantId}/inbox/pipeline/versions 🔒

            参数:tenantId (path, 必填), line (query, 必填)

            GET /v1/workspaces/{tenantId}/inbox/pipeline/versions/{version} 🔒

            参数:tenantId (path, 必填), version (path, 必填), line (query, 必填)

            GET /v1/workspaces/{tenantId}/inbox/pipelines 🔒

            参数:tenantId (path, 必填)

            GET /v1/workspaces/{tenantId}/inbox/saved-replies 🔒

            参数:tenantId (path, 必填), q (query)

            POST /v1/workspaces/{tenantId}/inbox/saved-replies 🔒

            参数:tenantId (path, 必填)

            • id — string
            • shortcut * — string
            • title * — string
            • body * — string
            • locale — string
            DELETE /v1/workspaces/{tenantId}/inbox/saved-replies/{replyId} 🔒

            参数:tenantId (path, 必填), replyId (path, 必填)

            GET /v1/workspaces/{tenantId}/inbox/search 🔒

            参数:tenantId (path, 必填), q (query), status (query), labelId (query), channel (query), assignee (query), unassigned (query), limit (query)

            GET /v1/workspaces/{tenantId}/inbox/service-levels 🔒

            参数:tenantId (path, 必填)

            PUT /v1/workspaces/{tenantId}/inbox/service-levels/queues/{key} 🔒

            参数:tenantId (path, 必填), key (path, 必填)

            • firstResponseMinutes * — integer
            • resolutionMinutes * —
            • name — string
            GET /v1/workspaces/{tenantId}/inbox/supervisor 🔒

            参数:tenantId (path, 必填)

            invites

            GET /v1/workspaces/{tenantId}/invites 🔒

            参数:tenantId (path, 必填)

            POST /v1/workspaces/{tenantId}/invites 🔒

            参数:tenantId (path, 必填)

            • email * — string
            • role * — string
            POST /v1/workspaces/{tenantId}/invites/{inviteId}/revoke 🔒

            参数:tenantId (path, 必填), inviteId (path, 必填)

            lifecycle

            GET /v1/workspaces/{tenantId}/lifecycle 🔒

            参数:tenantId (path, 必填)

            POST /v1/workspaces/{tenantId}/lifecycle/close 🔒

            参数:tenantId (path, 必填)

            • confirmName * — string
            • exportAcknowledged * — boolean
            • reason — string | null
            GET /v1/workspaces/{tenantId}/lifecycle/contact-exports 🔒

            参数:tenantId (path, 必填)

            POST /v1/workspaces/{tenantId}/lifecycle/contact-exports 🔒

            参数:tenantId (path, 必填)

            • address * — string
            GET /v1/workspaces/{tenantId}/lifecycle/contact-exports/{exportId}/download 🔒

            参数:tenantId (path, 必填), exportId (path, 必填)

            GET /v1/workspaces/{tenantId}/lifecycle/export 🔒

            参数:tenantId (path, 必填), part (query)

            GET /v1/workspaces/{tenantId}/lifecycle/export-window 🔒

            参数:tenantId (path, 必填)

            GET /v1/workspaces/{tenantId}/lifecycle/export/check 🔒

            参数:tenantId (path, 必填)

            POST /v1/workspaces/{tenantId}/lifecycle/reactivate 🔒

            参数:tenantId (path, 必填)

              media

              GET /v1/workspaces/{tenantId}/media 🔒

              参数:tenantId (path, 必填), kind (query), status (query), q (query), use (query), unused (query), needsAlt (query), mine (query), ids (query), cursor (query), limit (query)

              GET /v1/workspaces/{tenantId}/media/{assetId} 🔒

              参数:tenantId (path, 必填), assetId (path, 必填)

              PATCH /v1/workspaces/{tenantId}/media/{assetId} 🔒

              参数:tenantId (path, 必填), assetId (path, 必填)

              • name — string
              • alt —
              DELETE /v1/workspaces/{tenantId}/media/{assetId} 🔒

              参数:tenantId (path, 必填), assetId (path, 必填), detach (query)

              GET /v1/workspaces/{tenantId}/media/{assetId}/download 🔒

              参数:tenantId (path, 必填), assetId (path, 必填)

              POST /v1/workspaces/{tenantId}/media/{assetId}/link 🔒

              参数:tenantId (path, 必填), assetId (path, 必填)

                POST /v1/workspaces/{tenantId}/media/{assetId}/rescan 🔒

                参数:tenantId (path, 必填), assetId (path, 必填)

                  POST /v1/workspaces/{tenantId}/media/{assetId}/revoke-links 🔒

                  参数:tenantId (path, 必填), assetId (path, 必填)

                  GET /v1/workspaces/{tenantId}/media/{assetId}/show 🔒

                  参数:tenantId (path, 必填), assetId (path, 必填)

                  POST /v1/workspaces/{tenantId}/media/campaign-plan 🔒

                  参数:tenantId (path, 必填)

                  • connectionId * — string
                  • templateId —
                  • variables — array
                  • text —
                  • media —
                  • headerText — array
                  • buttonValues — array
                  • audience — object
                  GET /v1/workspaces/{tenantId}/media/campaigns/{campaignId}/preview 🔒

                  参数:tenantId (path, 必填), campaignId (path, 必填)

                  GET /v1/workspaces/{tenantId}/media/lines/{connectionId}/templates 🔒

                  参数:tenantId (path, 必填), connectionId (path, 必填)

                  POST /v1/workspaces/{tenantId}/media/lines/{connectionId}/templates 🔒

                  参数:tenantId (path, 必填), connectionId (path, 必填)

                  POST /v1/workspaces/{tenantId}/media/lines/{connectionId}/templates/check 🔒

                  参数:tenantId (path, 必填), connectionId (path, 必填)

                  GET /v1/workspaces/{tenantId}/media/options 🔒

                  参数:tenantId (path, 必填)

                  GET /v1/workspaces/{tenantId}/media/pages 🔒

                  参数:tenantId (path, 必填)

                  POST /v1/workspaces/{tenantId}/media/pages 🔒

                  参数:tenantId (path, 必填)

                  • title * — string
                  • body —
                  • campaignId — string
                  • days — integer
                  • items * — array
                  POST /v1/workspaces/{tenantId}/media/pages/{pageId}/revoke 🔒

                  参数:tenantId (path, 必填), pageId (path, 必填)

                  POST /v1/workspaces/{tenantId}/media/uploads 🔒

                  参数:tenantId (path, 必填)

                  • fileName * — string
                  • contentType — string
                  • sizeBytes * — integer
                  • videoId — string
                  • language — string
                  DELETE /v1/workspaces/{tenantId}/media/uploads/{uploadId} 🔒

                  参数:tenantId (path, 必填), uploadId (path, 必填)

                  POST /v1/workspaces/{tenantId}/media/uploads/{uploadId}/complete 🔒

                  参数:tenantId (path, 必填), uploadId (path, 必填)

                  • name — string
                  • alt — string
                  PUT /v1/workspaces/{tenantId}/media/uploads/{uploadId}/pieces 🔒

                  参数:tenantId (path, 必填), uploadId (path, 必填), offset (query, 必填)

                  • dataBase64 * — string

                  members

                  GET /v1/workspaces/{tenantId}/members 🔒

                  参数:tenantId (path, 必填)

                  POST /v1/workspaces/{tenantId}/members 🔒

                  参数:tenantId (path, 必填)

                  • email * — string
                  • role * — string
                  PATCH /v1/workspaces/{tenantId}/members/{membershipId} 🔒

                  参数:tenantId (path, 必填), membershipId (path, 必填)

                  • role — string
                  • status — ACTIVE | SUSPENDED | REMOVED
                  POST /v1/workspaces/{tenantId}/members/{membershipId}/two-step/reset 🔒

                  参数:tenantId (path, 必填), membershipId (path, 必填)

                  • reason * — string
                  GET /v1/workspaces/{tenantId}/members/two-step 🔒

                  参数:tenantId (path, 必填)

                  messages

                  POST /v1/workspaces/{tenantId}/messages 🔒

                  参数:tenantId (path, 必填)

                  • connectionId * — string
                  • to * — string
                  • purpose * — MARKETING | TRANSACTIONAL | SERVICE
                  • kind * — TEMPLATE | SESSION
                  • templateId — string
                  • variables — array
                  • text — string
                  • contactName — string
                  GET /v1/workspaces/{tenantId}/messages 🔒

                  参数:tenantId (path, 必填), status (query), limit (query)

                  messenger

                  POST /v1/workspaces/{tenantId}/messenger/connect/start 🔒

                  参数:tenantId (path, 必填)

                  POST /v1/workspaces/{tenantId}/messenger/connections 🔒

                  参数:tenantId (path, 必填)

                  • accessToken * — string
                  • label — string
                  GET /v1/workspaces/{tenantId}/messenger/conversations/{conversationId} 🔒

                  参数:tenantId (path, 必填), conversationId (path, 必填)

                  POST /v1/workspaces/{tenantId}/messenger/conversations/{conversationId}/opt-in-requests 🔒

                  参数:tenantId (path, 必填), conversationId (path, 必填)

                  • title * — string
                  • epoch * — integer
                  GET /v1/workspaces/{tenantId}/messenger/status 🔒

                  参数:tenantId (path, 必填)

                  notifications

                  GET /v1/workspaces/{tenantId}/notifications 🔒

                  参数:tenantId (path, 必填), unread (query), limit (query)

                  GET /v1/workspaces/{tenantId}/notifications/preferences 🔒

                  参数:tenantId (path, 必填)

                  PUT /v1/workspaces/{tenantId}/notifications/preferences 🔒

                  参数:tenantId (path, 必填)

                  • kind * — string
                  • inApp * — boolean
                  • email * — boolean
                  • push — boolean
                  POST /v1/workspaces/{tenantId}/notifications/read 🔒

                  参数:tenantId (path, 必填)

                  • ids — array
                  • all — boolean

                  omni

                  GET /v1/workspaces/{tenantId}/omni/connections 🔒

                  参数:tenantId (path, 必填), channel (query)

                  PATCH /v1/workspaces/{tenantId}/omni/connections/{connectionId} 🔒

                  参数:tenantId (path, 必填), connectionId (path, 必填)

                  • label — string
                  • ratePerMinute — integer
                  • fromName — string
                  • replyTo — string | null
                  • humanAgentTagApproved — boolean
                  • eventWebhookPublicKey — string | null
                  • snsTopicArn — string | null
                  POST /v1/workspaces/{tenantId}/omni/connections/{connectionId}/disconnect 🔒

                  参数:tenantId (path, 必填), connectionId (path, 必填)

                  POST /v1/workspaces/{tenantId}/omni/connections/{connectionId}/inbound 🔒

                  参数:tenantId (path, 必填), connectionId (path, 必填)

                  DELETE /v1/workspaces/{tenantId}/omni/connections/{connectionId}/inbound 🔒

                  参数:tenantId (path, 必填), connectionId (path, 必填)

                  POST /v1/workspaces/{tenantId}/omni/connections/{connectionId}/verify 🔒

                  参数:tenantId (path, 必填), connectionId (path, 必填)

                  POST /v1/workspaces/{tenantId}/omni/connections/email 🔒

                  参数:tenantId (path, 必填)

                  • provider * — email_sendgrid | email_ses | email_smtp | email_sandbox
                  • label * — string
                  • fromEmail * — string
                  • fromName — string
                  • replyTo — string
                  • apiKey — string
                  • accessKeyId — string
                  • secretAccessKey — string
                  • region — string
                  • configurationSet — string
                  • snsTopicArn — string | null
                  • smtpHost — string
                  • smtpPort — integer
                  • smtpUser — string
                  • smtpPassword — string
                  • smtpSecure — boolean
                  • eventWebhookPublicKey — string
                  • streams — array
                  • ratePerMinute — integer
                  POST /v1/workspaces/{tenantId}/omni/connections/instagram/start 🔒

                  参数:tenantId (path, 必填)

                  POST /v1/workspaces/{tenantId}/omni/connections/sms 🔒

                  参数:tenantId (path, 必填)

                  • provider * — sms_twilio | sms_sandbox | sms_generic
                  • label * — string
                  • accountSid — string
                  • authToken — string
                  • apiKeySid — string
                  • apiKeySecret — string
                  • fromNumber — string
                  • messagingServiceSid — string
                  • senderType * — LONG_CODE | TOLL_FREE | SHORT_CODE | ALPHANUMERIC | MESSAGING_SERVICE
                  • ratePerMinute — integer
                  • generic — object
                  POST /v1/workspaces/{tenantId}/omni/connections/telegram 🔒

                  参数:tenantId (path, 必填)

                  • label * — string
                  • botToken * — string
                  POST /v1/workspaces/{tenantId}/omni/messages 🔒

                  参数:tenantId (path, 必填)

                  • connectionId * — string
                  • to * — string
                  • purpose * — MARKETING | TRANSACTIONAL | SERVICE
                  • text — string
                  • subject — string
                  • html — string
                  • emailTemplateId — string
                  • emailTemplateVersion — integer
                  • variables — object
                  • mediaUrl — string
                  • mediaType — image | video | audio | document
                  • sendAt — string | null
                  • contactName — string
                  GET /v1/workspaces/{tenantId}/omni/messages 🔒

                  参数:tenantId (path, 必填), channel (query), status (query), limit (query)

                  POST /v1/workspaces/{tenantId}/omni/messages/{intentId}/review 🔒

                  参数:tenantId (path, 必填), intentId (path, 必填)

                  • approve * — boolean
                  GET /v1/workspaces/{tenantId}/omni/report 🔒

                  参数:tenantId (path, 必填), days (query)

                  overview

                  GET /v1/workspaces/{tenantId}/overview 🔒

                  参数:tenantId (path, 必填), fresh (query)

                  partners

                  GET /v1/workspaces/{tenantId}/partners/commissions 🔒

                  参数:tenantId (path, 必填)

                  GET /v1/workspaces/{tenantId}/partners/delegations 🔒

                  参数:tenantId (path, 必填)

                  POST /v1/workspaces/{tenantId}/partners/delegations 🔒

                  参数:tenantId (path, 必填)

                  • code * — string
                  • scopes * — array
                  • expiresInDays * — integer
                  GET /v1/workspaces/{tenantId}/partners/delegations/{delegationId} 🔒

                  参数:tenantId (path, 必填), delegationId (path, 必填)

                  POST /v1/workspaces/{tenantId}/partners/delegations/{delegationId}/renew 🔒

                  参数:tenantId (path, 必填), delegationId (path, 必填)

                  • days * — integer
                  POST /v1/workspaces/{tenantId}/partners/delegations/{delegationId}/revoke 🔒

                  参数:tenantId (path, 必填), delegationId (path, 必填)

                  GET /v1/workspaces/{tenantId}/partners/invitations 🔒

                  参数:tenantId (path, 必填)

                  POST /v1/workspaces/{tenantId}/partners/invitations 🔒

                  参数:tenantId (path, 必填)

                  • label — string
                  POST /v1/workspaces/{tenantId}/partners/invitations/{invitationId}/revoke 🔒

                  参数:tenantId (path, 必填), invitationId (path, 必填)

                  POST /v1/workspaces/{tenantId}/partners/invitations/check 🔒

                  参数:tenantId (path, 必填)

                  • code * — string
                  GET /v1/workspaces/{tenantId}/partners/payouts 🔒

                  参数:tenantId (path, 必填)

                  GET /v1/workspaces/{tenantId}/partners/price-books 🔒

                  参数:tenantId (path, 必填)

                  POST /v1/workspaces/{tenantId}/partners/price-books 🔒

                  参数:tenantId (path, 必填)

                  • id — string
                  • name * — string
                  • currency * — string
                  • effectiveFrom — string | null
                  • items * — array
                  POST /v1/workspaces/{tenantId}/partners/price-books/{priceBookId}/status 🔒

                  参数:tenantId (path, 必填), priceBookId (path, 必填)

                  • status * — ACTIVE | ARCHIVED | DRAFT

                  presence

                  POST /v1/workspaces/{tenantId}/presence 🔒

                  参数:tenantId (path, 必填)

                  • status * — ONLINE | AWAY | OFFLINE
                  • maxConcurrent — integer

                  privacy

                  GET /v1/workspaces/{tenantId}/privacy/contacts/{contactId} 🔒

                  参数:tenantId (path, 必填), contactId (path, 必填)

                  PUT /v1/workspaces/{tenantId}/privacy/contacts/{contactId}/legal-hold 🔒

                  参数:tenantId (path, 必填), contactId (path, 必填)

                  • hold * — boolean
                  • reason — string
                  POST /v1/workspaces/{tenantId}/privacy/contacts/{contactId}/lift-restriction 🔒

                  参数:tenantId (path, 必填), contactId (path, 必填)

                  • note — string
                  GET /v1/workspaces/{tenantId}/privacy/exports/{exportId}/check 🔒

                  参数:tenantId (path, 必填), exportId (path, 必填), part (query)

                  GET /v1/workspaces/{tenantId}/privacy/exports/{exportId}/download 🔒

                  参数:tenantId (path, 必填), exportId (path, 必填), part (query)

                  GET /v1/workspaces/{tenantId}/privacy/requests 🔒

                  参数:tenantId (path, 必填), view (query)

                  POST /v1/workspaces/{tenantId}/privacy/requests 🔒

                  参数:tenantId (path, 必填)

                  • contactId * — string
                  • kind * — EXPORT | ERASE | RESTRICT | RECTIFY
                  • reason — string
                  • receivedVia — EMAIL | PHONE | WEB_FORM | IN_PERSON | LETTER | OTHER
                  • dueInDays — integer
                  GET /v1/workspaces/{tenantId}/privacy/requests/{requestId} 🔒

                  参数:tenantId (path, 必填), requestId (path, 必填)

                  POST /v1/workspaces/{tenantId}/privacy/requests/{requestId}/approve 🔒

                  参数:tenantId (path, 必填), requestId (path, 必填)

                  • note — string
                  POST /v1/workspaces/{tenantId}/privacy/requests/{requestId}/reject 🔒

                  参数:tenantId (path, 必填), requestId (path, 必填)

                  • reason * — string
                  POST /v1/workspaces/{tenantId}/privacy/requests/{requestId}/retry 🔒

                  参数:tenantId (path, 必填), requestId (path, 必填)

                    GET /v1/workspaces/{tenantId}/privacy/retention 🔒

                    参数:tenantId (path, 必填)

                    PUT /v1/workspaces/{tenantId}/privacy/retention 🔒

                    参数:tenantId (path, 必填)

                    • classKey * — string
                    • days * — integer | null

                    public:branding

                    GET /public/v1/branding

                    参数:host (query, 必填)

                    public:cms

                    GET /public/v1/cms/page

                    参数:slug (query, 必填), locale (query)

                    GET /public/v1/cms/pages
                    GET /public/v1/cms/preview

                    参数:token (query, 必填)

                    public:csat

                    POST /public/v1/csat/{token}

                    参数:token (path, 必填)

                    • score * — integer
                    • comment — string

                    public:files

                    GET /public/v1/files

                    参数:link (query, 必填)

                    public:leads

                    POST /public/v1/leads
                    • kind * — CONTACT | DEMO | PARTNER | SECURITY
                    • category * — SALES | SUPPORT | PARTNERSHIP | SECURITY | OTHER
                    • name * — string
                    • email * — string
                    • company — string
                    • message * — string
                    • locale * — string
                    • privacyNoticeVersion * — string
                    • marketingOptIn — boolean
                    • utm — object
                    • website — string

                    public:media

                    GET /public/v1/media/{mediaId}

                    参数:mediaId (path, 必填)

                    public:media-pages

                    GET /public/v1/media-pages/{code}

                    参数:code (path, 必填), count (query)

                    public:openapi

                    GET /public/v1/openapi.json

                    public:plans

                    GET /public/v1/plans

                    public:preferences

                    GET /public/v1/preferences

                    参数:token (query, 必填)

                    POST /public/v1/preferences
                    • token * — string
                    • unsubscribeAll — boolean
                    • preferences — object
                    • locale — string
                    POST /public/v1/preferences/confirm
                    • token * — string

                    public:settings

                    GET /public/v1/settings

                    public:simulated-checkout

                    GET /public/v1/simulated-checkout/{reference}

                    参数:reference (path, 必填)

                    POST /public/v1/simulated-checkout/{reference}/complete

                    参数:reference (path, 必填)

                    • outcome * — PAY | DECLINE

                    public:status

                    GET /public/v1/status

                    public:unsubscribe

                    POST /public/v1/unsubscribe

                    参数:token (query, 必填)

                    push

                    GET /v1/workspaces/{tenantId}/push 🔒

                    参数:tenantId (path, 必填)

                    POST /v1/workspaces/{tenantId}/push/subscriptions 🔒

                    参数:tenantId (path, 必填)

                    • endpoint * — string
                    • expirationTime —
                    • keys * — object
                    POST /v1/workspaces/{tenantId}/push/test 🔒

                    参数:tenantId (path, 必填)

                    POST /v1/workspaces/{tenantId}/push/unsubscribe 🔒

                    参数:tenantId (path, 必填)

                    • endpoint * — string

                    quiet-hours

                    GET /v1/workspaces/{tenantId}/quiet-hours 🔒

                    参数:tenantId (path, 必填)

                    PUT /v1/workspaces/{tenantId}/quiet-hours 🔒

                    参数:tenantId (path, 必填)

                    • quiet_hours * —

                    seats

                    GET /v1/workspaces/{tenantId}/seats 🔒

                    参数:tenantId (path, 必填)

                    POST /v1/workspaces/{tenantId}/seats 🔒

                    参数:tenantId (path, 必填)

                    • membershipId * — string
                    • seatType — HUMAN | SUPERVISOR
                    DELETE /v1/workspaces/{tenantId}/seats/{seatId} 🔒

                    参数:tenantId (path, 必填), seatId (path, 必填)

                    security-policy

                    GET /v1/workspaces/{tenantId}/security-policy 🔒

                    参数:tenantId (path, 必填)

                    PUT /v1/workspaces/{tenantId}/security-policy 🔒

                    参数:tenantId (path, 必填)

                    • adminMfaRequired — boolean
                    • stepUpMinutes — integer

                    settings

                    GET /v1/workspaces/{tenantId}/settings 🔒

                    参数:tenantId (path, 必填)

                    PATCH /v1/workspaces/{tenantId}/settings 🔒

                    参数:tenantId (path, 必填)

                    shield

                    GET /v1/workspaces/{tenantId}/shield/breakers 🔒

                    参数:tenantId (path, 必填), all (query)

                    POST /v1/workspaces/{tenantId}/shield/breakers 🔒

                    参数:tenantId (path, 必填)

                    • scope * — TENANT | PORTFOLIO | CONNECTION | CAMPAIGN
                    • scopeId — string
                    • mode — MARKETING | ALL
                    • reason * — string
                    POST /v1/workspaces/{tenantId}/shield/breakers/{breakerId}/step 🔒

                    参数:tenantId (path, 必填), breakerId (path, 必填)

                    • to * — HALF_OPEN | CLOSED
                    • reason * — string
                    GET /v1/workspaces/{tenantId}/shield/dashboard 🔒

                    参数:tenantId (path, 必填)

                    GET /v1/workspaces/{tenantId}/shield/decisions 🔒

                    参数:tenantId (path, 必填)

                    GET /v1/workspaces/{tenantId}/shield/incidents 🔒

                    参数:tenantId (path, 必填)

                    POST /v1/workspaces/{tenantId}/shield/incidents 🔒

                    参数:tenantId (path, 必填)

                    • title * — string
                    • severity * — SEV1 | SEV2 | SEV3 | SEV4
                    • category * — PROVIDER_RESTRICTION | QUALITY | TEMPLATE | CONSENT | DELIVERY | INTEGRATION | POLICY | OTHER
                    • affectedConnections — array
                    • affectedCampaigns — array
                    • note — string
                    GET /v1/workspaces/{tenantId}/shield/incidents/{incidentId} 🔒

                    参数:tenantId (path, 必填), incidentId (path, 必填)

                    PATCH /v1/workspaces/{tenantId}/shield/incidents/{incidentId} 🔒

                    参数:tenantId (path, 必填), incidentId (path, 必填)

                    • status — OPEN | INVESTIGATING | MITIGATED | RESOLVED | CLOSED
                    • ownerMembershipId —
                    • rootCause — string
                    • resolution — string
                    • postIncidentReview — string
                    • remediationIndex — integer
                    • remediationDone — boolean
                    • note — string
                    • evidenceRef — string
                    GET /v1/workspaces/{tenantId}/shield/policy 🔒

                    参数:tenantId (path, 必填)

                    PUT /v1/workspaces/{tenantId}/shield/policy 🔒

                    参数:tenantId (path, 必填)

                    • tier_headroom — number
                    • failure_rate_pause — number
                    • optout_rate_pause — number
                    • min_sample — integer
                    • health_max_age_hours — integer
                    POST /v1/workspaces/{tenantId}/shield/preflights/{preflightId}/review 🔒

                    参数:tenantId (path, 必填), preflightId (path, 必填)

                    • note * — string
                    GET /v1/workspaces/{tenantId}/shield/rules 🔒

                    参数:tenantId (path, 必填)

                    GET /v1/workspaces/{tenantId}/shield/templates 🔒

                    参数:tenantId (path, 必填)

                    support-access

                    GET /v1/workspaces/{tenantId}/support-access 🔒

                    参数:tenantId (path, 必填)

                    POST /v1/workspaces/{tenantId}/support-access 🔒

                    参数:tenantId (path, 必填)

                    • scopes * — array
                    • reason * — string
                    • hours * — integer
                    POST /v1/workspaces/{tenantId}/support-access/{grantId}/revoke 🔒

                    参数:tenantId (path, 必填), grantId (path, 必填)

                    suppressions

                    GET /v1/workspaces/{tenantId}/suppressions 🔒

                    参数:tenantId (path, 必填)

                    POST /v1/workspaces/{tenantId}/suppressions 🔒

                    参数:tenantId (path, 必填)

                    • channel * — whatsapp | sms | email | telegram | instagram | messenger | tiktok | snapchat
                    • address * — string
                    • reason * — OPT_OUT | HARD_BOUNCE | COMPLAINT | BLOCKED | MANUAL | LEGAL

                    system

                    POST /v1/invites/accept 🔒
                    • token * — string
                    POST /v1/me/account/delete 🔒
                    • confirmEmail * — string
                    POST /v1/me/mfa/recovery-codes 🔒
                    • code * — string
                    POST /v1/me/mfa/step-up 🔒
                    • code * — string
                    POST /v1/me/mfa/totp/begin 🔒
                    • password * — string
                    POST /v1/me/mfa/totp/confirm 🔒
                    • code * — string
                    POST /v1/me/mfa/totp/disable 🔒
                    • password * — string
                    • code * — string
                    POST /v1/me/password 🔒
                    • currentPassword * — string
                    • newPassword * — string
                    GET /v1/me/profile 🔒
                    PATCH /v1/me/profile 🔒
                    • displayName — string
                    • locale — string
                    POST /v1/me/reauth 🔒
                    • password — string
                    • code — string
                    GET /v1/me/sessions 🔒
                    POST /v1/me/sessions/{sessionId}/revoke 🔒

                    参数:sessionId (path, 必填)

                    POST /v1/me/sessions/revoke-others 🔒
                    GET /v1/me/two-step-reset 🔒
                    POST /v1/me/two-step-reset/cancel 🔒
                      GET /v1/me/workspaces/owned 🔒
                      GET /v1/platform/ads/operations 🔒
                      GET /v1/platform/ai-spending 🔒
                      GET /v1/platform/ai/usage 🔒

                      参数:days (query)

                      GET /v1/platform/audit 🔒

                      参数:tenantId (query), actorType (query), before (query), limit (query)

                      GET /v1/platform/background 🔒
                      GET /v1/platform/branding/images 🔒
                      GET /v1/platform/breach-settings 🔒
                      PUT /v1/platform/breach-settings/contracts/{workspaceId} 🔒

                      参数:workspaceId (path, 必填)

                      • saudi * — boolean
                      • note * — string
                      PUT /v1/platform/breach-settings/hours 🔒
                      • hours * — object
                      • approvalReference * — string
                      GET /v1/platform/breaches 🔒

                      参数:status (query), personalData (query), risk (query), due (query), from (query), to (query), cursor (query), limit (query)

                      GET /v1/platform/breaches/{breachId} 🔒

                      参数:breachId (path, 必填)

                      PUT /v1/platform/breaches/{breachId} 🔒

                      参数:breachId (path, 必填)

                      • version * — integer
                      • personalData — YES | NO | UNKNOWN
                      • nature — array
                      • ongoing — boolean | null
                      • source — string
                      • systems — string
                      • detectedAt —
                      • awareAt —
                      • awareReason —
                      • dataCategories — array
                      • subjectCategories — array
                      • countries — array
                      • approxContacts — integer | null
                      • approxRecords — integer | null
                      • approxWorkspaces — integer | null
                      • containment — string
                      • lessons — string
                      POST /v1/platform/breaches/{breachId}/evidence 🔒

                      参数:breachId (path, 必填)

                      • version * — integer
                      • label * — string
                      • url * — string
                      POST /v1/platform/breaches/{breachId}/export 🔒

                      参数:breachId (path, 必填)

                      • format * — csv | json
                      • headers — object
                      • labels — object
                      POST /v1/platform/breaches/{breachId}/notice-records 🔒

                      参数:breachId (path, 必填)

                      • version * — integer
                      • audience * — CUSTOMERS_SAUDI | CUSTOMERS | REGULATOR | PEOPLE
                      • sentAt * — object
                      • recipients * — string
                      • country —
                      • reference —
                      • replaces —
                      POST /v1/platform/breaches/{breachId}/notices 🔒

                      参数:breachId (path, 必填)

                      • version * — integer
                      • audience * — CUSTOMERS_SAUDI | CUSTOMERS | REGULATOR | PEOPLE
                      • decision * — NOTIFY | NO_NOTICE
                      • reasons * — string
                      POST /v1/platform/breaches/{breachId}/risk 🔒

                      参数:breachId (path, 必填)

                      • version * — integer
                      • level * — NO_RISK | RISK | HIGH_RISK
                      • reasons * — string
                      POST /v1/platform/breaches/{breachId}/risk/{decisionId}/review 🔒

                      参数:breachId (path, 必填), decisionId (path, 必填)

                      • version * — integer
                      • decision * — APPROVE | REJECT
                      • note —
                      POST /v1/platform/breaches/{breachId}/risk/{decisionId}/withdraw 🔒

                      参数:breachId (path, 必填), decisionId (path, 必填)

                      • version * — integer
                      POST /v1/platform/breaches/{breachId}/status 🔒

                      参数:breachId (path, 必填)

                      • version * — integer
                      • to * — OPEN | ASSESSED | NOTICES_DECIDED | CLOSED
                      • note —
                      POST /v1/platform/breaches/{breachId}/workspaces 🔒

                      参数:breachId (path, 必填)

                      • version * — integer
                      • workspaceId * — string
                      • affected * — boolean
                      POST /v1/platform/breaches/export 🔒
                      • status — OPEN | ASSESSED | NOTICES_DECIDED | CLOSED
                      • personalData — YES | NO | UNKNOWN
                      • risk — NO_RISK | RISK | HIGH_RISK
                      • due — overdue | soon | pending
                      • from — string
                      • to — string
                      • format * — csv | json
                      • headers — object
                      • labels — object
                      POST /v1/platform/cms/drafts 🔒
                      • slug * — string
                      • locale * — en | ar | pt | es | tr | de | fr | it | id | hi | zh-Hans | ja | ko | pl | vi | ur | el
                      • title * — string
                      • lead — string
                      • blocks * — array
                      • seo — object
                      • translationStatus — SOURCE | MACHINE_DRAFT | HUMAN_REVIEWED | PENDING_LEGAL_REVIEW
                      • baseVersion * — integer
                      GET /v1/platform/cms/media 🔒
                      POST /v1/platform/cms/media 🔒
                      • filename * — string
                      • contentType * — string
                      • alt — string
                      • dataBase64 * — string
                      GET /v1/platform/cms/pages 🔒
                      POST /v1/platform/cms/pages 🔒
                      • slug * — string
                      • locale * — string
                      • title * — string
                      • lead — string
                      • blocks * — array
                      • seo — object
                      • translationStatus — SOURCE | MACHINE_DRAFT | HUMAN_REVIEWED | PENDING_LEGAL_REVIEW
                      GET /v1/platform/cms/pages/{pageId} 🔒

                      参数:pageId (path, 必填)

                      POST /v1/platform/cms/pages/{pageId}/approve 🔒

                      参数:pageId (path, 必填)

                      • version * — integer
                      • note — string
                      • publishAt — string | null
                      POST /v1/platform/cms/pages/{pageId}/archive 🔒

                      参数:pageId (path, 必填)

                      POST /v1/platform/cms/pages/{pageId}/preview 🔒

                      参数:pageId (path, 必填)

                      • version * — integer
                      • minutes — integer
                      POST /v1/platform/cms/pages/{pageId}/publish 🔒

                      参数:pageId (path, 必填)

                      • version * — integer
                      • note — string
                      POST /v1/platform/cms/pages/{pageId}/rollback 🔒

                      参数:pageId (path, 必填)

                      • version * — integer
                      • reason — string
                      POST /v1/platform/cms/pages/{pageId}/schedule/cancel 🔒

                      参数:pageId (path, 必填)

                        POST /v1/platform/cms/pages/{pageId}/submit 🔒

                        参数:pageId (path, 必填)

                        • version * — integer
                        GET /v1/platform/email-log 🔒

                        参数:status (query), stream (query), template (query), tenantId (query), cursor (query), limit (query)

                        POST /v1/platform/email-log/search 🔒
                        • status — QUEUED | SENDING | SENT | FAILED | RATE_LIMITED | REFUSED | EXPIRED | OUTCOME_UNKNOWN
                        • stream — ACCOUNT | SECURITY | WORKSPACE | PLATFORM
                        • template — string
                        • tenantId — string
                        • cursor — string
                        • limit — integer
                        • to * — string
                        GET /v1/platform/finance/activatable-plans 🔒
                        GET /v1/platform/finance/billing-settings 🔒
                        PUT /v1/platform/finance/billing-settings/{name} 🔒

                        参数:name (path, 必填)

                        • value * — object | null
                        • approvalReference * — string
                        GET /v1/platform/finance/changes 🔒

                        参数:status (query)

                        POST /v1/platform/finance/changes/{tenantId}/{changeId}/decide 🔒

                        参数:tenantId (path, 必填), changeId (path, 必填)

                        • decision * — APPROVE | REJECT
                        • note — string
                        GET /v1/platform/finance/credit-grants 🔒

                        参数:status (query)

                        POST /v1/platform/finance/credit-grants 🔒
                        • tenantId * — string
                        • kind * — GRANT | ADJUST
                        • amountMinor * — string
                        • reason * — string
                        • idempotencyKey * — string
                        POST /v1/platform/finance/credit-grants/{tenantId}/{grantId}/decision 🔒

                        参数:tenantId (path, 必填), grantId (path, 必填)

                        • decision * — APPROVE | REJECT
                        • note — string
                        POST /v1/platform/finance/credit-grants/{tenantId}/{grantId}/withdraw 🔒

                        参数:tenantId (path, 必填), grantId (path, 必填)

                        GET /v1/platform/finance/entitlements/{tenantId} 🔒

                        参数:tenantId (path, 必填)

                        PUT /v1/platform/finance/entitlements/{tenantId}/{key} 🔒

                        参数:tenantId (path, 必填), key (path, 必填)

                        • value * —
                        • reason * — string
                        • expiresAt —
                        DELETE /v1/platform/finance/entitlements/{tenantId}/{key} 🔒

                        参数:tenantId (path, 必填), key (path, 必填)

                        GET /v1/platform/finance/entitlements/impact 🔒
                        GET /v1/platform/finance/invoices 🔒

                        参数:status (query), tenantId (query), cursor (query), limit (query)

                        POST /v1/platform/finance/invoices/{tenantId}/{invoiceId}/finalize 🔒

                        参数:tenantId (path, 必填), invoiceId (path, 必填)

                        POST /v1/platform/finance/invoices/{tenantId}/{invoiceId}/payments 🔒

                        参数:tenantId (path, 必填), invoiceId (path, 必填)

                        • amount — string
                        • amountMinor — string
                        • method * — BANK_TRANSFER | EXTERNAL_CARD | CREDIT_NOTE | OTHER
                        • externalReference * — string
                        • receivedAt — string
                        POST /v1/platform/finance/invoices/{tenantId}/{invoiceId}/void 🔒

                        参数:tenantId (path, 必填), invoiceId (path, 必填)

                        • reason * — string
                        GET /v1/platform/finance/manual-payments 🔒

                        参数:status (query)

                        POST /v1/platform/finance/manual-payments/{tenantId}/{paymentId}/decision 🔒

                        参数:tenantId (path, 必填), paymentId (path, 必填)

                        • decision * — CONFIRM | REJECT
                        • note — string
                        POST /v1/platform/finance/manual-payments/{tenantId}/{paymentId}/withdraw 🔒

                        参数:tenantId (path, 必填), paymentId (path, 必填)

                        GET /v1/platform/finance/overview 🔒
                        GET /v1/platform/finance/payment-attention 🔒
                        POST /v1/platform/finance/payment-attention/{tenantId}/resolutions/{resolutionId}/decision 🔒

                        参数:tenantId (path, 必填), resolutionId (path, 必填)

                        • decision * — CONFIRM | REJECT
                        • note — string
                        POST /v1/platform/finance/payment-attention/{tenantId}/resolutions/{resolutionId}/withdraw 🔒

                        参数:tenantId (path, 必填), resolutionId (path, 必填)

                        POST /v1/platform/finance/payment-attention/{tenantId}/reversals/{reversalId}/resolution 🔒

                        参数:tenantId (path, 必填), reversalId (path, 必填)

                        • action * — ACCEPT | DISMISS
                        • externalReference — string
                        • note * — string
                        POST /v1/platform/finance/payment-attention/{tenantId}/sessions/{sessionId}/resolution 🔒

                        参数:tenantId (path, 必填), sessionId (path, 必填)

                        • action * — APPLY | REFUNDED | NO_PAYMENT
                        • externalReference — string
                        • note * — string
                        • amount — string
                        • amountMinor — string
                        GET /v1/platform/finance/payment-gateways 🔒
                        PUT /v1/platform/finance/payment-gateways/{provider} 🔒

                        参数:provider (path, 必填)

                        • enabled — boolean
                        • testMode — boolean
                        • currencies — array
                        • credentials — object
                        GET /v1/platform/finance/refunds 🔒

                        参数:status (query)

                        POST /v1/platform/finance/refunds/{tenantId} 🔒

                        参数:tenantId (path, 必填)

                        • invoiceId * — string
                        • amount — string
                        • amountMinor — string
                        • reason * — string
                        POST /v1/platform/finance/refunds/{tenantId}/{refundId}/decision 🔒

                        参数:tenantId (path, 必填), refundId (path, 必填)

                        • decision * — APPROVE | REJECT
                        • note — string
                        POST /v1/platform/finance/refunds/{tenantId}/{refundId}/provider-outcome 🔒

                        参数:tenantId (path, 必填), refundId (path, 必填)

                        • outcome * — REFUNDED | NOT_REFUNDED
                        • externalReference — string
                        • note * — string
                        POST /v1/platform/finance/refunds/{tenantId}/{refundId}/provider-refund 🔒

                        参数:tenantId (path, 必填), refundId (path, 必填)

                        POST /v1/platform/finance/refunds/{tenantId}/{refundId}/record 🔒

                        参数:tenantId (path, 必填), refundId (path, 必填)

                        • method * — BANK_TRANSFER | EXTERNAL_CARD | WALLET_CREDIT | OTHER
                        • externalReference — string
                        GET /v1/platform/finance/subscription-actions 🔒

                        参数:status (query), tenantId (query)

                        GET /v1/platform/finance/subscriptions 🔒

                        参数:view (query), search (query), cursor (query), limit (query)

                        GET /v1/platform/finance/subscriptions/{tenantId} 🔒

                        参数:tenantId (path, 必填)

                        POST /v1/platform/finance/subscriptions/{tenantId}/actions 🔒

                        参数:tenantId (path, 必填)

                        • kind * — ACTIVATE | EXTEND_TRIAL | CANCEL_AT_PERIOD_END | TAX_STATUS
                        • planVersionId — string
                        • seats — integer
                        • trialDays — integer
                        • taxStatus — STANDARD | ZERO_RATED | EXEMPT | REVERSE_CHARGE | OUT_OF_SCOPE | BY_COUNTRY
                        • reason * — string
                        • idempotencyKey * — string
                        POST /v1/platform/finance/subscriptions/{tenantId}/actions/{actionId}/decision 🔒

                        参数:tenantId (path, 必填), actionId (path, 必填)

                        • decision * — APPROVE | REJECT
                        • note — string
                        POST /v1/platform/finance/subscriptions/{tenantId}/actions/{actionId}/withdraw 🔒

                        参数:tenantId (path, 必填), actionId (path, 必填)

                          GET /v1/platform/health 🔒
                          GET /v1/platform/incidents 🔒
                          POST /v1/platform/incidents 🔒
                          • title * — string
                          • severity * — SEV1 | SEV2 | SEV3 | SEV4
                          • components — array
                          • isPublic — boolean
                          • body * — string
                          POST /v1/platform/incidents/{incidentId}/breach 🔒

                          参数:incidentId (path, 必填)

                          POST /v1/platform/incidents/{incidentId}/updates 🔒

                          参数:incidentId (path, 必填)

                          • status * — INVESTIGATING | IDENTIFIED | MONITORING | RESOLVED
                          • body * — string
                          • isPublic — boolean
                          GET /v1/platform/jobs/dead 🔒

                          参数:queue (query), tenantId (query), before (query), limit (query)

                          POST /v1/platform/jobs/dead/{jobId}/replay 🔒

                          参数:jobId (path, 必填)

                          • reason * — string
                          POST /v1/platform/legal 🔒
                          • docKey * — terms | privacy | cookies | dpa | aup
                          • version * — string
                          • locale * — string
                          • title * — string
                          • body * — string
                          • summary — string
                          • requiresAcceptance * — boolean
                          • counselApproved * — boolean
                          • effectiveAt — string
                          GET /v1/platform/legal/drafts 🔒
                          PUT /v1/platform/legal/drafts 🔒
                          • docKey * — terms | privacy | cookies | dpa | aup | subprocessors
                          • version * — string
                          • locale * — string
                          • title * — string
                          • body * — string
                          • summary — string
                          • requiresAcceptance — boolean
                          POST /v1/platform/legal/drafts/discard 🔒
                          • docKey * — terms | privacy | cookies | dpa | aup | subprocessors
                          • version * — string
                          • locale — string
                          POST /v1/platform/legal/drafts/publish 🔒
                          • docKey * — terms | privacy | cookies | dpa | aup | subprocessors
                          • version * — string
                          • counselApproved * — boolean
                          • effectiveAt — string
                          GET /v1/platform/me 🔒
                          GET /v1/platform/messaging/email-suppressions 🔒

                          参数:to (query), limit (query)

                          POST /v1/platform/messaging/email-suppressions/lift 🔒
                          • address * — string
                          • reason * — string
                          GET /v1/platform/messaging/prices 🔒
                          POST /v1/platform/messaging/prices 🔒
                          • channel * — email | sms
                          • country * — string
                          • unitPriceMicros * — string
                          • currency * — string
                          • approvalReference — string
                          • placeholder — boolean
                          • note — string
                          • effectiveFrom — string
                          GET /v1/platform/messaging/sms-country-rules 🔒
                          GET /v1/platform/messaging/sms-lines 🔒

                          参数:tenantId (query)

                          POST /v1/platform/messaging/sms-lines 🔒
                          • tenantId * — string
                          • label * — string
                          • messagingServiceSid * — string
                          • countrySenders — object
                          • registrations — object
                          • ratePerMinute — integer
                          PATCH /v1/platform/messaging/sms-lines/{tenantId}/{connectionId} 🔒

                          参数:tenantId (path, 必填), connectionId (path, 必填)

                          • countrySenders — object
                          • registrations — object
                          GET /v1/platform/overview 🔒
                          GET /v1/platform/partners 🔒
                          POST /v1/platform/partners/attribution 🔒
                          • partnerTenantId * — string
                          • clientTenantId * — string
                          POST /v1/platform/partners/commission-rule 🔒
                          • partnerTenantId * — string
                          • basisPoints * — integer
                          • ownerPolicyReference * — string
                          GET /v1/platform/payouts 🔒
                          POST /v1/platform/payouts 🔒
                          • partnerTenantId * — string
                          • periodStart * — string
                          • periodEnd * — string
                          • currency * — string
                          POST /v1/platform/payouts/{payoutId}/approve 🔒

                          参数:payoutId (path, 必填)

                          POST /v1/platform/payouts/{payoutId}/paid 🔒

                          参数:payoutId (path, 必填)

                          • externalReference * — string
                          POST /v1/platform/payouts/{payoutId}/void 🔒

                          参数:payoutId (path, 必填)

                          GET /v1/platform/permissions 🔒
                          GET /v1/platform/plans 🔒
                          POST /v1/platform/plans 🔒
                          • planKey * — string
                          • name — string
                          • currency * — string
                          • basePrice — string | null
                          • includedSeats * — integer
                          • extraSeatPrice — string | null
                          • isQuoteOnly * — boolean
                          • entitlements — object
                          PUT /v1/platform/plans/{versionId} 🔒

                          参数:versionId (path, 必填)

                          • planKey — string
                          • name — string
                          • currency * — string
                          • basePrice — string | null
                          • includedSeats * — integer
                          • extraSeatPrice — string | null
                          • isQuoteOnly * — boolean
                          • entitlements — object
                          • revision * — integer
                          POST /v1/platform/plans/{versionId}/publish 🔒

                          参数:versionId (path, 必填)

                          • ownerApprovalReference * — string
                          POST /v1/platform/plans/preview 🔒
                          • planKey — string
                          • name — string
                          • currency * — string
                          • basePrice — string | null
                          • includedSeats * — integer
                          • extraSeatPrice — string | null
                          • isQuoteOnly * — boolean
                          • entitlements — object
                          POST /v1/platform/privacy/website-leads/erase 🔒
                          • email — string
                          • phone — string
                          • reference * — string
                          • leadIds — array
                          POST /v1/platform/privacy/website-leads/export 🔒
                          • email — string
                          • phone — string
                          • reference * — string
                          POST /v1/platform/privacy/website-leads/search 🔒
                          • email — string
                          • phone — string
                          GET /v1/platform/settings 🔒
                          PUT /v1/platform/settings/{key} 🔒

                          参数:key (path, 必填)

                          • value * —
                          GET /v1/platform/shield/cases 🔒
                          GET /v1/platform/sponsored/campaigns 🔒

                          参数:view (query)

                          POST /v1/platform/sponsored/campaigns 🔒
                          • placementId * — string
                          • startsAt * — string
                          • endsAt * — string
                          • creative — object
                          GET /v1/platform/sponsored/campaigns/{campaignId} 🔒

                          参数:campaignId (path, 必填)

                          PUT /v1/platform/sponsored/campaigns/{campaignId}/creative 🔒

                          参数:campaignId (path, 必填)

                          • advertiserName * — string
                          • title * — string
                          • body —
                          • imageAssetId —
                          • linkKind * — URL | INTERNAL
                          • linkUrl —
                          • internalPath —
                          • submit — boolean
                          • version — integer
                          POST /v1/platform/sponsored/campaigns/{campaignId}/dates 🔒

                          参数:campaignId (path, 必填)

                          • decision * — CONFIRM | REFUND
                          • reason — string
                          POST /v1/platform/sponsored/campaigns/{campaignId}/review 🔒

                          参数:campaignId (path, 必填)

                          • decision * — APPROVE | REJECT
                          • reason — string
                          • version * — integer
                          POST /v1/platform/sponsored/campaigns/{campaignId}/state 🔒

                          参数:campaignId (path, 必填)

                          • action * — PAUSE | RESUME | CANCEL
                          • reason — string
                          POST /v1/platform/sponsored/campaigns/{campaignId}/submit 🔒

                          参数:campaignId (path, 必填)

                          • version — integer
                          POST /v1/platform/sponsored/images 🔒
                          • contentType * — string
                          • dataBase64 * — string
                          GET /v1/platform/sponsored/images/{assetId} 🔒

                          参数:assetId (path, 必填)

                          GET /v1/platform/sponsored/placements 🔒
                          POST /v1/platform/sponsored/placements 🔒
                          • name * — string
                          • description —
                          • slot * — DASHBOARD_TOP | DASHBOARD_SIDE | SHELL_SIDEBAR
                          • size * — BANNER | CARD | COMPACT
                          • targetPlans — array
                          • targetCountries — array
                          • targetLanguages — array
                          • priceMinor * — string
                          • currency * — string
                          • periodDays * — integer
                          • maxPeriods — integer
                          • capacity — integer
                          • frequencyCap — integer
                          • availableFrom —
                          • availableUntil —
                          GET /v1/platform/sponsored/placements/{placementId} 🔒

                          参数:placementId (path, 必填)

                          PATCH /v1/platform/sponsored/placements/{placementId} 🔒

                          参数:placementId (path, 必填)

                          • name — string
                          • description —
                          • slot — DASHBOARD_TOP | DASHBOARD_SIDE | SHELL_SIDEBAR
                          • size — BANNER | CARD | COMPACT
                          • targetPlans — array
                          • targetCountries — array
                          • targetLanguages — array
                          • priceMinor — string
                          • currency — string
                          • periodDays — integer
                          • maxPeriods — integer
                          • capacity — integer
                          • frequencyCap — integer
                          • availableFrom —
                          • availableUntil —
                          POST /v1/platform/sponsored/placements/{placementId}/status 🔒

                          参数:placementId (path, 必填)

                          • status * — ACTIVE | PAUSED | RETIRED
                          GET /v1/platform/sponsored/policy 🔒
                          PUT /v1/platform/sponsored/policy 🔒
                          • workspaceOptOutAllowed * — boolean
                          GET /v1/platform/sponsored/report 🔒

                          参数:days (query)

                          GET /v1/platform/staff 🔒
                          POST /v1/platform/staff 🔒
                          • email * — string
                          • role * — platform_owner | platform_admin | platform_support | platform_content | platform_finance | platform_publisher
                          • reason — string
                          POST /v1/platform/staff/{userId}/revoke 🔒

                          参数:userId (path, 必填)

                          • reason * — string
                          GET /v1/platform/support-access 🔒
                          POST /v1/platform/support-access/{tenantId}/{grantId}/end 🔒

                          参数:tenantId (path, 必填), grantId (path, 必填)

                            POST /v1/platform/support-access/{tenantId}/{grantId}/leave 🔒

                            参数:tenantId (path, 必填), grantId (path, 必填)

                              GET /v1/platform/tenants 🔒

                              参数:search (query), status (query), limit (query), offset (query), cursor (query)

                              GET /v1/platform/tenants/{tenantId} 🔒

                              参数:tenantId (path, 必填)

                              POST /v1/platform/tenants/{tenantId}/close 🔒

                              参数:tenantId (path, 必填)

                              • confirmName * — string
                              • reason * — string
                              • acknowledged * — boolean
                              GET /v1/platform/tenants/{tenantId}/closing 🔒

                              参数:tenantId (path, 必填)

                              PUT /v1/platform/tenants/{tenantId}/legal-hold 🔒

                              参数:tenantId (path, 必填)

                              • hold * — boolean
                              • reason * — string
                              POST /v1/platform/tenants/{tenantId}/status 🔒

                              参数:tenantId (path, 必填)

                              • status * — ACTIVE | SUSPENDED | CLOSED
                              • reason * — string
                              GET /v1/platform/tenants/{tenantId}/support-view 🔒

                              参数:tenantId (path, 必填)

                              GET /v1/platform/two-step-resets 🔒

                              参数:limit (query)

                              POST /v1/platform/two-step-resets 🔒
                              • email * — string
                              • reason * — string
                              • identityNote * — string
                              POST /v1/platform/two-step-resets/{resetId}/cancel 🔒

                              参数:resetId (path, 必填)

                              • reason * — string
                              POST /v1/platform/two-step-resets/{resetId}/confirm 🔒

                              参数:resetId (path, 必填)

                                GET /v1/platform/website-leads/{leadId} 🔒

                                参数:leadId (path, 必填)

                                POST /v1/platform/website-leads/{leadId}/assignee 🔒

                                参数:leadId (path, 必填)

                                • from * —
                                • userId * —
                                POST /v1/platform/website-leads/{leadId}/notes 🔒

                                参数:leadId (path, 必填)

                                • note * — string
                                POST /v1/platform/website-leads/{leadId}/status 🔒

                                参数:leadId (path, 必填)

                                • from * — string
                                • to * — NEW | IN_PROGRESS | DONE | SPAM
                                POST /v1/platform/website-leads/export 🔒
                                • kind — CONTACT | DEMO | PARTNER | SECURITY
                                • category — SALES | SUPPORT | PARTNERSHIP | SECURITY | OTHER
                                • status — NEW | IN_PROGRESS | DONE | SPAM
                                • assignee —
                                • from — string
                                • to — string
                                • q — string
                                • headers — object
                                • labels — object
                                POST /v1/platform/website-leads/list 🔒
                                • kind — CONTACT | DEMO | PARTNER | SECURITY
                                • category — SALES | SUPPORT | PARTNERSHIP | SECURITY | OTHER
                                • status — NEW | IN_PROGRESS | DONE | SPAM
                                • assignee —
                                • from — string
                                • to — string
                                • q — string
                                • cursor — string
                                • limit — integer
                                GET /v1/platform/website-leads/notices 🔒

                                参数:limit (query)

                                POST /v1/platform/website-leads/notices/read 🔒
                                • all —
                                • ids — array
                                POST /v1/workspaces 🔒
                                • workspaceName * — string
                                • termsVersion * — string
                                • locale — string
                                GET /v1/workspaces/{tenantId} 🔒

                                参数:tenantId (path, 必填)

                                teams

                                GET /v1/workspaces/{tenantId}/teams 🔒

                                参数:tenantId (path, 必填)

                                POST /v1/workspaces/{tenantId}/teams 🔒

                                参数:tenantId (path, 必填)

                                • id — string
                                • name * — string
                                • description — string
                                • routingQueueKey — string | null
                                DELETE /v1/workspaces/{tenantId}/teams/{teamId} 🔒

                                参数:tenantId (path, 必填), teamId (path, 必填)

                                PUT /v1/workspaces/{tenantId}/teams/{teamId}/members 🔒

                                参数:tenantId (path, 必填), teamId (path, 必填)

                                • members * — array

                                whatsapp

                                GET /v1/workspaces/{tenantId}/whatsapp/coexistence 🔒

                                参数:tenantId (path, 必填)

                                POST /v1/workspaces/{tenantId}/whatsapp/connections/{connectionId}/coexistence/sync 🔒

                                参数:tenantId (path, 必填), connectionId (path, 必填)

                                • kinds * — array
                                • retentionDays — integer
                                GET /v1/workspaces/{tenantId}/whatsapp/connections/{connectionId}/numbers 🔒

                                参数:tenantId (path, 必填), connectionId (path, 必填)

                                POST /v1/workspaces/{tenantId}/whatsapp/connections/{connectionId}/templates/submit 🔒

                                参数:tenantId (path, 必填), connectionId (path, 必填)

                                • name * — string
                                • language * — string
                                • category * — MARKETING | UTILITY | AUTHENTICATION
                                • body * — string
                                • examples — array
                                • header — string
                                • footer — string
                                POST /v1/workspaces/{tenantId}/whatsapp/connections/{connectionId}/templates/sync 🔒

                                参数:tenantId (path, 必填), connectionId (path, 必填)

                                POST /v1/workspaces/{tenantId}/whatsapp/embedded-signup 🔒

                                参数:tenantId (path, 必填)

                                • code * — string
                                • wabaId — string
                                • phoneNumberId — string
                                POST /v1/workspaces/{tenantId}/whatsapp/embedded-signup/activate 🔒

                                参数:tenantId (path, 必填)

                                • signupId * — string
                                • phoneNumberId * — string
                                • pin — string
                                • label — string
                                • coexistence — boolean
                                GET /v1/workspaces/{tenantId}/whatsapp/embedded-signup/config 🔒

                                参数:tenantId (path, 必填)

                                workforce

                                GET /v1/workspaces/{tenantId}/workforce/agents 🔒

                                参数:tenantId (path, 必填), scope (query)

                                PUT /v1/workspaces/{tenantId}/workforce/agents/{membershipId}/skills 🔒

                                参数:tenantId (path, 必填), membershipId (path, 必填)

                                • skills * — array
                                GET /v1/workspaces/{tenantId}/workforce/performance 🔒

                                参数:tenantId (path, 必填), days (query)

                                GET /v1/workspaces/{tenantId}/workforce/queue-health 🔒

                                参数:tenantId (path, 必填), scope (query)

                                GET /v1/workspaces/{tenantId}/workforce/queues 🔒

                                参数:tenantId (path, 必填)

                                PUT /v1/workspaces/{tenantId}/workforce/queues/{key} 🔒

                                参数:tenantId (path, 必填), key (path, 必填)

                                • name * — string
                                • requiredSkills — array
                                • priority — CRITICAL | HIGH | NORMAL | LOW
                                • slaMinutes — integer
                                DELETE /v1/workspaces/{tenantId}/workforce/queues/{key} 🔒

                                参数:tenantId (path, 必填), key (path, 必填)

                                身份验证与 Webhook

                                工作区端点接受浏览器会话或 API 密钥:Authorization: Bearer mo_…。每个密钥只属于一个工作区并受其权限范围限制;请在工作区的“开发者”中创建密钥。

                                发出的 Webhook 均带签名:请验证 X-Miles-Signature: t=<unix>,v1=hex(HMAC-SHA256(secret, "t.body")),拒绝超过 5 分钟的时间戳,并忽略已处理过的事件 ID。失败的投递会以递增间隔重试,之后保留以便您重新发送。