{"openapi":"3.1.0","info":{"title":"Apizie","version":"2.0.0","description":"One API key, one envelope, many public data sources."},"servers":[{"url":"https://zieapi.vercel.app"}],"security":[{"ApiKeyAuth":[]}],"paths":{"/v1/cloud:aliyun-cams/add-address-recover-suspend":{"post":{"operationId":"cloud_aliyun_cams_add_address_recover_suspend","summary":"Submits a request to change the destination, resume, or pause","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"endpoint":{"type":"string","enum":["https://cams.ap-southeast-1.aliyuncs.com"],"default":"https://cams.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://cams.ap-southeast-1.aliyuncs.com"},"RequestType":{"type":"string","description":"The request type"},"CustSpaceId":{"type":"string","description":"The customer space ID"},"AuditRecord":{"type":"string","description":"The audit record (JSON-encoded)"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-cams/add-audit-viber-open":{"post":{"operationId":"cloud_aliyun_cams_add_audit_viber_open","summary":"Registers a Viber account and creates an account","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["CustSpaceId"],"properties":{"endpoint":{"type":"string","enum":["https://cams.ap-southeast-1.aliyuncs.com"],"default":"https://cams.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://cams.ap-southeast-1.aliyuncs.com"},"AuditResult":{"type":"string","description":"The audit result"},"CustSpaceId":{"type":"string","description":"The SpaceId of the ISV sub-customer"},"AuditRecord":{"type":"string","description":"The audit record (JSON-encoded)"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-cams/add-chat-group":{"post":{"operationId":"cloud_aliyun_cams_add_chat_group","summary":"Creates an IM group","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["BusinessNumber","CustSpaceId"],"properties":{"endpoint":{"type":"string","enum":["https://cams.ap-southeast-1.aliyuncs.com"],"default":"https://cams.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://cams.ap-southeast-1.aliyuncs.com"},"BusinessNumber":{"type":"string","description":"The phone number associated with the business account"},"Description":{"type":"string","description":"The group description"},"Subject":{"type":"string","description":"The group title"},"CustSpaceId":{"type":"string","description":"The SpaceId or instance ID of the ISV sub-customer, which is the channel ID. Find it on the Channel Management…"},"ChannelType":{"type":"string","description":"The channel type. Valid value: WHATSAPP Currently, only the WhatsApp channel type is supported"},"GroupLink":{"type":"string","description":"The link to the WhatsApp group"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-cams/add-chat-group-invite-link":{"post":{"operationId":"cloud_aliyun_cams_add_chat_group_invite_link","summary":"Adds an invite link for an IM group","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["BusinessNumber","GroupId","CustSpaceId"],"properties":{"endpoint":{"type":"string","enum":["https://cams.ap-southeast-1.aliyuncs.com"],"default":"https://cams.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://cams.ap-southeast-1.aliyuncs.com"},"BusinessNumber":{"type":"string","description":"The business phone number. You can view the business phone number by calling the https://help.aliyun.com/document_detail/2932629.html…"},"ChannelType":{"type":"string","description":"The channel type. Valid values: WHATSAPP Only the WhatsApp channel type is supported"},"GroupId":{"type":"string","description":"The group ID. You can view the group ID by calling the https://help.aliyun.com/document_detail/2932629.html operation"},"CustSpaceId":{"type":"string","description":"The space ID or instance ID of the ISV sub-customer. This is the channel ID, which can be viewed on the Channel Management…"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-cams/add-chatapp-phone-number":{"post":{"operationId":"cloud_aliyun_cams_add_chatapp_phone_number","summary":"Adds a phone number to a WABA","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["PhoneNumber","CustSpaceId","Cc","VerifiedName"],"properties":{"endpoint":{"type":"string","enum":["https://cams.ap-southeast-1.aliyuncs.com"],"default":"https://cams.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://cams.ap-southeast-1.aliyuncs.com"},"PhoneNumber":{"type":"string","description":"The phone number"},"CustSpaceId":{"type":"string","description":"The space ID of the ISV sub-customer"},"Cc":{"type":"string","description":"The country code"},"PreValidateId":{"type":"string","description":"The pre-validated phone number. This parameter is deprecated"},"VerifiedName":{"type":"string","description":"The display name of the phone number"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-cams/add-contacts":{"post":{"operationId":"cloud_aliyun_cams_add_contacts","summary":"Edits a contact - add contact","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["NeedUpdate","Groups"],"properties":{"endpoint":{"type":"string","enum":["https://cams.ap-southeast-1.aliyuncs.com"],"default":"https://cams.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://cams.ap-southeast-1.aliyuncs.com"},"ContactName":{"type":"string","description":"The name of the contact"},"ContactDetails":{"type":"string","description":"The description of the contact"},"Country":{"type":"string","description":"The country"},"NeedUpdate":{"type":"string","description":"Indicates whether the back-to-origin IP address whitelist needs to be updated. This parameter returns true when the current back-to-origin…"},"Groups":{"type":"string","description":"The user group information"},"FilePath":{"type":"string","description":"The file path"},"BizCode":{"type":"string","description":"The business code"},"BizExtend":{"type":"string","description":"The business extension information. Default value: an empty collection (JSON-encoded)"},"Email":{"type":"string","description":"The email address"},"Remark":{"type":"string","description":"The remarks"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-cams/add-custom-audience-user":{"post":{"operationId":"cloud_aliyun_cams_add_custom_audience_user","summary":"Adds users to a custom audience","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["CustSpaceId","PageId","AdAccountId","CustomAudienceId","Users"],"properties":{"endpoint":{"type":"string","enum":["https://cams.ap-southeast-1.aliyuncs.com"],"default":"https://cams.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://cams.ap-southeast-1.aliyuncs.com"},"CustSpaceId":{"type":"string","description":"The space ID of the Independent Software Vendor (ISV) sub-customer or the instance ID of a direct customer"},"PageId":{"type":"string","description":"The Page ID for Messenger"},"AdAccountId":{"type":"string","description":"The ID of the Meta ad account"},"CustomAudienceId":{"type":"string","description":"The ID of the custom audience"},"Users":{"type":"string","description":"A list of users (JSON-encoded)"},"EstimatedNumTotal":{"type":"integer","description":"The estimated total number of users"},"BatchLastFlag":{"type":"string","description":"Indicates whether this is the last batch of data"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-cams/add-group":{"post":{"operationId":"cloud_aliyun_cams_add_group","summary":"Adds a group","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["GroupName"],"properties":{"endpoint":{"type":"string","enum":["https://cams.ap-southeast-1.aliyuncs.com"],"default":"https://cams.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://cams.ap-southeast-1.aliyuncs.com"},"GroupName":{"type":"string","description":"The group name"},"ContactName":{"type":"string","description":"The contact name"},"ContactDetails":{"type":"string","description":"The contact description"},"Country":{"type":"string","description":"The country"},"FilePath":{"type":"string","description":"The file path"},"BizCode":{"type":"string","description":"The business tenant code"},"Email":{"type":"string","description":"The email address"},"BizExtend":{"type":"string","description":"The business extension information (JSON-encoded)"},"Remark":{"type":"string","description":"The remarks"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-cams/add-marketing-flow":{"post":{"operationId":"cloud_aliyun_cams_add_marketing_flow","summary":"Creates a campaign","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["ActivityName","ExecutionType"],"properties":{"endpoint":{"type":"string","enum":["https://cams.ap-southeast-1.aliyuncs.com"],"default":"https://cams.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://cams.ap-southeast-1.aliyuncs.com"},"ActivityName":{"type":"string","description":"The name of the node task instance"},"StartDate":{"type":"string","description":"The start time in the YYYY-MM-DD HH:mm:ss format"},"ActivityDesc":{"type":"string","description":"The description of the campaign"},"EndDate":{"type":"string","description":"The end time in the YYYY-MM-DD HH:mm:ss format"},"ExecutionType":{"type":"string","description":"The trigger method of the baseline scan. Valid values: Schedule: Triggered by a periodic configuration task. Manual: Manually triggered"},"CronExpression":{"type":"string","description":"The cron expression"},"RelatedGroupId":{"type":"integer","description":"The ID of the related group"},"RelatedFlowCode":{"type":"string","description":"The code of the associated flow"},"RelatedFlowName":{"type":"string","description":"The name of the associated flow"},"Params":{"type":"string","description":"The API parameters (JSON-encoded)"},"ParamFlag":{"type":"string","description":"The parameter flag"},"BizCode":{"type":"string","description":"The business code"},"BizExtend":{"type":"string","description":"The business extension information. Default value: an empty collection (JSON-encoded)"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-cams/archive-chatapp-template":{"post":{"operationId":"cloud_aliyun_cams_archive_chatapp_template","summary":"Archives a Chat App Message Service template. Currently, only WhatsApp templates support archiving","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["TemplateList","ArchiveType","CustSpaceId","ChannelType"],"properties":{"endpoint":{"type":"string","enum":["https://cams.ap-southeast-1.aliyuncs.com"],"default":"https://cams.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://cams.ap-southeast-1.aliyuncs.com"},"TemplateList":{"type":"string","description":"The template list (JSON-encoded)"},"ArchiveType":{"type":"string","description":"The archive type"},"CustSpaceId":{"type":"string","description":"The space ID of the ISV sub-customer or the instance ID of the direct customer. You can view the Space ID on the Channel Management…"},"ChannelType":{"type":"string","description":"The channel type. Valid values: WHATSAPP. Only the WhatsApp channel type is supported"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-cams/bind-dm-account":{"post":{"operationId":"cloud_aliyun_cams_bind_dm_account","summary":"Associates a DM account","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["CustSpaceId","AccountCode","ExtendAttr"],"properties":{"endpoint":{"type":"string","enum":["https://cams.ap-southeast-1.aliyuncs.com"],"default":"https://cams.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://cams.ap-southeast-1.aliyuncs.com"},"CustSpaceId":{"type":"string","description":"The SpaceId of the ISV sub-customer"},"AccountCode":{"type":"string","description":"The account code"},"ExtendAttr":{"type":"string","description":"The extended attributes (JSON-encoded)"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-cams/bind-instagram-page":{"post":{"operationId":"cloud_aliyun_cams_bind_instagram_page","summary":"Associates a page with an instance","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["PageId","InstanceId"],"properties":{"endpoint":{"type":"string","enum":["https://cams.ap-southeast-1.aliyuncs.com"],"default":"https://cams.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://cams.ap-southeast-1.aliyuncs.com"},"PageId":{"type":"string","description":"The page ID of the instance"},"InstanceId":{"type":"string","description":"The instance ID"},"RegionId":{"type":"string","description":"The region of the instance"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-cams/bind-messenger-page":{"post":{"operationId":"cloud_aliyun_cams_bind_messenger_page","summary":"Binds the selected pageId","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["PageId","InstanceId"],"properties":{"endpoint":{"type":"string","enum":["https://cams.ap-southeast-1.aliyuncs.com"],"default":"https://cams.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://cams.ap-southeast-1.aliyuncs.com"},"PageId":{"type":"string","description":"The PageId of the Messenger"},"InstanceId":{"type":"string","description":"The instance ID"},"RegionId":{"type":"string","description":"The region ID"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-cams/change-resource-group":{"post":{"operationId":"cloud_aliyun_cams_change_resource_group","summary":"Moves a resource to a different resource group","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["ResourceId","ResourceGroupId"],"properties":{"endpoint":{"type":"string","enum":["https://cams.ap-southeast-1.aliyuncs.com"],"default":"https://cams.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://cams.ap-southeast-1.aliyuncs.com"},"ResourceType":{"type":"string","description":"The resource type"},"ResourceId":{"type":"string","description":"The resource ID"},"ResourceGroupId":{"type":"string","description":"The target resource group"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-cams/chatapp-bind-waba":{"post":{"operationId":"cloud_aliyun_cams_chatapp_bind_waba","summary":"Binds a WhatsApp Business Account (WABA) through the northbound interface","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["WabaId"],"properties":{"endpoint":{"type":"string","enum":["https://cams.ap-southeast-1.aliyuncs.com"],"default":"https://cams.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://cams.ap-southeast-1.aliyuncs.com"},"WabaId":{"type":"string","description":"waba Id"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-cams/chatapp-migration-register":{"post":{"operationId":"cloud_aliyun_cams_chatapp_migration_register","summary":"Migrates a phone number registration","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["CustSpaceId","PhoneNumber"],"properties":{"endpoint":{"type":"string","enum":["https://cams.ap-southeast-1.aliyuncs.com"],"default":"https://cams.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://cams.ap-southeast-1.aliyuncs.com"},"CustSpaceId":{"type":"string","description":"The space ID of the ISV sub-customer"},"PhoneNumber":{"type":"string","description":"The phone number"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-cams/chatapp-migration-verified":{"post":{"operationId":"cloud_aliyun_cams_chatapp_migration_verified","summary":"Verifies a phone number for migration","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["CustSpaceId","PhoneNumber","VerifyCode"],"properties":{"endpoint":{"type":"string","enum":["https://cams.ap-southeast-1.aliyuncs.com"],"default":"https://cams.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://cams.ap-southeast-1.aliyuncs.com"},"CustSpaceId":{"type":"string","description":"The space ID of the ISV sub-customer"},"PhoneNumber":{"type":"string","description":"The phone number"},"VerifyCode":{"type":"string","description":"The verification code"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-cams/chatapp-phone-number-deregister":{"post":{"operationId":"cloud_aliyun_cams_chatapp_phone_number_deregister","summary":"Deregisters a phone number from WABA","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["PhoneNumber","CustSpaceId"],"properties":{"endpoint":{"type":"string","enum":["https://cams.ap-southeast-1.aliyuncs.com"],"default":"https://cams.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://cams.ap-southeast-1.aliyuncs.com"},"PhoneNumber":{"type":"string","description":"The phone number"},"CustSpaceId":{"type":"string","description":"The space ID of the ISV sub-customer"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-cams/chatapp-phone-number-register":{"post":{"operationId":"cloud_aliyun_cams_chatapp_phone_number_register","summary":"Registers a phone number through the northbound interface","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["PhoneNumber","CustSpaceId"],"properties":{"endpoint":{"type":"string","enum":["https://cams.ap-southeast-1.aliyuncs.com"],"default":"https://cams.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://cams.ap-southeast-1.aliyuncs.com"},"PhoneNumber":{"type":"string","description":"The phone number"},"CustSpaceId":{"type":"string","description":"The space ID of the ISV sub-customer"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-cams/chatapp-sync-phone-number":{"post":{"operationId":"cloud_aliyun_cams_chatapp_sync_phone_number","summary":"Synchronizes phone number information","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["CustSpaceId"],"properties":{"endpoint":{"type":"string","enum":["https://cams.ap-southeast-1.aliyuncs.com"],"default":"https://cams.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://cams.ap-southeast-1.aliyuncs.com"},"CustSpaceId":{"type":"string","description":"The SpaceId of the ISV sub-customer"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-cams/chatapp-verify-and-register":{"post":{"operationId":"cloud_aliyun_cams_chatapp_verify_and_register","summary":"Verifies a verification code and registers through the northbound interface","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["CustSpaceId","PhoneNumber","VerifyCode"],"properties":{"endpoint":{"type":"string","enum":["https://cams.ap-southeast-1.aliyuncs.com"],"default":"https://cams.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://cams.ap-southeast-1.aliyuncs.com"},"CustSpaceId":{"type":"string","description":"The SpaceId of the ISV sub-customer"},"PhoneNumber":{"type":"string","description":"The phone number"},"VerifyCode":{"type":"string","description":"The verification code"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-cams/check-direct-send-message-sample":{"post":{"operationId":"cloud_aliyun_cams_check_direct_send_message_sample","summary":"Validates the content of a WhatsApp direct-send template","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["Type","CustSpaceId"],"properties":{"endpoint":{"type":"string","enum":["https://cams.ap-southeast-1.aliyuncs.com"],"default":"https://cams.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://cams.ap-southeast-1.aliyuncs.com"},"Type":{"type":"string","description":"The direct-send content type. Valid values: interactive text"},"Interactive":{"type":"string","description":"The message body of the interactive type (JSON-encoded)"},"Text":{"type":"string","description":"The message body of the text content (JSON-encoded)"},"CustSpaceId":{"type":"string","description":"The space ID of the ISV sub-customer or the instance ID of the direct customer"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-cams/copy-template":{"post":{"operationId":"cloud_aliyun_cams_copy_template","summary":"Copies a template","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["SceneTemplateCode","SceneTemplateName"],"properties":{"endpoint":{"type":"string","enum":["https://cams.ap-southeast-1.aliyuncs.com"],"default":"https://cams.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://cams.ap-southeast-1.aliyuncs.com"},"SceneTemplateCode":{"type":"string","description":"The template code"},"SceneTemplateName":{"type":"string","description":"The template name"},"CustSpaceId":{"type":"string","description":"The space ID of the ISV sub-customer"},"Language":{"type":"string","description":"The language"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-cams/create-chat-flow":{"post":{"operationId":"cloud_aliyun_cams_create_chat_flow","summary":"Creates a flow","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"endpoint":{"type":"string","enum":["https://cams.ap-southeast-1.aliyuncs.com"],"default":"https://cams.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://cams.ap-southeast-1.aliyuncs.com"},"Title":{"type":"string","description":"The flow title"},"Remark":{"type":"string","description":"The flow remarks"},"FlowTriggerType":{"type":"string","description":"The flow trigger type. Valid values: TriggeredManually TriggeredByWhatsApp TriggeredByMessenger TriggeredByInstagram TriggeredByViber"},"BizCode":{"type":"string","description":"The business tenant code. Default value: ALICOM_OPAAS"},"BizExtend":{"type":"string","description":"The business extension information. Default value: an empty collection (JSON-encoded)"},"CreateFromFlowVersion":{"type":"string","description":"The source flowVersion for creation"},"CreateFromFlowCode":{"type":"string","description":"The source flowCode for creation"},"LifeCycleExtendData":{"type":"string","description":"The lifecycle extension input parameters (JSON-encoded)"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-cams/create-chat-flow-by-import":{"post":{"operationId":"cloud_aliyun_cams_create_chat_flow_by_import","summary":"Creates and imports a flow","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"endpoint":{"type":"string","enum":["https://cams.ap-southeast-1.aliyuncs.com"],"default":"https://cams.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://cams.ap-southeast-1.aliyuncs.com"},"Title":{"type":"string","description":"The flow title"},"Remark":{"type":"string","description":"The flow remarks"},"FlowViewModel":{"type":"string","description":"The imported flow DSL data, which is a JSON-formatted string. You can arrange flow components on the canvas in the flow orchestration…"},"BizCode":{"type":"string","description":"The business tenant code. Default value: ALICOM_OPAAS"},"BizExtend":{"type":"string","description":"The business extension information. Default value: an empty collection (JSON-encoded)"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-cams/create-chat-flow-log-setting":{"post":{"operationId":"cloud_aliyun_cams_create_chat_flow_log_setting","summary":"Creates a flow log setting","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"endpoint":{"type":"string","enum":["https://cams.ap-southeast-1.aliyuncs.com"],"default":"https://cams.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://cams.ap-southeast-1.aliyuncs.com"},"FlowCode":{"type":"string","description":"The flow code. You can view the flow code in the Flow Editor (https://chatapp.console.aliyun.com/ChatFlowBuilder) page"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-cams/create-chatapp-migration-initiate":{"post":{"operationId":"cloud_aliyun_cams_create_chatapp_migration_initiate","summary":"Initiates the migration of a phone number","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["CustSpaceId","MobileNumber","CountryCode"],"properties":{"endpoint":{"type":"string","enum":["https://cams.ap-southeast-1.aliyuncs.com"],"default":"https://cams.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://cams.ap-southeast-1.aliyuncs.com"},"CustSpaceId":{"type":"string","description":"The Space ID of the Independent Software Vendor (ISV) sub-customer"},"MobileNumber":{"type":"string","description":"The phone number. Do not include the country code"},"CountryCode":{"type":"string","description":"The country code"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-cams/create-chatapp-template":{"post":{"operationId":"cloud_aliyun_cams_create_chatapp_template","summary":"Creates a message template. After the template is approved, you can use it to send messages","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["Category","Components","Name","Language","TemplateType"],"properties":{"endpoint":{"type":"string","enum":["https://cams.ap-southeast-1.aliyuncs.com"],"default":"https://cams.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://cams.ap-southeast-1.aliyuncs.com"},"Category":{"type":"string","description":"WhatsApp template category. Valid values: UTILITY: transaction-related. MARKETING: marketing. AUTHENTICATION: identity verification. Viber…"},"Components":{"type":"string","description":"The list of message template components. When Category=AUTHENTICATION, Components cannot contain nodes with Type=HEADER. When Type=BODY or…"},"Name":{"type":"string","description":"The template name"},"Language":{"type":"string","description":"The template language. For detailed language codes, see https://help.aliyun.com/document_detail/463420.html"},"Example":{"type":"string","description":"The example for creating the template (JSON-encoded)"},"TemplateType":{"type":"string","description":"The templatetype. Valid values: WHATSAPP VIBER"},"CustWabaId":{"type":"string","description":"The ISV customer WabaId. Deprecated parameter. Use CustSpaceId instead"},"IsvCode":{"type":"string","description":"The ISV verification code, used to verify whether the sub-account is authorized by the ISV"},"CustSpaceId":{"type":"string","description":"The SpaceId of the ISV sub-customer or the direct customer instance ID"},"AllowCategoryChange":{"type":"string","description":"Specifies whether to allow Facebook to automatically change the template category (to improve the template approval rate). This property…"},"MessageSendTtlSeconds":{"type":"integer","description":"The time-to-live (TTL) for template messages in WhatsApp. AUTHENTICATION: valid values range from 30 to 900. UTILITY: valid values range…"},"CategoryChangePaused":{"type":"string","description":"Specifies whether to pause template sending when a Utility template is changed to Marketing type. This property is valid only for WhatsApp…"},"ProductSetId":{"type":"string","description":"productSetId"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-cams/create-custom-audience":{"post":{"operationId":"cloud_aliyun_cams_create_custom_audience","summary":"Creates a custom audience","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["CustSpaceId","PageId","AdAccountId","Name","UploadType"],"properties":{"endpoint":{"type":"string","enum":["https://cams.ap-southeast-1.aliyuncs.com"],"default":"https://cams.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://cams.ap-southeast-1.aliyuncs.com"},"CustSpaceId":{"type":"string","description":"The Space ID of the ISV sub-customer, or the instance ID of the direct customer. View the Space ID on the Channel Management…"},"PageId":{"type":"string","description":"The Page ID for Messenger"},"AdAccountId":{"type":"string","description":"The Meta ad account ID"},"Name":{"type":"string","description":"The name of the custom audience"},"Description":{"type":"string","description":"The description"},"UploadType":{"type":"string","description":"The upload method"},"FilePath":{"type":"string","description":"The file path"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-cams/create-flow":{"post":{"operationId":"cloud_aliyun_cams_create_flow","summary":"Creates a Flow","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["FlowName","Categories"],"properties":{"endpoint":{"type":"string","enum":["https://cams.ap-southeast-1.aliyuncs.com"],"default":"https://cams.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://cams.ap-southeast-1.aliyuncs.com"},"FlowName":{"type":"string","description":"The name of the Flow"},"Categories":{"type":"string","description":"The categories (JSON-encoded)"},"CustSpaceId":{"type":"string","description":"The space ID of the ISV sub-customer"},"EndpointUri":{"type":"string","description":"The URL of the WA Flow Endpoint"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-cams/create-flow-version":{"post":{"operationId":"cloud_aliyun_cams_create_flow_version","summary":"Creates a new flow version by copying an existing flow version","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"endpoint":{"type":"string","enum":["https://cams.ap-southeast-1.aliyuncs.com"],"default":"https://cams.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://cams.ap-southeast-1.aliyuncs.com"},"FlowCode":{"type":"string","description":"The flow code. You can view the flow code on the flow editor (https://chatapp.console.aliyun.com/ChatFlowBuilder) page"},"FlowVersionCopyFrom":{"type":"string","description":"The flow version to copy. Click a flow name on the flow editor (https://chatapp.console.aliyun.com/ChatFlowBuilder) page to enter the…"},"Remark":{"type":"string","description":"The version remarks"},"BizCode":{"type":"string","description":"The business tenant code. Default value: ALICOM_OPAAS"},"BizExtend":{"type":"string","description":"The business extension information. Default value: an empty collection (JSON-encoded)"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-cams/create-instance":{"post":{"operationId":"cloud_aliyun_cams_create_instance","summary":"Creates an instance","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["ChannelType","InstanceName"],"properties":{"endpoint":{"type":"string","enum":["https://cams.ap-southeast-1.aliyuncs.com"],"default":"https://cams.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://cams.ap-southeast-1.aliyuncs.com"},"ChannelType":{"type":"string","description":"The channel type. The Singapore site supports all channels, and the Germany site currently supports only WhatsApp."},"InstanceName":{"type":"string","description":"The instance name"},"InstanceDescription":{"type":"string","description":"The instance description"},"ResourceGroupId":{"type":"string","description":"The ID of the resource group to which the instance belongs"},"OfficeAddress":{"type":"string","description":"The enterprise address"},"ContactMail":{"type":"string","description":"The contact email address"},"CountryId":{"type":"string","description":"The country code"},"FacebookBmId":{"type":"string","description":"FacebookBmId"},"IsvTerms":{"type":"string","description":"The name of the ISV/client agreement file"},"IsConfirmAudit":{"type":"string","description":"Specifies whether the audit is confirmed"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-cams/create-message-campaign":{"post":{"operationId":"cloud_aliyun_cams_create_message_campaign","summary":"Creates a budget","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["CustSpaceId","PageId","AdAccountId","BudgetType","Budget","Name"],"properties":{"endpoint":{"type":"string","enum":["https://cams.ap-southeast-1.aliyuncs.com"],"default":"https://cams.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://cams.ap-southeast-1.aliyuncs.com"},"CustSpaceId":{"type":"string","description":"The space ID of an Independent Software Vendor (ISV) sub-customer or the instance ID of a direct customer"},"PageId":{"type":"string","description":"The Messenger Page ID"},"AdAccountId":{"type":"string","description":"The Meta ad account ID"},"BudgetType":{"type":"string","description":"The budget type"},"Budget":{"type":"integer","description":"The budget, in cents"},"Name":{"type":"string","description":"The budget name"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-cams/create-messenger-page":{"post":{"operationId":"cloud_aliyun_cams_create_messenger_page","summary":"Authorizes an embedded messenger","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["PageId","AuthenticationCode","AdAccountIds","CustSpaceId","BusinessId"],"properties":{"endpoint":{"type":"string","enum":["https://cams.ap-southeast-1.aliyuncs.com"],"default":"https://cams.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://cams.ap-southeast-1.aliyuncs.com"},"PageId":{"type":"string","description":"The PageId of the messenger"},"AuthenticationCode":{"type":"string","description":"The authorization code obtained after the embedded authorization is completed"},"AdAccountIds":{"type":"string","description":"The IDs of the authorized ad accounts (JSON-encoded)"},"CustSpaceId":{"type":"string","description":"The SpaceId of the ISV sub-customer or the instance ID of the direct customer"},"BusinessId":{"type":"string","description":"The Business platform ID"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-cams/create-phone-message-qrdl":{"post":{"operationId":"cloud_aliyun_cams_create_phone_message_qrdl","summary":"Creates a message QR code","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["PhoneNumber","GenerateQrImage","PrefilledMessage"],"properties":{"endpoint":{"type":"string","enum":["https://cams.ap-southeast-1.aliyuncs.com"],"default":"https://cams.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://cams.ap-southeast-1.aliyuncs.com"},"PhoneNumber":{"type":"string","description":"The phone number. You can view it on the Channel Management (https://chatapp.console.aliyun.com/ChannelsManagement) Channel Management…"},"GenerateQrImage":{"type":"string","description":"The type of image to generate. Valid values: PNG SVG"},"PrefilledMessage":{"type":"string","description":"The message content"},"CustSpaceId":{"type":"string","description":"The space ID of the ISV sub-customer or the instance ID of the direct customer. You can view the Space ID on the Channel Management…"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-cams/create-whatsapp-conversion-api":{"post":{"operationId":"cloud_aliyun_cams_create_whatsapp_conversion_api","summary":"Retrieves and stores the pageId based on the embedded code","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"endpoint":{"type":"string","enum":["https://cams.ap-southeast-1.aliyuncs.com"],"default":"https://cams.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://cams.ap-southeast-1.aliyuncs.com"},"InstanceId":{"type":"string","description":"The instance ID"},"Code":{"type":"string","description":"The embedded code"},"Permissions":{"type":"string","description":"The list of embedded permissions (JSON-encoded)"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-cams/delete-chat-flow":{"post":{"operationId":"cloud_aliyun_cams_delete_chat_flow","summary":"Deletes a flow","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"endpoint":{"type":"string","enum":["https://cams.ap-southeast-1.aliyuncs.com"],"default":"https://cams.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://cams.ap-southeast-1.aliyuncs.com"},"FlowCode":{"type":"string","description":"The flow code. You can view the flow code in the flow editor (https://chatapp.console.aliyun.com/ChatFlowBuilder)"},"BizCode":{"type":"string","description":"The business tenant code. Default value: ALICOM_OPAAS"},"BizExtend":{"type":"string","description":"The business extension information. Default value: an empty collection (JSON-encoded)"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-cams/delete-chat-group":{"post":{"operationId":"cloud_aliyun_cams_delete_chat_group","summary":"Deletes a successfully created IM group","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["BusinessNumber","GroupId","CustSpaceId"],"properties":{"endpoint":{"type":"string","enum":["https://cams.ap-southeast-1.aliyuncs.com"],"default":"https://cams.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://cams.ap-southeast-1.aliyuncs.com"},"BusinessNumber":{"type":"string","description":"The business phone number"},"ChannelType":{"type":"string","description":"The channel type. Valid values: WHATSAPP Only the WhatsApp channel type is supported"},"GroupId":{"type":"string","description":"The group ID"},"CustSpaceId":{"type":"string","description":"The space ID or instance ID of the ISV sub-customer, which is the channel ID. You can view it on the Channel Management…"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-cams/delete-chat-group-invite-link":{"post":{"operationId":"cloud_aliyun_cams_delete_chat_group_invite_link","summary":"Deletes an IM group invitation link","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["BusinessNumber","GroupId","CustSpaceId"],"properties":{"endpoint":{"type":"string","enum":["https://cams.ap-southeast-1.aliyuncs.com"],"default":"https://cams.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://cams.ap-southeast-1.aliyuncs.com"},"BusinessNumber":{"type":"string","description":"The business phone number. You can view the business phone number by calling the https://help.aliyun.com/document_detail/2932629.html…"},"ChannelType":{"type":"string","description":"The channel type. Valid values: WHATSAPP Only WhatsApp channel type messages are supported"},"GroupId":{"type":"string","description":"The group ID. You can view the group ID by calling the https://help.aliyun.com/document_detail/2932629.html operation"},"CustSpaceId":{"type":"string","description":"The SpaceId or instance ID of the ISV sub-customer. This is the channel ID, which can be viewed on the Channel Management…"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-cams/delete-chat-group-participants":{"post":{"operationId":"cloud_aliyun_cams_delete_chat_group_participants","summary":"Removes members from an IM group","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["BusinessNumber","GroupId","CustSpaceId"],"properties":{"endpoint":{"type":"string","enum":["https://cams.ap-southeast-1.aliyuncs.com"],"default":"https://cams.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://cams.ap-southeast-1.aliyuncs.com"},"BusinessNumber":{"type":"string","description":"The business number. You can obtain the business number by calling the https://help.aliyun.com/document_detail/2932629.html operation"},"ChannelType":{"type":"string","description":"The channel type. Valid value: WHATSAPP Currently, only the WhatsApp channel is supported"},"GroupId":{"type":"string","description":"The group ID. You can obtain the group ID by calling the https://help.aliyun.com/document_detail/2932629.html operation"},"CustSpaceId":{"type":"string","description":"The space ID of the ISV sub-customer or the instance ID. This ID is also the channel ID. You can find the channel ID on the Channel…"},"List":{"type":"string","description":"A list of group members to remove (JSON-encoded)"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-cams/delete-chatapp-template":{"post":{"operationId":"cloud_aliyun_cams_delete_chatapp_template","summary":"Deletes a message template","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"endpoint":{"type":"string","enum":["https://cams.ap-southeast-1.aliyuncs.com"],"default":"https://cams.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://cams.ap-southeast-1.aliyuncs.com"},"TemplateCode":{"type":"string","description":"The code of the template"},"CustWabaId":{"type":"string","description":"The WhatsApp Business Account (WABA) ID of the Independent Software Vendor (ISV) customer. This parameter is deprecated. Use CustSpaceId…"},"IsvCode":{"type":"string","description":"The ISV verification code, which is used to verify whether the user is authorized by the ISV"},"CustSpaceId":{"type":"string","description":"The Space ID of the ISV sub-customer or the instance ID of the direct customer"},"TemplateName":{"type":"string","description":"The name of the template"},"Language":{"type":"string","description":"The language"},"TemplateType":{"type":"string","description":"The type of the template. This parameter is required when you delete a template for a specific language"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-cams/delete-contacts":{"post":{"operationId":"cloud_aliyun_cams_delete_contacts","summary":"Deletes a contact from the contact list","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"endpoint":{"type":"string","enum":["https://cams.ap-southeast-1.aliyuncs.com"],"default":"https://cams.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://cams.ap-southeast-1.aliyuncs.com"},"FilePath":{"type":"string","description":"The file path"},"ContactDetails":{"type":"string","description":"The contact details"},"ContactName":{"type":"string","description":"The contact name"},"Country":{"type":"string","description":"The country"},"BizCode":{"type":"string","description":"The business code"},"BizExtend":{"type":"string","description":"The business extension information. Default value: an empty collection (JSON-encoded)"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-cams/delete-contacts-by-ids":{"post":{"operationId":"cloud_aliyun_cams_delete_contacts_by_ids","summary":"Deletes contacts by selecting and removing them","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["Contacts"],"properties":{"endpoint":{"type":"string","enum":["https://cams.ap-southeast-1.aliyuncs.com"],"default":"https://cams.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://cams.ap-southeast-1.aliyuncs.com"},"Contacts":{"type":"string","description":"The list of contact codes, separated by commas (,)"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-cams/delete-flow":{"post":{"operationId":"cloud_aliyun_cams_delete_flow","summary":"Deletes a Flow (only Flows in DRAFT status can be deleted)","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["FlowId"],"properties":{"endpoint":{"type":"string","enum":["https://cams.ap-southeast-1.aliyuncs.com"],"default":"https://cams.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://cams.ap-southeast-1.aliyuncs.com"},"FlowId":{"type":"string","description":"The workflow ID"},"CustSpaceId":{"type":"string","description":"The SpaceId of the ISV sub-customer"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-cams/delete-flow-version":{"post":{"operationId":"cloud_aliyun_cams_delete_flow_version","summary":"Deletes a flow version","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"endpoint":{"type":"string","enum":["https://cams.ap-southeast-1.aliyuncs.com"],"default":"https://cams.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://cams.ap-southeast-1.aliyuncs.com"},"FlowCode":{"type":"string","description":"The flow code. You can view the flow code in the flow editor (https://chatapp.console.aliyun.com/ChatFlowBuilder)"},"FlowVersion":{"type":"string","description":"The flow version. Click a flow name in the flow editor (https://chatapp.console.aliyun.com/ChatFlowBuilder) to go to the canvas page and…"},"BizCode":{"type":"string","description":"The business tenant code. Default value: ALICOM_OPAAS"},"BizExtend":{"type":"string","description":"The business extension information. Default value: an empty collection (JSON-encoded)"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-cams/delete-group-by-id":{"post":{"operationId":"cloud_aliyun_cams_delete_group_by_id","summary":"Deletes a group","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["GroupId"],"properties":{"endpoint":{"type":"string","enum":["https://cams.ap-southeast-1.aliyuncs.com"],"default":"https://cams.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://cams.ap-southeast-1.aliyuncs.com"},"GroupId":{"type":"string","description":"The group ID"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-cams/delete-instagram-page":{"post":{"operationId":"cloud_aliyun_cams_delete_instagram_page","summary":"Deletes a page from an Instagram instance","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["PageId","InstanceId"],"properties":{"endpoint":{"type":"string","enum":["https://cams.ap-southeast-1.aliyuncs.com"],"default":"https://cams.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://cams.ap-southeast-1.aliyuncs.com"},"PageId":{"type":"string","description":"The PageId of the Messenger page"},"InstanceId":{"type":"string","description":"The instance ID"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-cams/delete-instance":{"post":{"operationId":"cloud_aliyun_cams_delete_instance","summary":"Deletes the specified instance","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["InstanceId"],"properties":{"endpoint":{"type":"string","enum":["https://cams.ap-southeast-1.aliyuncs.com"],"default":"https://cams.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://cams.ap-southeast-1.aliyuncs.com"},"InstanceId":{"type":"string","description":"The ID of the instance"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-cams/delete-marketing-flow":{"post":{"operationId":"cloud_aliyun_cams_delete_marketing_flow","summary":"Deletes a marketing campaign","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"endpoint":{"type":"string","enum":["https://cams.ap-southeast-1.aliyuncs.com"],"default":"https://cams.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://cams.ap-southeast-1.aliyuncs.com"},"ActivityCode":{"type":"string","description":"The activity code. You can use the system-generated code or modify it to use a custom code"},"ActivityId":{"type":"string","description":"The activity ID (deprecated)"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-cams/delete-message-campaign":{"post":{"operationId":"cloud_aliyun_cams_delete_message_campaign","summary":"Deletes the budget for a marketing campaign","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["CustSpaceId","PageId","AdAccountId","CampaignId"],"properties":{"endpoint":{"type":"string","enum":["https://cams.ap-southeast-1.aliyuncs.com"],"default":"https://cams.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://cams.ap-southeast-1.aliyuncs.com"},"CustSpaceId":{"type":"string","description":"The space ID of an Independent Software Vendor (ISV) sub-customer or the instance ID of a direct customer"},"PageId":{"type":"string","description":"The Page ID of Messenger"},"AdAccountId":{"type":"string","description":"The Meta ad account ID"},"CampaignId":{"type":"string","description":"The campaign ID"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-cams/delete-messenger-page":{"post":{"operationId":"cloud_aliyun_cams_delete_messenger_page","summary":"Deletes a Messenger page","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["PageId","InstanceId"],"properties":{"endpoint":{"type":"string","enum":["https://cams.ap-southeast-1.aliyuncs.com"],"default":"https://cams.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://cams.ap-southeast-1.aliyuncs.com"},"PageId":{"type":"string","description":"The PageId of the Messenger page"},"InstanceId":{"type":"string","description":"The instance ID"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-cams/delete-phone-message-qrdl":{"post":{"operationId":"cloud_aliyun_cams_delete_phone_message_qrdl","summary":"Deletes a message QR code","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["PhoneNumber","QrdlCode"],"properties":{"endpoint":{"type":"string","enum":["https://cams.ap-southeast-1.aliyuncs.com"],"default":"https://cams.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://cams.ap-southeast-1.aliyuncs.com"},"PhoneNumber":{"type":"string","description":"The phone number. You can view the phone number on the Channel Management (https://chatapp.console.aliyun.com/ChannelsManagement) Channel…"},"QrdlCode":{"type":"string","description":"The QR code identifier. This is the QrdlCode returned by the https://help.aliyun.com/document_detail/2638749.html operation when you…"},"CustSpaceId":{"type":"string","description":"The space ID of the ISV sub-customer or the instance ID of the direct customer. You can view the Space ID on the Channel Management…"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-cams/delete-whatsapp-user-name":{"post":{"operationId":"cloud_aliyun_cams_delete_whatsapp_user_name","summary":"Deletes the WhatsApp user name for a business phone number","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["PhoneNumber","CustSpaceId"],"properties":{"endpoint":{"type":"string","enum":["https://cams.ap-southeast-1.aliyuncs.com"],"default":"https://cams.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://cams.ap-southeast-1.aliyuncs.com"},"PhoneNumber":{"type":"string","description":"The business phone number"},"CustSpaceId":{"type":"string","description":"The space ID of the ISV sub-customer or the instance ID of the direct customer. You can view the Space ID on the Channel Management…"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-cams/deprecate-flow":{"post":{"operationId":"cloud_aliyun_cams_deprecate_flow","summary":"Deprecates a Flow","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["FlowId"],"properties":{"endpoint":{"type":"string","enum":["https://cams.ap-southeast-1.aliyuncs.com"],"default":"https://cams.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://cams.ap-southeast-1.aliyuncs.com"},"FlowId":{"type":"string","description":"The Flow ID"},"CustSpaceId":{"type":"string","description":"The space ID of the ISV sub-customer"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-cams/enable-whatsapp-roimetric":{"post":{"operationId":"cloud_aliyun_cams_enable_whatsapp_roimetric","summary":"Enables WhatsApp-related metric collection","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"endpoint":{"type":"string","enum":["https://cams.ap-southeast-1.aliyuncs.com"],"default":"https://cams.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://cams.ap-southeast-1.aliyuncs.com"},"IsvCode":{"type":"string","description":"The ISV verification code, which is used to verify that the RAM user is authorized by the ISV"},"CustSpaceId":{"type":"string","description":"The space ID or instance ID of the ISV sub-customer. This is the channel ID, which can be viewed on the Channel Management…"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-cams/flow-bind-phone":{"post":{"operationId":"cloud_aliyun_cams_flow_bind_phone","summary":"Binds a phone number or merchant account ID to a flow","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["FlowCode","ChannelType"],"properties":{"endpoint":{"type":"string","enum":["https://cams.ap-southeast-1.aliyuncs.com"],"default":"https://cams.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://cams.ap-southeast-1.aliyuncs.com"},"FlowCode":{"type":"string","description":"The flow code. View the flow code in the Flow Builder (https://chatapp.console.aliyun.com/ChatFlowBuilder) page"},"ChannelCode":{"type":"string","description":"The message channel code, which is the channel ID. View the channel ID in the Channel Management…"},"ChannelType":{"type":"string","description":"The message channel type. Valid values: INSTAGRAM WHATSAPP MESSENGER - VIBER"},"PhoneNumbers":{"type":"string","description":"The list of phone numbers, PageIds, or AccountIds , or ServiceIds under the channel instance (JSON-encoded)"},"WabaId":{"type":"string","description":"The WABA account ID, PageId, or AccountId , or ServiceId . If the ChannelType parameter is set to WHATSAPP, specify the WABA account ID.…"},"FlowVersion":{"type":"string","description":"The flow version. Click the flow name in the Flow Builder (https://chatapp.console.aliyun.com/ChatFlowBuilder) page to enter the flow…"},"MultiWabaPhoneNumbers":{"type":"string","description":"The multi-WABA binding configuration (JSON-encoded)"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-cams/flow-rebind-phone":{"post":{"operationId":"cloud_aliyun_cams_flow_rebind_phone","summary":"Rebinds a phone number or merchant account ID to a flow","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["FlowCode","ChannelType"],"properties":{"endpoint":{"type":"string","enum":["https://cams.ap-southeast-1.aliyuncs.com"],"default":"https://cams.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://cams.ap-southeast-1.aliyuncs.com"},"FlowCode":{"type":"string","description":"The flow code. You can view this in the Flow Builder (https://chatapp.console.aliyun.com/ChatFlowBuilder) console"},"ChannelCode":{"type":"string","description":"The message channel code, which is the channel ID. You can view the channel ID in the Channel Management…"},"ChannelType":{"type":"string","description":"The message channel type. Valid values: INSTAGRAM WHATSAPP MESSENGER - VIBER"},"PhoneNumbers":{"type":"string","description":"The list of phone numbers, PageIds, or AccountIds , or ServiceIds under the channel instance (JSON-encoded)"},"WabaId":{"type":"string","description":"The WABA account ID, PageId, or AccountId , or ServiceId . If ChannelType is set to WHATSAPP, specify the WABA account ID. You can view…"},"FlowVersion":{"type":"string","description":"The flow version. In the Flow Builder (https://chatapp.console.aliyun.com/ChatFlowBuilder) console, click the flow name to open the flow…"},"MultiWabaPhoneNumbers":{"type":"string","description":"The multi-WABA binding configurations (JSON-encoded)"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-cams/flow-unbind-phone":{"post":{"operationId":"cloud_aliyun_cams_flow_unbind_phone","summary":"Unbinds a phone number or merchant account ID from a flow","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["FlowCode"],"properties":{"endpoint":{"type":"string","enum":["https://cams.ap-southeast-1.aliyuncs.com"],"default":"https://cams.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://cams.ap-southeast-1.aliyuncs.com"},"FlowCode":{"type":"string","description":"The flow code. View the flow code in the flow orchestration (https://chatapp.console.aliyun.com/ChatFlowBuilder) editor"},"PhoneNumbers":{"type":"string","description":"The list of phone numbers, PageIds, or AccountIds , or ServiceIds under the channel instance (JSON-encoded)"},"FlowVersion":{"type":"string","description":"The flow version. Click the flow name in the flow orchestration (https://chatapp.console.aliyun.com/ChatFlowBuilder) editor to go to the…"},"ChannelType":{"type":"string","description":"The message channel type. Valid values: INSTAGRAM WHATSAPP MESSENGER - VIBER"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-cams/generate-presigned-url":{"post":{"operationId":"cloud_aliyun_cams_generate_presigned_url","summary":"Retrieves a temporary URL","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["FilePath"],"properties":{"endpoint":{"type":"string","enum":["https://cams.ap-southeast-1.aliyuncs.com"],"default":"https://cams.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://cams.ap-southeast-1.aliyuncs.com"},"FilePath":{"type":"string","description":"The OSS path"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-cams/get-audit-request-by-type-un-audit":{"post":{"operationId":"cloud_aliyun_cams_get_audit_request_by_type_un_audit","summary":"Queries pending review orders for an individual by type","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["RequestType","CustSpaceId"],"properties":{"endpoint":{"type":"string","enum":["https://cams.ap-southeast-1.aliyuncs.com"],"default":"https://cams.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://cams.ap-southeast-1.aliyuncs.com"},"RequestType":{"type":"string","description":"The request type"},"CustSpaceId":{"type":"string","description":"The space ID of the ISV sub-customer or the instance ID of the direct customer. You can view the Space ID on the China Channel Management…"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-cams/get-auto-generated-template":{"post":{"operationId":"cloud_aliyun_cams_get_auto_generated_template","summary":"Retrieves auto-generated templates","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["CustSpaceId"],"properties":{"endpoint":{"type":"string","enum":["https://cams.ap-southeast-1.aliyuncs.com"],"default":"https://cams.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://cams.ap-southeast-1.aliyuncs.com"},"MaxResults":{"type":"integer","description":"The number of entries per page"},"NextToken":{"type":"string","description":"The pagination token that is used in the next request to retrieve a new page of results"},"CustSpaceId":{"type":"string","description":"The Space ID of an ISV sub-customer or the instance ID of a direct customer"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-cams/get-chat-flow-metric":{"post":{"operationId":"cloud_aliyun_cams_get_chat_flow_metric","summary":"Retrieves ChatFlow runtime data","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["MetricName"],"properties":{"endpoint":{"type":"string","enum":["https://cams.ap-southeast-1.aliyuncs.com"],"default":"https://cams.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://cams.ap-southeast-1.aliyuncs.com"},"BizCode":{"type":"string","description":"The business tenant code. Default value: ALICOM_OPAAS"},"BizExtend":{"type":"string","description":"The business extension information. Default value: an empty collection (JSON-encoded)"},"From":{"type":"integer","description":"The start time. This value is a UNIX timestamp. Unit: seconds"},"To":{"type":"integer","description":"The end time. This value is a UNIX timestamp. Unit: seconds"},"FlowCode":{"type":"string","description":"The flow code. You can view the flow code on the Flow Editor (https://chatapp.console.aliyun.com/ChatFlowBuilder) page"},"FlowVersion":{"type":"string","description":"The flow version. On the Flow Editor (https://chatapp.console.aliyun.com/ChatFlowBuilder) page, click the flow name to enter the flow…"},"MetricName":{"type":"string","description":"The metric name. Valid values: nodeUsageStatistics: node usage statistics. nodeErrorDetails: node error details"},"MetricParam":{"type":"string","description":"The extended parameter for the metric query. When MetricName is set to nodeErrorDetails, pass in a JSON string. Valid JSON fields: pageNo:…"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-cams/get-chat-flow-template":{"post":{"operationId":"cloud_aliyun_cams_get_chat_flow_template","summary":"Queries the details of a flow template","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["BizCode"],"properties":{"endpoint":{"type":"string","enum":["https://cams.ap-southeast-1.aliyuncs.com"],"default":"https://cams.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://cams.ap-southeast-1.aliyuncs.com"},"Id":{"type":"integer","description":"The template ID. You can obtain the template ID by calling the https://help.aliyun.com/document_detail/2937208.html operation"},"BizCode":{"type":"string","description":"The business tenant code. Default value: ALICOM_OPAAS"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-cams/get-chatapp-open-status":{"post":{"operationId":"cloud_aliyun_cams_get_chatapp_open_status","summary":"Queries the activation status of ChatApp","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"endpoint":{"type":"string","enum":["https://cams.ap-southeast-1.aliyuncs.com"],"default":"https://cams.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://cams.ap-southeast-1.aliyuncs.com"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-cams/get-chatapp-phone-number-metric":{"post":{"operationId":"cloud_aliyun_cams_get_chatapp_phone_number_metric","summary":"Queries the message sending volume metrics for a WhatsApp channel phone number","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["Start","End"],"properties":{"endpoint":{"type":"string","enum":["https://cams.ap-southeast-1.aliyuncs.com"],"default":"https://cams.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://cams.ap-southeast-1.aliyuncs.com"},"IsvCode":{"type":"string","description":"The ISV verification code, which is used to verify whether the RAM user is authorized by the ISV"},"CustSpaceId":{"type":"string","description":"The SpaceId or instance ID of the ISV sub-customer. This is the channel ID, which can be viewed on the Channels Management…"},"Granularity":{"type":"string","description":"The metric granularity. Valid values: DAILY: collects metrics on a daily basis. HALF_HOUR: collects metrics every half hour"},"Start":{"type":"integer","description":"The query start time. This value is a timestamp in milliseconds"},"End":{"type":"integer","description":"The query end time. This value is a timestamp in milliseconds"},"PhoneNumber":{"type":"string","description":"The business phone number. This is the number used to send messages, which can be viewed on the Channels Management…"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-cams/get-chatapp-phone-number-setting":{"post":{"operationId":"cloud_aliyun_cams_get_chatapp_phone_number_setting","summary":"Retrieves other controls for a ChatApp phone number","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["PhoneNumber"],"properties":{"endpoint":{"type":"string","enum":["https://cams.ap-southeast-1.aliyuncs.com"],"default":"https://cams.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://cams.ap-southeast-1.aliyuncs.com"},"CustSpaceId":{"type":"string","description":"The space ID of the ISV sub-customer or the instance ID of the direct customer"},"PhoneNumber":{"type":"string","description":"The phone number"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-cams/get-chatapp-template-detail":{"post":{"operationId":"cloud_aliyun_cams_get_chatapp_template_detail","summary":"Retrieves the details of a Chat App Message Service message template","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["Language"],"properties":{"endpoint":{"type":"string","enum":["https://cams.ap-southeast-1.aliyuncs.com"],"default":"https://cams.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://cams.ap-southeast-1.aliyuncs.com"},"TemplateCode":{"type":"string","description":"The template code"},"Language":{"type":"string","description":"The template language. For language codes, see https://help.aliyun.com/document_detail/463420.html"},"CustWabaId":{"type":"string","description":"The ISV customer WABA ID. This parameter is deprecated. Use CustSpaceId instead"},"IsvCode":{"type":"string","description":"The ISV verification code used to verify whether a sub-account is authorized by the ISV"},"CustSpaceId":{"type":"string","description":"The space ID of the ISV sub-customer or the instance ID of the direct customer"},"TemplateType":{"type":"string","description":"The templatetype. Valid values: WHATSAPP VIBER"},"TemplateName":{"type":"string","description":"The template name"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-cams/get-chatapp-template-metric":{"post":{"operationId":"cloud_aliyun_cams_get_chatapp_template_metric","summary":"Retrieves metrics related to marketing-type templates","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["TemplateCode","Start","End"],"properties":{"endpoint":{"type":"string","enum":["https://cams.ap-southeast-1.aliyuncs.com"],"default":"https://cams.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://cams.ap-southeast-1.aliyuncs.com"},"TemplateCode":{"type":"string","description":"The template code. You can view the template code on the Channel Management (https://chatapp.console.aliyun.com/ChannelsManagement)…"},"Language":{"type":"string","description":"The template language. For more languages, see https://help.aliyun.com/document_detail/463420.html"},"IsvCode":{"type":"string","description":"The ISV verification code, which is used to verify whether the RAM user is authorized by the ISV"},"CustSpaceId":{"type":"string","description":"The space ID or instance ID of the ISV sub-customer, which is also the channel ID. You can view it on the Channel Management…"},"TemplateType":{"type":"string","description":"The templatetype. Valid values: WHATSAPP If this parameter is not specified, the default value is WHATSAPP"},"Granularity":{"type":"string","description":"The metric granularity. Valid values: DAILY: collects metrics on a daily basis. HALF_HOUR: collects metrics every half hour"},"Start":{"type":"integer","description":"The start time of the query. This value is a timestamp in milliseconds"},"End":{"type":"integer","description":"The end time of the query. This value is a timestamp in milliseconds"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-cams/get-chatapp-upload-authorization":{"post":{"operationId":"cloud_aliyun_cams_get_chatapp_upload_authorization","summary":"Obtains the authentication information that is used to upload a file","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["CustSpaceId"],"properties":{"endpoint":{"type":"string","enum":["https://cams.ap-southeast-1.aliyuncs.com"],"default":"https://cams.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://cams.ap-southeast-1.aliyuncs.com"},"CustSpaceId":{"type":"string","description":"The space ID of ISV sub-customer"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-cams/get-chatapp-verify-code":{"post":{"operationId":"cloud_aliyun_cams_get_chatapp_verify_code","summary":"Requests a verification code to be sent to the specified phone number","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["PhoneNumber","CustSpaceId","Method","Locale"],"properties":{"endpoint":{"type":"string","enum":["https://cams.ap-southeast-1.aliyuncs.com"],"default":"https://cams.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://cams.ap-southeast-1.aliyuncs.com"},"PhoneNumber":{"type":"string","description":"The phone number"},"CustSpaceId":{"type":"string","description":"The Space ID of the Independent Software Vendor (ISV) sub-customer"},"Method":{"type":"string","description":"The method to receive the verification code"},"Locale":{"type":"string","description":"The language. For values, see https://help.aliyun.com/document_detail/463420.html"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-cams/get-commerce-setting":{"post":{"operationId":"cloud_aliyun_cams_get_commerce_setting","summary":"Queries the business settings of a phone number","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["CustSpaceId","PhoneNumber"],"properties":{"endpoint":{"type":"string","enum":["https://cams.ap-southeast-1.aliyuncs.com"],"default":"https://cams.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://cams.ap-southeast-1.aliyuncs.com"},"CustSpaceId":{"type":"string","description":"The space ID of the user within the independent software vendor (ISV) account"},"PhoneNumber":{"type":"string","description":"The phone number"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-cams/get-conversational-automation":{"post":{"operationId":"cloud_aliyun_cams_get_conversational_automation","summary":"Queries the conversational automation settings for a phone number","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["CustSpaceId","PhoneNumber"],"properties":{"endpoint":{"type":"string","enum":["https://cams.ap-southeast-1.aliyuncs.com"],"default":"https://cams.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://cams.ap-southeast-1.aliyuncs.com"},"CustSpaceId":{"type":"string","description":"The space ID of the ISV sub-customer or the instance ID"},"PhoneNumber":{"type":"string","description":"The phone number of the enterprise"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-cams/get-customer-site":{"post":{"operationId":"cloud_aliyun_cams_get_customer_site","summary":"Queries the source site of a customer","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"endpoint":{"type":"string","enum":["https://cams.ap-southeast-1.aliyuncs.com"],"default":"https://cams.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://cams.ap-southeast-1.aliyuncs.com"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-cams/get-download-excel-list":{"post":{"operationId":"cloud_aliyun_cams_get_download_excel_list","summary":"Downloads Excel data","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"endpoint":{"type":"string","enum":["https://cams.ap-southeast-1.aliyuncs.com"],"default":"https://cams.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://cams.ap-southeast-1.aliyuncs.com"},"Condition":{"type":"string","description":"The query condition"},"BizCode":{"type":"string","description":"The business tenant code. Default value: ALICOM_OPAAS"},"GroupId":{"type":"string","description":"The group ID"},"StartDate":{"type":"string","description":"The start date. Format: YYYY-MM-DD"},"EndDate":{"type":"string","description":"The end date. Format: YYYY-MM-DD"},"GroupIds":{"type":"string","description":"The contact group ID (JSON-encoded)"},"CountryNames":{"type":"string","description":"The country name (JSON-encoded)"},"BizExtend":{"type":"string","description":"The business extension information. Default value: \"{}\" (JSON-encoded)"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-cams/get-fb-instagram-pages":{"post":{"operationId":"cloud_aliyun_cams_get_fb_instagram_pages","summary":"Retrieves the list of Instagram pages for an instance","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["AccessToken","InstanceId"],"properties":{"endpoint":{"type":"string","enum":["https://cams.ap-southeast-1.aliyuncs.com"],"default":"https://cams.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://cams.ap-southeast-1.aliyuncs.com"},"AccessToken":{"type":"string","description":"The personal access token. This field is not required if you use Alibaba Cloud AccessKey pair (AK+SK) or STS temporary authorization"},"InstanceId":{"type":"string","description":"The instance ID. The unique identifier of the instance"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-cams/get-fb-messenger-pages":{"post":{"operationId":"cloud_aliyun_cams_get_fb_messenger_pages","summary":"Retrieves the list of Facebook page IDs","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["AccessToken","InstanceId"],"properties":{"endpoint":{"type":"string","enum":["https://cams.ap-southeast-1.aliyuncs.com"],"default":"https://cams.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://cams.ap-southeast-1.aliyuncs.com"},"AccessToken":{"type":"string","description":"The token of the Meta public page"},"InstanceId":{"type":"string","description":"The instance ID"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-cams/get-flow":{"post":{"operationId":"cloud_aliyun_cams_get_flow","summary":"Retrieves the details of a Flow","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["FlowId"],"properties":{"endpoint":{"type":"string","enum":["https://cams.ap-southeast-1.aliyuncs.com"],"default":"https://cams.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://cams.ap-southeast-1.aliyuncs.com"},"FlowId":{"type":"string","description":"The flow ID, which is the FlowId returned by the https://help.aliyun.com/document_detail/2638742.html operation when you create a WhatsApp…"},"CustSpaceId":{"type":"string","description":"The space ID of the ISV sub-customer or the instance ID of the direct customer. You can view the Space ID on the Channel Management…"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-cams/get-flow-jsonassest":{"post":{"operationId":"cloud_aliyun_cams_get_flow_jsonassest","summary":"Retrieves the JSON-formatted content of a Flow","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"endpoint":{"type":"string","enum":["https://cams.ap-southeast-1.aliyuncs.com"],"default":"https://cams.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://cams.ap-southeast-1.aliyuncs.com"},"FlowId":{"type":"string","description":"The Flow ID returned when you created the Flow by calling the https://help.aliyun.com/document_detail/2638742.html operation"},"CustSpaceId":{"type":"string","description":"The Space ID of the ISV sub-customer or the instance ID of the direct customer. You can view the Space ID on the Channel Management…"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-cams/get-flow-preview-url":{"post":{"operationId":"cloud_aliyun_cams_get_flow_preview_url","summary":"Retrieves the preview URL of a Flow","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["FlowId"],"properties":{"endpoint":{"type":"string","enum":["https://cams.ap-southeast-1.aliyuncs.com"],"default":"https://cams.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://cams.ap-southeast-1.aliyuncs.com"},"FlowId":{"type":"string","description":"The Flow ID returned by the https://help.aliyun.com/document_detail/2638742.html operation when the WhatsApp Flow was created"},"CustSpaceId":{"type":"string","description":"The Space ID of the ISV sub-customer or the instance ID of the direct customer. You can view the Space ID on the Channel Management…"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-cams/get-group-exist":{"post":{"operationId":"cloud_aliyun_cams_get_group_exist","summary":"Queries whether a group name already exists","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["GroupName"],"properties":{"endpoint":{"type":"string","enum":["https://cams.ap-southeast-1.aliyuncs.com"],"default":"https://cams.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://cams.ap-southeast-1.aliyuncs.com"},"GroupName":{"type":"string","description":"The group name"},"BizCode":{"type":"string","description":"The business tenant code. Default value: ALICOM_OPAAS"},"BizExtend":{"type":"string","description":"The business extension information. Default value: \"{}\" (JSON-encoded)"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-cams/get-message-campaign-insights":{"post":{"operationId":"cloud_aliyun_cams_get_message_campaign_insights","summary":"Queries budget metrics","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["CustSpaceId","PageId","AdAccountId","CampaignId"],"properties":{"endpoint":{"type":"string","enum":["https://cams.ap-southeast-1.aliyuncs.com"],"default":"https://cams.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://cams.ap-southeast-1.aliyuncs.com"},"CustSpaceId":{"type":"string","description":"The space ID or instance ID of the ISV sub-customer. This is the channel ID, which can be viewed on the Channel Management…"},"PageId":{"type":"string","description":"The page number to query"},"AdAccountId":{"type":"string","description":"The Meta ad account ID"},"CampaignId":{"type":"string","description":"The budget ID"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-cams/get-migration-verify-code":{"post":{"operationId":"cloud_aliyun_cams_get_migration_verify_code","summary":"Retrieves the verification code for a migration phone number","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["CustSpaceId","PhoneNumber","Locale","Method"],"properties":{"endpoint":{"type":"string","enum":["https://cams.ap-southeast-1.aliyuncs.com"],"default":"https://cams.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://cams.ap-southeast-1.aliyuncs.com"},"CustSpaceId":{"type":"string","description":"The space ID of the ISV sub-customer"},"PhoneNumber":{"type":"string","description":"The phone number"},"Locale":{"type":"string","description":"The language"},"Method":{"type":"string","description":"The verification code delivery method"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-cams/get-permission-by-code":{"post":{"operationId":"cloud_aliyun_cams_get_permission_by_code","summary":"Obtains authorization permissions by using the code obtained from the embedded integration","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["Code"],"properties":{"endpoint":{"type":"string","enum":["https://cams.ap-southeast-1.aliyuncs.com"],"default":"https://cams.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://cams.ap-southeast-1.aliyuncs.com"},"Code":{"type":"string","description":"The authorization code"},"CustSpaceId":{"type":"string","description":"The space ID of the ISV sub-customer"},"Permissions":{"type":"string","description":"The permissions (JSON-encoded)"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-cams/get-phone-encryption-public-key":{"post":{"operationId":"cloud_aliyun_cams_get_phone_encryption_public_key","summary":"Retrieves the encryption public key of a phone number","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["PhoneNumber"],"properties":{"endpoint":{"type":"string","enum":["https://cams.ap-southeast-1.aliyuncs.com"],"default":"https://cams.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://cams.ap-southeast-1.aliyuncs.com"},"PhoneNumber":{"type":"string","description":"The phone number. You can view it on the Channel Management (https://chatapp.console.aliyun.com/ChannelsManagement) Channel Management…"},"CustSpaceId":{"type":"string","description":"The space ID of the ISV sub-customer or the instance ID of the direct customer. You can view the Space ID on the Channel Management…"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-cams/get-phone-number-verification-status":{"post":{"operationId":"cloud_aliyun_cams_get_phone_number_verification_status","summary":"Retrieves the verification status of a phone number","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["PhoneNumber","CustSpaceId"],"properties":{"endpoint":{"type":"string","enum":["https://cams.ap-southeast-1.aliyuncs.com"],"default":"https://cams.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://cams.ap-southeast-1.aliyuncs.com"},"PhoneNumber":{"type":"string","description":"The phone number. You can view it in the Channel Management (https://chatapp.console.aliyun.com/ChannelsManagement) Channel Management…"},"CustSpaceId":{"type":"string","description":"The space ID of the ISV sub-customer or the instance ID of the direct customer. You can view the Space ID in the Channel Management…"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-cams/get-pledge-template-address":{"post":{"operationId":"cloud_aliyun_cams_get_pledge_template_address","summary":"Retrieves the download URL for the letter of guarantee template","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"endpoint":{"type":"string","enum":["https://cams.ap-southeast-1.aliyuncs.com"],"default":"https://cams.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://cams.ap-southeast-1.aliyuncs.com"},"IndustryType":{"type":"string","description":"The industry type"},"CustSpaceId":{"type":"string","description":"The space ID or instance ID of the ISV sub-customer. This is the channel ID, which can be viewed on the Channel Management…"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-cams/get-pre-validate-phone-id":{"post":{"operationId":"cloud_aliyun_cams_get_pre_validate_phone_id","summary":"Gets the ID for a pre-validated phone number. Use this ID to select the number in the Embedded Signup flow…","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["PhoneNumber","VerifyCode"],"properties":{"endpoint":{"type":"string","enum":["https://cams.ap-southeast-1.aliyuncs.com"],"default":"https://cams.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://cams.ap-southeast-1.aliyuncs.com"},"PhoneNumber":{"type":"string","description":"The phone number"},"VerifyCode":{"type":"string","description":"The verification code provided when you purchased the pre-validated phone number"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-cams/get-viber-by-request-no":{"post":{"operationId":"cloud_aliyun_cams_get_viber_by_request_no","summary":"Queries an application form by request number","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["RequestNo"],"properties":{"endpoint":{"type":"string","enum":["https://cams.ap-southeast-1.aliyuncs.com"],"default":"https://cams.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://cams.ap-southeast-1.aliyuncs.com"},"RequestNo":{"type":"string","description":"The request number of the application form"},"CustSpaceId":{"type":"string","description":"The space ID of an ISV sub-customer or the instance ID of a direct customer"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-cams/get-viber-pause-times":{"post":{"operationId":"cloud_aliyun_cams_get_viber_pause_times","summary":"Queries the number of times that a pause can be requested","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["CustSpaceId"],"properties":{"endpoint":{"type":"string","enum":["https://cams.ap-southeast-1.aliyuncs.com"],"default":"https://cams.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://cams.ap-southeast-1.aliyuncs.com"},"CustSpaceId":{"type":"string","description":"The space ID of the ISV sub-customer or the instance ID of the direct customer"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-cams/get-whatsapp-connection-catalog":{"post":{"operationId":"cloud_aliyun_cams_get_whatsapp_connection_catalog","summary":"Queries the product catalogs that are associated with a WhatsApp Business account (WABA)","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["WabaId"],"properties":{"endpoint":{"type":"string","enum":["https://cams.ap-southeast-1.aliyuncs.com"],"default":"https://cams.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://cams.ap-southeast-1.aliyuncs.com"},"WabaId":{"type":"string","description":"The WABA ID"},"CustSpaceId":{"type":"string","description":"The space ID of the user within the ISV account"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-cams/get-whatsapp-conversion-api":{"post":{"operationId":"cloud_aliyun_cams_get_whatsapp_conversion_api","summary":"Retrieves the embedded authorization page","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"endpoint":{"type":"string","enum":["https://cams.ap-southeast-1.aliyuncs.com"],"default":"https://cams.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://cams.ap-southeast-1.aliyuncs.com"},"InstanceId":{"type":"string","description":"The instance ID"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-cams/get-whatsapp-health-status":{"post":{"operationId":"cloud_aliyun_cams_get_whatsapp_health_status","summary":"Queries the messaging health status of different types of nodes","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["NodeType","CustSpaceId"],"properties":{"endpoint":{"type":"string","enum":["https://cams.ap-southeast-1.aliyuncs.com"],"default":"https://cams.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://cams.ap-southeast-1.aliyuncs.com"},"NodeType":{"type":"string","description":"The node type. Valid values: template: message template phone: phone number waba: WhatsApp Business Account (WABA)"},"PhoneNumber":{"type":"string","description":"The phone number of the enterprise"},"TemplateCode":{"type":"string","description":"The template code"},"Language":{"type":"string","description":"The template language"},"WabaId":{"type":"string","description":"WabaId"},"CustSpaceId":{"type":"string","description":"The space ID of the RAM user within the independent software vendor (ISV) account or the instance ID of the customer of Alibaba Cloud"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-cams/get-whatsapp-user-name":{"post":{"operationId":"cloud_aliyun_cams_get_whatsapp_user_name","summary":"Retrieves the WhatsApp username for a business phone number","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["CustSpaceId","PhoneNumber"],"properties":{"endpoint":{"type":"string","enum":["https://cams.ap-southeast-1.aliyuncs.com"],"default":"https://cams.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://cams.ap-southeast-1.aliyuncs.com"},"CustSpaceId":{"type":"string","description":"The space ID of the ISV sub-customer or the instance ID of the direct customer. You can view the Space ID on the Channel Management…"},"PhoneNumber":{"type":"string","description":"The business phone number"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-cams/get-whatsapp-user-name-suggestions":{"post":{"operationId":"cloud_aliyun_cams_get_whatsapp_user_name_suggestions","summary":"Retrieves the suggested user name for a WhatsApp business phone number","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["CustSpaceId","PhoneNumber"],"properties":{"endpoint":{"type":"string","enum":["https://cams.ap-southeast-1.aliyuncs.com"],"default":"https://cams.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://cams.ap-southeast-1.aliyuncs.com"},"CustSpaceId":{"type":"string","description":"The space ID of the ISV sub-customer or the instance ID of the direct customer. You can view the Space ID on the Channel Management…"},"PhoneNumber":{"type":"string","description":"The business phone number"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-cams/isv-get-app-id":{"post":{"operationId":"cloud_aliyun_cams_isv_get_app_id","summary":"Retrieves the App ID for an ISV","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["Type"],"properties":{"endpoint":{"type":"string","enum":["https://cams.ap-southeast-1.aliyuncs.com"],"default":"https://cams.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://cams.ap-southeast-1.aliyuncs.com"},"Type":{"type":"string","description":"The channel type. Valid values: whatsapp: WhatsApp"},"IntlVersion":{"type":"string","description":"The version"},"Permissions":{"type":"string","description":"The permissions"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-cams/list-all-groups":{"post":{"operationId":"cloud_aliyun_cams_list_all_groups","summary":"Queries the list of groups","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"endpoint":{"type":"string","enum":["https://cams.ap-southeast-1.aliyuncs.com"],"default":"https://cams.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://cams.ap-southeast-1.aliyuncs.com"},"BizCode":{"type":"string","description":"The business tenant code. Default value: ALICOM_OPAAS"},"BizExtend":{"type":"string","description":"The business extension information. Default value: an empty collection (JSON-encoded)"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-cams/list-bind-dm-account":{"post":{"operationId":"cloud_aliyun_cams_list_bind_dm_account","summary":"Queries the bound DM account","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["CustSpaceId"],"properties":{"endpoint":{"type":"string","enum":["https://cams.ap-southeast-1.aliyuncs.com"],"default":"https://cams.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://cams.ap-southeast-1.aliyuncs.com"},"CustSpaceId":{"type":"string","description":"The SpaceId of the ISV sub-customer or the instance ID of the direct customer"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-cams/list-binding-relations-for-flow-version":{"post":{"operationId":"cloud_aliyun_cams_list_binding_relations_for_flow_version","summary":"Queries the list of phone numbers or business account IDs bound to a flow based on the flow code","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["FlowCode","ChannelType"],"properties":{"endpoint":{"type":"string","enum":["https://cams.ap-southeast-1.aliyuncs.com"],"default":"https://cams.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://cams.ap-southeast-1.aliyuncs.com"},"FlowCode":{"type":"string","description":"The flow code. View the flow code in the Flow Builder (https://chatapp.console.aliyun.com/ChatFlowBuilder) console"},"ChannelType":{"type":"string","description":"The channel type. Valid values: INSTAGRAM WHATSAPP MESSENGER - VIBER"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-cams/list-chat-flow":{"post":{"operationId":"cloud_aliyun_cams_list_chat_flow","summary":"Lists flows","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"endpoint":{"type":"string","enum":["https://cams.ap-southeast-1.aliyuncs.com"],"default":"https://cams.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://cams.ap-southeast-1.aliyuncs.com"},"Status":{"type":"string","description":"The flow status. Default value: NORMAL"},"PageNo":{"type":"integer","description":"The page number"},"PageSize":{"type":"integer","description":"The number of entries per page"},"FlowTriggerType":{"type":"string","description":"The flow trigger type. Valid values: TriggeredManually TriggeredByWhatsApp TriggeredByInstagram TriggeredByViber TriggeredByMessenger"},"ReturnWithOnlineVersion":{"type":"string","description":"Specifies whether to return the online status. Valid values: true: Yes. false: No"},"Keyword":{"type":"string","description":"The search keyword. This parameter is used for fuzzy match of flow names"},"BizCode":{"type":"string","description":"The business tenant code. Default value: ALICOM_OPAAS"},"BizExtend":{"type":"string","description":"The business extension information. Default value: an empty collection (JSON-encoded)"},"FlowCode":{"type":"string","description":"flowCode"},"Title":{"type":"string","description":"The title"},"FlowStatus":{"type":"string","description":"The flow status"},"PhoneNumber":{"type":"string","description":"The phone number"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-cams/list-chat-flow-template":{"post":{"operationId":"cloud_aliyun_cams_list_chat_flow_template","summary":"Lists flow templates","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["BizCode"],"properties":{"endpoint":{"type":"string","enum":["https://cams.ap-southeast-1.aliyuncs.com"],"default":"https://cams.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://cams.ap-southeast-1.aliyuncs.com"},"TriggerType":{"type":"string","description":"The flow trigger type. Valid values: TriggeredManually TriggeredByWhatsApp TriggeredByInstagram TriggeredByViber TriggeredByMessenger"},"Keyword":{"type":"string","description":"The search keyword. Used for fuzzy match of template names"},"PageNo":{"type":"integer","description":"The page number"},"PageSize":{"type":"integer","description":"The number of records per page"},"BizCode":{"type":"string","description":"The business tenant code. Default value: ALICOM_OPAAS"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-cams/list-chat-group":{"post":{"operationId":"cloud_aliyun_cams_list_chat_group","summary":"Retrieves the list of IM groups","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["BusinessNumber","CustSpaceId","Page"],"properties":{"endpoint":{"type":"string","enum":["https://cams.ap-southeast-1.aliyuncs.com"],"default":"https://cams.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://cams.ap-southeast-1.aliyuncs.com"},"BusinessNumber":{"type":"string","description":"The business phone number"},"ChannelType":{"type":"string","description":"The channel type. Valid values: WHATSAPP. Only the WhatsApp channel type is supported"},"CustSpaceId":{"type":"string","description":"The SpaceId or instance ID of the ISV sub-customer. This is the channel ID, which can be viewed on the Channel Management…"},"GroupStatus":{"type":"string","description":"The group status. Valid values: ACTIVE: In use. INACTIVE: Not activated. SUSPENDED: Suspended. CREATING: Being created. DELETING: Being…"},"Subject":{"type":"string","description":"The group subject"},"GroupType":{"type":"string","description":"The Telegram group type"},"GroupLink":{"type":"string","description":"The Telegram group link"},"Page":{"type":"string","description":"The pagination information (JSON-encoded)"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-cams/list-chat-group-participants":{"post":{"operationId":"cloud_aliyun_cams_list_chat_group_participants","summary":"Retrieves the member list of an IM group","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["BusinessNumber","GroupId","CustSpaceId"],"properties":{"endpoint":{"type":"string","enum":["https://cams.ap-southeast-1.aliyuncs.com"],"default":"https://cams.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://cams.ap-southeast-1.aliyuncs.com"},"BusinessNumber":{"type":"string","description":"The business phone number. You can view the business phone number by calling the https://help.aliyun.com/document_detail/2932629.html…"},"ChannelType":{"type":"string","description":"The channel type. Valid values: WHATSAPP Only the WhatsApp channel type is supported"},"GroupId":{"type":"string","description":"The group ID. You can view the group ID by calling the https://help.aliyun.com/document_detail/2932629.html operation"},"CustSpaceId":{"type":"string","description":"The space ID of the ISV sub-customer, which is also the instance ID. This is the channel ID, which can be viewed on the Channel Management…"},"Page":{"type":"string","description":"The pagination information (JSON-encoded)"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-cams/list-chatapp-message":{"post":{"operationId":"cloud_aliyun_cams_list_chatapp_message","summary":"Queries the message list","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["BusinessNumber","ChannelType","CustSpaceId","Page"],"properties":{"endpoint":{"type":"string","enum":["https://cams.ap-southeast-1.aliyuncs.com"],"default":"https://cams.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://cams.ap-southeast-1.aliyuncs.com"},"BusinessNumber":{"type":"string","description":"The business phone number. For WhatsApp channels, view the business phone number in the Channel Management…"},"StartTimeStr":{"type":"string","description":"The start time in the format of YYYY-MM-DD HH:mm:ss"},"EndTimeStr":{"type":"string","description":"The end time in the format of YYYY-MM-DD HH:mm:ss"},"StartTime":{"type":"integer","description":"The start time. This value is a UNIX timestamp. Unit: milliseconds"},"EndTime":{"type":"integer","description":"The end time. This value is a UNIX timestamp. Unit: milliseconds"},"EventAction":{"type":"string","description":"The message type. Valid values: DOWN: downstream message. UP: upstream message"},"UserNumber":{"type":"string","description":"The user phone number. This is the user phone number that you imported when sending messages in the Channel Management…"},"ChannelType":{"type":"string","description":"The channel type. Valid values: whatsapp. viber"},"ClientAcceptStatus":{"type":"string","description":"The message acceptance status of the user"},"TemplateCode":{"type":"string","description":"The template code. View the template code in the Channel Management (https://chatapp.console.aliyun.com/CustomerList) > Management >…"},"GroupMessageId":{"type":"string","description":"The batch message ID. View the batch message ID in the Channel Management (https://chatapp.console.alibabacloud.com/CustomerList) >…"},"MessageStatus":{"type":"string","description":"The message status"},"CustSpaceId":{"type":"string","description":"The space ID of the ISV sub-customer or the instance ID of the direct customer. View the Space ID in the Channel Management…"},"Page":{"type":"string","description":"The pagination object (JSON-encoded)"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-cams/list-chatapp-template":{"post":{"operationId":"cloud_aliyun_cams_list_chatapp_template","summary":"Retrieves a list of message templates","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"endpoint":{"type":"string","enum":["https://cams.ap-southeast-1.aliyuncs.com"],"default":"https://cams.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://cams.ap-southeast-1.aliyuncs.com"},"Name":{"type":"string","description":"The template name"},"Language":{"type":"string","description":"The template language. For language codes, see https://help.aliyun.com/document_detail/463420.html"},"AuditStatus":{"type":"string","description":"The audit status. Valid values: pass: Approved. fail: Rejected. auditing: Under review. unaudit: Review suspended"},"Page":{"type":"string","description":"The pagination settings (JSON-encoded)"},"CustWabaId":{"type":"string","description":"The WabaId of the ISV customer. This parameter is deprecated. Use CustSpaceId instead"},"CustSpaceId":{"type":"string","description":"The SpaceId of the ISV sub-customer or the instance ID of the direct customer"},"TemplateType":{"type":"string","description":"The templatetype. Valid values: WHATSAPP VIBER"},"Code":{"type":"string","description":"The template code"},"Category":{"type":"string","description":"The template category"},"IsvCode":{"type":"string","description":"The ISV verification code, used to verify whether a sub-account is authorized by the ISV"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-cams/list-custom-audience":{"post":{"operationId":"cloud_aliyun_cams_list_custom_audience","summary":"Queries a custom audience list","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["CustSpaceId","PageId","Page"],"properties":{"endpoint":{"type":"string","enum":["https://cams.ap-southeast-1.aliyuncs.com"],"default":"https://cams.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://cams.ap-southeast-1.aliyuncs.com"},"CustSpaceId":{"type":"string","description":"The space ID or instance ID of the ISV sub-customer. This is the channel ID. You can view it on the Channel Management…"},"PageId":{"type":"string","description":"The page ID of Messenger"},"AdAccountId":{"type":"string","description":"The Meta ad account ID"},"TokenType":{"type":"string","description":"The token type"},"CustomAudienceName":{"type":"string","description":"The custom audience name"},"Page":{"type":"string","description":"The pagination information (JSON-encoded)"},"CustomAudienceId":{"type":"string","description":"The custom audience ID"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-cams/list-dm-account":{"post":{"operationId":"cloud_aliyun_cams_list_dm_account","summary":"Queries the DirectMail accounts under your account","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"endpoint":{"type":"string","enum":["https://cams.ap-southeast-1.aliyuncs.com"],"default":"https://cams.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://cams.ap-southeast-1.aliyuncs.com"},"PageIndex":{"type":"integer","description":"The page number"},"PageSize":{"type":"integer","description":"The number of entries per page"},"SendType":{"type":"string","description":"The sending type"},"Keyword":{"type":"string","description":"The search keyword"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-cams/list-dm-tag":{"post":{"operationId":"cloud_aliyun_cams_list_dm_tag","summary":"Queries the tags of DirectMail","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"endpoint":{"type":"string","enum":["https://cams.ap-southeast-1.aliyuncs.com"],"default":"https://cams.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://cams.ap-southeast-1.aliyuncs.com"},"PageSize":{"type":"integer","description":"The number of entries to return on each page"},"PageIndex":{"type":"integer","description":"The page number"},"Keyword":{"type":"string","description":"The search keyword"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-cams/list-facebook-posts":{"post":{"operationId":"cloud_aliyun_cams_list_facebook_posts","summary":"Queries the list of Facebook posts","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["CustSpaceId"],"properties":{"endpoint":{"type":"string","enum":["https://cams.ap-southeast-1.aliyuncs.com"],"default":"https://cams.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://cams.ap-southeast-1.aliyuncs.com"},"CustSpaceId":{"type":"string","description":"The space ID of the ISV sub-customer"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-cams/list-flow":{"post":{"operationId":"cloud_aliyun_cams_list_flow","summary":"Queries the list of Flows","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"endpoint":{"type":"string","enum":["https://cams.ap-southeast-1.aliyuncs.com"],"default":"https://cams.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://cams.ap-southeast-1.aliyuncs.com"},"FlowName":{"type":"string","description":"The Flow name"},"Page":{"type":"string","description":"The pagination information (JSON-encoded)"},"CustSpaceId":{"type":"string","description":"The SpaceId of the ISV sub-customer"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-cams/list-flow-node-group":{"post":{"operationId":"cloud_aliyun_cams_list_flow_node_group","summary":"Lists flow component groups","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["PageSize","PageNo"],"properties":{"endpoint":{"type":"string","enum":["https://cams.ap-southeast-1.aliyuncs.com"],"default":"https://cams.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://cams.ap-southeast-1.aliyuncs.com"},"PageSize":{"type":"integer","description":"The number of records per page"},"PageNo":{"type":"integer","description":"The page number"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-cams/list-flow-node-prototype-v2":{"post":{"operationId":"cloud_aliyun_cams_list_flow_node_prototype_v2","summary":"Lists flow component prototypes","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["PageNo","PageSize","BizCode"],"properties":{"endpoint":{"type":"string","enum":["https://cams.ap-southeast-1.aliyuncs.com"],"default":"https://cams.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://cams.ap-southeast-1.aliyuncs.com"},"PageNo":{"type":"integer","description":"The current page number"},"PageSize":{"type":"integer","description":"The number of entries per page"},"GroupCode":{"type":"string","description":"The component group code. Valid values: Messaging: messaging components. Core: core components. Intelligence: intelligent components.…"},"BizCode":{"type":"string","description":"The business tenant code. Default value: ALICOM_OPAAS"},"Keyword":{"type":"string","description":"The search keyword. This parameter is used for fuzzy match based on the flow component name"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-cams/list-flow-version":{"post":{"operationId":"cloud_aliyun_cams_list_flow_version","summary":"Lists flow versions","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"endpoint":{"type":"string","enum":["https://cams.ap-southeast-1.aliyuncs.com"],"default":"https://cams.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://cams.ap-southeast-1.aliyuncs.com"},"FlowCode":{"type":"string","description":"The flow code. You can query the flow code on the flow editor (https://chatapp.console.aliyun.com/ChatFlowBuilder) page"},"PageNo":{"type":"integer","description":"The current page number"},"PageSize":{"type":"integer","description":"The number of records per page"},"Status":{"type":"string","description":"The flow version status. Valid values: DRAFT: draft. DELETED: deleted. ONLINE: online. OFFLINE: offline"},"BizCode":{"type":"string","description":"The business tenant code. Default value: ALICOM_OPAAS"},"BizExtend":{"type":"string","description":"The business extension information. Default value: an empty collection (JSON-encoded)"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-cams/list-instagram-page":{"post":{"operationId":"cloud_aliyun_cams_list_instagram_page","summary":"Retrieves the Instagram pages associated with an instance","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["InstanceId"],"properties":{"endpoint":{"type":"string","enum":["https://cams.ap-southeast-1.aliyuncs.com"],"default":"https://cams.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://cams.ap-southeast-1.aliyuncs.com"},"InstanceId":{"type":"string","description":"The instance ID. Only non-Alibaba Cloud hosts are supported"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-cams/list-instagram-posts":{"post":{"operationId":"cloud_aliyun_cams_list_instagram_posts","summary":"Queries the list of Instagram posts","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["CustSpaceId"],"properties":{"endpoint":{"type":"string","enum":["https://cams.ap-southeast-1.aliyuncs.com"],"default":"https://cams.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://cams.ap-southeast-1.aliyuncs.com"},"CustSpaceId":{"type":"string","description":"The space ID or instance ID of the ISV sub-customer. This is the channel ID, which you can view on the channel management…"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-cams/list-instance":{"post":{"operationId":"cloud_aliyun_cams_list_instance","summary":"Queries a list of instances","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"endpoint":{"type":"string","enum":["https://cams.ap-southeast-1.aliyuncs.com"],"default":"https://cams.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://cams.ap-southeast-1.aliyuncs.com"},"ChannelType":{"type":"string","description":"The channel type. Valid values: whatsapp messenger instagram - viber"},"InstanceName":{"type":"string","description":"The instance name"},"SubmitTime":{"type":"string","description":"The submit time in the YYYY-MM-DD HH:mm:ss format"},"PageSize":{"type":"integer","description":"The number of records per page"},"PageIndex":{"type":"integer","description":"The page number"},"ResourceGroupId":{"type":"string","description":"The ID of the enterprise resource group to which the instance belongs"},"InstanceId":{"type":"string","description":"The instance ID. Only non-Alibaba Cloud hosts are supported"},"FilterStr":{"type":"string","description":"The filter condition"},"IsBind":{"type":"string","description":"Indicates whether the instance is bound"},"BindId":{"type":"string","description":"The binding ID"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-cams/list-marketing-flow":{"post":{"operationId":"cloud_aliyun_cams_list_marketing_flow","summary":"Queries a list of campaigns","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"endpoint":{"type":"string","enum":["https://cams.ap-southeast-1.aliyuncs.com"],"default":"https://cams.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://cams.ap-southeast-1.aliyuncs.com"},"ActivityStatus":{"type":"string","description":"The campaign status"},"RelatedGroupId":{"type":"integer","description":"The ID of the associated group"},"RelatedFlowCode":{"type":"string","description":"The ID of the associated flow"},"ActivityName":{"type":"string","description":"The name of the node task instance"},"ActivityCode":{"type":"string","description":"The campaign code. You can use the system-generated code or modify it to use a custom code"},"PageIndex":{"type":"string","description":"The current page number"},"PageSize":{"type":"string","description":"The number of entries per page"},"BizCode":{"type":"string","description":"The business tenant code. Default value: ALICOM_OPAAS"},"BizExtend":{"type":"string","description":"The business extension information. Default value: \"{}\" (JSON-encoded)"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-cams/list-message-campaign":{"post":{"operationId":"cloud_aliyun_cams_list_message_campaign","summary":"Retrieves a list of budgets","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["CustSpaceId","PageId","Page"],"properties":{"endpoint":{"type":"string","enum":["https://cams.ap-southeast-1.aliyuncs.com"],"default":"https://cams.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://cams.ap-southeast-1.aliyuncs.com"},"CustSpaceId":{"type":"string","description":"The Space ID of the ISV sub-customer or the instance ID of the direct customer. You can view this ID on the Channel Management…"},"PageId":{"type":"string","description":"The Page ID for Messenger"},"AdAccountId":{"type":"string","description":"The ID of the Meta ad account"},"Status":{"type":"string","description":"The status of the budget"},"CampaignName":{"type":"string","description":"The name of the campaign"},"Page":{"type":"string","description":"The pagination parameters (JSON-encoded)"},"CampaignId":{"type":"string","description":"The ID of the budget"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-cams/list-messenger-subscription-token":{"post":{"operationId":"cloud_aliyun_cams_list_messenger_subscription_token","summary":"Queries custom audiences and subscription tokens","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["CustSpaceId","PageId","TokenType"],"properties":{"endpoint":{"type":"string","enum":["https://cams.ap-southeast-1.aliyuncs.com"],"default":"https://cams.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://cams.ap-southeast-1.aliyuncs.com"},"CustSpaceId":{"type":"string","description":"The space ID of the ISV sub-customer or the instance ID. View the ID on the Channel Management…"},"PageId":{"type":"string","description":"The page ID for Messenger"},"TokenType":{"type":"string","description":"The token type"},"CustomAudienceId":{"type":"string","description":"The custom audience ID"},"PageKey":{"type":"string","description":"The pagination key"},"Limit":{"type":"integer","description":"The number of entries to return. Valid values: 1 to 1000"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-cams/list-page-ad-account":{"post":{"operationId":"cloud_aliyun_cams_list_page_ad_account","summary":"Queries the list of ad accounts bound to a page","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["CustSpaceId","PageId"],"properties":{"endpoint":{"type":"string","enum":["https://cams.ap-southeast-1.aliyuncs.com"],"default":"https://cams.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://cams.ap-southeast-1.aliyuncs.com"},"CustSpaceId":{"type":"string","description":"The space ID of the ISV sub-customer or the instance ID of the direct customer"},"PageId":{"type":"string","description":"The PageId of Messenger"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-cams/list-phone-message-qrdl":{"post":{"operationId":"cloud_aliyun_cams_list_phone_message_qrdl","summary":"Queries the list of message QR codes","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["PhoneNumber"],"properties":{"endpoint":{"type":"string","enum":["https://cams.ap-southeast-1.aliyuncs.com"],"default":"https://cams.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://cams.ap-southeast-1.aliyuncs.com"},"PhoneNumber":{"type":"string","description":"The phone number"},"CustSpaceId":{"type":"string","description":"The space ID of the ISV sub-customer or the instance ID of the direct customer"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-cams/list-product":{"post":{"operationId":"cloud_aliyun_cams_list_product","summary":"Retrieves products in a catalog","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["CatalogId","WabaId"],"properties":{"endpoint":{"type":"string","enum":["https://cams.ap-southeast-1.aliyuncs.com"],"default":"https://cams.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://cams.ap-southeast-1.aliyuncs.com"},"CatalogId":{"type":"string","description":"The catalog ID. You can get it from the Meta platform"},"Fields":{"type":"string","description":"A list of fields to return. Separate multiple fields with a comma (,). For more information, see…"},"Before":{"type":"string","description":"The cursor that points to the end of the previous page of results"},"After":{"type":"string","description":"The cursor that points to the start of the next page of results"},"Limit":{"type":"integer","description":"The number of items to return. Valid values: 1 to 1000"},"CustSpaceId":{"type":"string","description":"The Space ID of the ISV sub-customer"},"WabaId":{"type":"string","description":"The WhatsApp Business Account (WABA) ID"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-cams/list-product-catalog":{"post":{"operationId":"cloud_aliyun_cams_list_product_catalog","summary":"Queries the catalog list of the Meta Business platform","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["BusinessId"],"properties":{"endpoint":{"type":"string","enum":["https://cams.ap-southeast-1.aliyuncs.com"],"default":"https://cams.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://cams.ap-southeast-1.aliyuncs.com"},"BusinessId":{"type":"integer","description":"The ID of the business platform where the WABA is located. You can view the business platform ID in the Chat App Message Service console…"},"Before":{"type":"string","description":"The end position of the previous page for pagination"},"After":{"type":"string","description":"The start position of the next page for pagination"},"Fields":{"type":"string","description":"The list of fields, separated by commas (,). For specific fields, see https://help.aliyun.com/document_detail/2579419.html"},"Limit":{"type":"integer","description":"The number of entries to query. Valid values: 1 to 1000"},"CustSpaceId":{"type":"string","description":"The space ID of the ISV sub-customer"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-cams/list-viber-service-message":{"post":{"operationId":"cloud_aliyun_cams_list_viber_service_message","summary":"Displays the Viber service number card for an application form","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["CustSpaceId"],"properties":{"endpoint":{"type":"string","enum":["https://cams.ap-southeast-1.aliyuncs.com"],"default":"https://cams.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://cams.ap-southeast-1.aliyuncs.com"},"CustSpaceId":{"type":"string","description":"The space ID or instance ID of the ISV sub-customer. This is the channel ID, which can be viewed on the Channel Management…"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-cams/list-what-app-template":{"post":{"operationId":"cloud_aliyun_cams_list_what_app_template","summary":"Lists message templates","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"endpoint":{"type":"string","enum":["https://cams.ap-southeast-1.aliyuncs.com"],"default":"https://cams.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://cams.ap-southeast-1.aliyuncs.com"},"HetuParams":{"type":"string","description":"This parameter is reserved for internal use"},"CustSpaceId":{"type":"string","description":"The space ID of the ISV sub-customer or the instance ID of the direct customer"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-cams/modify-chatapp-template":{"post":{"operationId":"cloud_aliyun_cams_modify_chatapp_template","summary":"Modifies a message template. Only templates that have not been reviewed or that failed the review can be…","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["Components","Language"],"properties":{"endpoint":{"type":"string","enum":["https://cams.ap-southeast-1.aliyuncs.com"],"default":"https://cams.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://cams.ap-southeast-1.aliyuncs.com"},"Components":{"type":"string","description":"The list of message template components. When Category is set to AUTHENTICATION, Components cannot contain a node with Type set to HEADER.…"},"Language":{"type":"string","description":"The language"},"Example":{"type":"string","description":"The variables in key-value structure (JSON-encoded)"},"CustWabaId":{"type":"string","description":"The ISV customer WabaId. This parameter will be deprecated. Use CustSpaceId instead"},"IsvCode":{"type":"string","description":"The ISV verification code used to verify whether a sub-account is authorized by the ISV"},"TemplateCode":{"type":"string","description":"The message template code"},"CustSpaceId":{"type":"string","description":"The SpaceId of the ISV sub-customer or the instanceId of a direct customer"},"Category":{"type":"string","description":"The template category. This parameter can be modified when updating Viber templates. This parameter is invalid for WhatsApp templates"},"TemplateType":{"type":"string","description":"The templatetype of the template to be modified. Valid values: WHATSAPP VIBER Default value: WHATSAPP"},"MessageSendTtlSeconds":{"type":"integer","description":"The time-to-live (TTL) for sending WhatsApp Authentication template messages"},"TemplateName":{"type":"string","description":"The template name"},"CategoryChangePaused":{"type":"string","description":"Specifies whether to pause template sending when a Utility template is changed to the Marketing type"},"ProductSetId":{"type":"string","description":"productSetId"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-cams/modify-chatapp-template-properties":{"post":{"operationId":"cloud_aliyun_cams_modify_chatapp_template_properties","summary":"Modifies some properties of a template","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["TemplateCode","Language","TemplateType","CustSpaceId"],"properties":{"endpoint":{"type":"string","enum":["https://cams.ap-southeast-1.aliyuncs.com"],"default":"https://cams.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://cams.ap-southeast-1.aliyuncs.com"},"TemplateCode":{"type":"string","description":"The template code"},"Language":{"type":"string","description":"The template language. For more information about language codes, see https://help.aliyun.com/document_detail/463420.html"},"TemplateType":{"type":"string","description":"The templatetype. WHATSAPP"},"CustSpaceId":{"type":"string","description":"The space ID of the ISV sub-customer or the instance ID of the direct customer"},"CategoryChangePaused":{"type":"string","description":"Specifies whether to block sending after the Utility template category is changed"},"AllowSend":{"type":"string","description":"Specifies whether sending is allowed"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-cams/modify-flow":{"post":{"operationId":"cloud_aliyun_cams_modify_flow","summary":"Modifies the basic information of a flow","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["FlowName","Categories"],"properties":{"endpoint":{"type":"string","enum":["https://cams.ap-southeast-1.aliyuncs.com"],"default":"https://cams.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://cams.ap-southeast-1.aliyuncs.com"},"FlowName":{"type":"string","description":"The name of the flow"},"Categories":{"type":"string","description":"The folder (JSON-encoded)"},"FlowId":{"type":"string","description":"The ID of the flow"},"CustSpaceId":{"type":"string","description":"The space ID of the ISV sub-customer"},"EndpointUri":{"type":"string","description":"The URL of the WA Flow Endpoint"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-cams/modify-phone-business-profile":{"post":{"operationId":"cloud_aliyun_cams_modify_phone_business_profile","summary":"Modifies the commercial information of a phone number","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["CustSpaceId","PhoneNumber"],"properties":{"endpoint":{"type":"string","enum":["https://cams.ap-southeast-1.aliyuncs.com"],"default":"https://cams.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://cams.ap-southeast-1.aliyuncs.com"},"CustSpaceId":{"type":"string","description":"The space ID of the ISV sub-customer"},"PhoneNumber":{"type":"string","description":"The phone number"},"Address":{"type":"string","description":"The address"},"Description":{"type":"string","description":"The description"},"Vertical":{"type":"string","description":"The industry vertical"},"Email":{"type":"string","description":"The email address"},"ProfilePictureUrl":{"type":"string","description":"The profile picture URL"},"Websites":{"type":"string","description":"The websites (JSON-encoded)"},"About":{"type":"string","description":"The about information"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-cams/move-contact-to-group":{"post":{"operationId":"cloud_aliyun_cams_move_contact_to_group","summary":"Modifies the group associations of contacts","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["Contacts"],"properties":{"endpoint":{"type":"string","enum":["https://cams.ap-southeast-1.aliyuncs.com"],"default":"https://cams.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://cams.ap-southeast-1.aliyuncs.com"},"Contacts":{"type":"string","description":"The list of contacts whose group associations are to be modified"},"LinkExistGroups":{"type":"string","description":"The list of existing group IDs to associate with"},"LinkNewGroups":{"type":"string","description":"The list of new group names to associate with"},"BizCode":{"type":"string","description":"The business tenant code. Default value: ALICOM_OPAAS"},"BizExtend":{"type":"string","description":"The business extension information. Default value: an empty collection (JSON-encoded)"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-cams/offline-flow-version":{"post":{"operationId":"cloud_aliyun_cams_offline_flow_version","summary":"Offlines a flow version","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"endpoint":{"type":"string","enum":["https://cams.ap-southeast-1.aliyuncs.com"],"default":"https://cams.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://cams.ap-southeast-1.aliyuncs.com"},"FlowCode":{"type":"string","description":"The flow code. View it in the flow editor (https://chatapp.console.aliyun.com/ChatFlowBuilder)"},"FlowVersion":{"type":"string","description":"The flow version. Click the flow name in the flow editor (https://chatapp.console.aliyun.com/ChatFlowBuilder) to enter the flow editor…"},"Remark":{"type":"string","description":"The flow remark. View it in the flow editor (https://chatapp.console.aliyun.com/ChatFlowBuilder)"},"BizCode":{"type":"string","description":"The business tenant code. Default value: ALICOM_OPAAS"},"BizExtend":{"type":"string","description":"The business extension information. Default value: an empty collection (JSON-encoded)"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-cams/online-flow-version":{"post":{"operationId":"cloud_aliyun_cams_online_flow_version","summary":"Publishes a flow version","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"endpoint":{"type":"string","enum":["https://cams.ap-southeast-1.aliyuncs.com"],"default":"https://cams.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://cams.ap-southeast-1.aliyuncs.com"},"FlowCode":{"type":"string","description":"The flow code. You can view the flow code on the Flow Editor (https://chatapp.console.aliyun.com/ChatFlowBuilder) page"},"FlowVersion":{"type":"string","description":"The flow version. You can click a flow name on the Flow Editor (https://chatapp.console.aliyun.com/ChatFlowBuilder) page to go to the…"},"Remark":{"type":"string","description":"The flow remark. You can view the flow remark on the Flow Editor (https://chatapp.console.aliyun.com/ChatFlowBuilder) page"},"BizCode":{"type":"string","description":"The business tenant code. Default value: ALICOM_OPAAS"},"BizExtend":{"type":"string","description":"The business extension information. Default value: an empty collection (JSON-encoded)"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-cams/open-chatapp-service":{"post":{"operationId":"cloud_aliyun_cams_open_chatapp_service","summary":"Activates the Chat App Message Service","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"endpoint":{"type":"string","enum":["https://cams.ap-southeast-1.aliyuncs.com"],"default":"https://cams.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://cams.ap-southeast-1.aliyuncs.com"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-cams/pause-marketing-flow":{"post":{"operationId":"cloud_aliyun_cams_pause_marketing_flow","summary":"Pauses a service","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"endpoint":{"type":"string","enum":["https://cams.ap-southeast-1.aliyuncs.com"],"default":"https://cams.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://cams.ap-southeast-1.aliyuncs.com"},"ActivityCode":{"type":"string","description":"The activity code"},"ActivityId":{"type":"string","description":"The activity ID (deprecated)"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-cams/publish-flow":{"post":{"operationId":"cloud_aliyun_cams_publish_flow","summary":"Publishes a Flow","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["FlowId"],"properties":{"endpoint":{"type":"string","enum":["https://cams.ap-southeast-1.aliyuncs.com"],"default":"https://cams.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://cams.ap-southeast-1.aliyuncs.com"},"FlowId":{"type":"string","description":"The Flow ID, which is the FlowId returned by the https://help.aliyun.com/document_detail/2638742.html operation when you create a WhatsApp…"},"CustSpaceId":{"type":"string","description":"The space ID of the ISV sub-customer or the instance ID of the direct customer. You can view the Space ID on the Channel Management…"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-cams/query-chatapp-bind-waba":{"post":{"operationId":"cloud_aliyun_cams_query_chatapp_bind_waba","summary":"Queries the WABA bound to a customer","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"endpoint":{"type":"string","enum":["https://cams.ap-southeast-1.aliyuncs.com"],"default":"https://cams.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://cams.ap-southeast-1.aliyuncs.com"},"CustSpaceId":{"type":"string","description":"The space ID of the ISV sub-customer"},"IsvCode":{"type":"string","description":"The ISV verification code, used to verify whether the sub-account is authorized by the ISV"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-cams/query-chatapp-phone-numbers":{"post":{"operationId":"cloud_aliyun_cams_query_chatapp_phone_numbers","summary":"Queries all sending phone numbers and their statuses under a customer account","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"endpoint":{"type":"string","enum":["https://cams.ap-southeast-1.aliyuncs.com"],"default":"https://cams.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://cams.ap-southeast-1.aliyuncs.com"},"IsvCode":{"type":"string","description":"The ISV verification code, used to verify whether a sub-account is authorized by an ISV"},"CustSpaceId":{"type":"string","description":"The space ID of the ISV sub-customer"},"Status":{"type":"string","description":"The phone number status"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-cams/query-instance":{"post":{"operationId":"cloud_aliyun_cams_query_instance","summary":"Gets the details of a specified instance","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["InstanceId"],"properties":{"endpoint":{"type":"string","enum":["https://cams.ap-southeast-1.aliyuncs.com"],"default":"https://cams.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://cams.ap-southeast-1.aliyuncs.com"},"InstanceId":{"type":"string","description":"The ID of the instance"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-cams/query-mmlactive":{"post":{"operationId":"cloud_aliyun_cams_query_mmlactive","summary":"Queries whether a marketing message is effective","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"endpoint":{"type":"string","enum":["https://cams.ap-southeast-1.aliyuncs.com"],"default":"https://cams.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://cams.ap-southeast-1.aliyuncs.com"},"CustSpaceId":{"type":"string","description":"The SpaceId of the ISV sub-customer"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-cams/query-phone-business-profile":{"post":{"operationId":"cloud_aliyun_cams_query_phone_business_profile","summary":"Queries the business information of a phone number","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["CustSpaceId","PhoneNumber"],"properties":{"endpoint":{"type":"string","enum":["https://cams.ap-southeast-1.aliyuncs.com"],"default":"https://cams.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://cams.ap-southeast-1.aliyuncs.com"},"CustSpaceId":{"type":"string","description":"The space ID of the ISV sub-customer"},"PhoneNumber":{"type":"string","description":"The phone number"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-cams/query-waba-business-info":{"post":{"operationId":"cloud_aliyun_cams_query_waba_business_info","summary":"Queries the business information about the WhatsApp Business account (WABA)","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["CustSpaceId","WabaId"],"properties":{"endpoint":{"type":"string","enum":["https://cams.ap-southeast-1.aliyuncs.com"],"default":"https://cams.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://cams.ap-southeast-1.aliyuncs.com"},"CustSpaceId":{"type":"string","description":"The space ID of ISV sub-customer"},"WabaId":{"type":"string","description":"The ID of the WhatsApp Business Account (WABA)"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-cams/read-chat-flow":{"post":{"operationId":"cloud_aliyun_cams_read_chat_flow","summary":"Retrieves the details of a flow","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"endpoint":{"type":"string","enum":["https://cams.ap-southeast-1.aliyuncs.com"],"default":"https://cams.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://cams.ap-southeast-1.aliyuncs.com"},"FlowCode":{"type":"string","description":"The flow code. You can view the flow code in the flow editor (https://chatapp.console.aliyun.com/ChatFlowBuilder)"},"BizCode":{"type":"string","description":"The business tenant code. Default value: ALICOM_OPAAS"},"BizExtend":{"type":"string","description":"The business extension information. Default value: an empty collection (JSON-encoded)"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-cams/read-chat-flow-log-setting":{"post":{"operationId":"cloud_aliyun_cams_read_chat_flow_log_setting","summary":"Queries the flow log settings","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"endpoint":{"type":"string","enum":["https://cams.ap-southeast-1.aliyuncs.com"],"default":"https://cams.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://cams.ap-southeast-1.aliyuncs.com"},"FlowCode":{"type":"string","description":"The flow code. You can view the flow code on the Flow Editor (https://chatapp.console.aliyun.com/ChatFlowBuilder) page"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-cams/read-flow-version":{"post":{"operationId":"cloud_aliyun_cams_read_flow_version","summary":"Retrieves a flow version","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"endpoint":{"type":"string","enum":["https://cams.ap-southeast-1.aliyuncs.com"],"default":"https://cams.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://cams.ap-southeast-1.aliyuncs.com"},"FlowCode":{"type":"string","description":"The flow code. You can view the flow code on the flow editor (https://chatapp.console.aliyun.com/ChatFlowBuilder) page"},"FlowVersion":{"type":"string","description":"The flow version. You can click a flow name on the flow editor (https://chatapp.console.aliyun.com/ChatFlowBuilder) page to go to the…"},"Status":{"type":"string","description":"The flow version status. Valid values: DRAFT: draft. DELETED: deleted. ONLINE: online. OFFLINE: offline"},"BizCode":{"type":"string","description":"The business tenant code. Default value: ALICOM_OPAAS"},"BizExtend":{"type":"string","description":"The business extension information. Default value: an empty collection (JSON-encoded)"},"DraftVersion":{"type":"string","description":"The draft version"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-cams/remove-contact-by-id":{"post":{"operationId":"cloud_aliyun_cams_remove_contact_by_id","summary":"Removes a single contact from the current group","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["GroupId","ContactId"],"properties":{"endpoint":{"type":"string","enum":["https://cams.ap-southeast-1.aliyuncs.com"],"default":"https://cams.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://cams.ap-southeast-1.aliyuncs.com"},"GroupId":{"type":"string","description":"The contact group ID"},"ContactId":{"type":"string","description":"The contact ID"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-cams/request-whatsapp-conversion-api":{"post":{"operationId":"cloud_aliyun_cams_request_whatsapp_conversion_api","summary":"Sends a request to the WhatsApp Conversions API","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["PageId","CustSpaceId"],"properties":{"endpoint":{"type":"string","enum":["https://cams.ap-southeast-1.aliyuncs.com"],"default":"https://cams.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://cams.ap-southeast-1.aliyuncs.com"},"PageId":{"type":"string","description":"The PageId of Meta"},"CustSpaceId":{"type":"string","description":"The space ID or instance ID of the customer"},"RequestData":{"type":"string","description":"The request data (JSON-encoded)"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-cams/send-chatapp-mass-message":{"post":{"operationId":"cloud_aliyun_cams_send_chatapp_mass_message","summary":"Sends Chat App messages in batches","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["ChannelType","Language","From"],"properties":{"endpoint":{"type":"string","enum":["https://cams.ap-southeast-1.aliyuncs.com"],"default":"https://cams.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://cams.ap-southeast-1.aliyuncs.com"},"ChannelType":{"type":"string","description":"The channel type. Valid values: whatsapp messenger instagram - viber"},"TemplateCode":{"type":"string","description":"The template code. You can view the template code on the Channel Management (https://chatapp.console.aliyun.com/ChannelsManagement)…"},"Language":{"type":"string","description":"The language. For a list of language codes, see https://help.aliyun.com/document_detail/463420.html"},"From":{"type":"string","description":"The sender's phone number. If ChannelType is whatsapp, this is the phone number registered and bound to WhatsApp. You can view it on the…"},"CustWabaId":{"type":"string","description":"The WABA ID of the ISV customer. This parameter is deprecated. Use CustSpaceId instead, which is the instance ID for direct customers. You…"},"FallBackId":{"type":"string","description":"The fallback policy ID. This parameter applies to the international site only and can be ignored on the China site. You can view the…"},"FallBackContent":{"type":"string","description":"The custom fallback content. This parameter applies to the international site only and can be ignored on the China site"},"TaskId":{"type":"string","description":"The custom task ID"},"SenderList":{"type":"string","description":"The list of recipient phone numbers (JSON-encoded)"},"IsvCode":{"type":"string","description":"The ISV verification code used to verify whether a sub-account is authorized by an ISV. This parameter is deprecated and can be ignored"},"CustSpaceId":{"type":"string","description":"The space ID of the ISV sub-customer, or the instance ID for direct customers. You can view it on the Channel Management…"},"Ttl":{"type":"integer","description":"The timeout period for sending Viber messages. This parameter applies to the international site only and can be ignored on the China site.…"},"Label":{"type":"string","description":"The Viber message type. This parameter applies to the international site only and can be ignored on the China site. Valid values: -…"},"Tag":{"type":"string","description":"The tag information. Specifies a custom tag for Viber messages"},"FallBackDuration":{"type":"integer","description":"The fallback trigger duration. This parameter applies to the international site only and can be ignored on the China site. If no delivery…"},"FallBackRule":{"type":"string","description":"The fallback rule. This parameter applies to the international site only and can be ignored on the China site. Valid values: -…"},"TemplateName":{"type":"string","description":"The template name. You can view the template name on the Channel Management (https://chatapp.console.aliyun.com/ChannelsManagement)…"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-cams/send-chatapp-message":{"post":{"operationId":"cloud_aliyun_cams_send_chatapp_message","summary":"Sends a Chat App Message Service message","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["ChannelType","Type","From","To"],"properties":{"endpoint":{"type":"string","enum":["https://cams.ap-southeast-1.aliyuncs.com"],"default":"https://cams.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://cams.ap-southeast-1.aliyuncs.com"},"ChannelType":{"type":"string","description":"The channel type. Valid values: whatsapp messenger instagram telegram line telegram - viber"},"Type":{"type":"string","description":"The message type. Valid values: template: a message template that has been approved in the console. This type of message can be sent at…"},"MessageType":{"type":"string","description":"The detailed message type when Type is set to message. Valid values: WHATSAPP text: text message. image: image message. video: video…"},"TemplateCode":{"type":"string","description":"The template code. You can view the template code on the Channel Management (https://chatapp.console.aliyun.com/ChannelsManagement)…"},"Language":{"type":"string","description":"The language. For a list of language codes, see https://help.aliyun.com/document_detail/463420.html"},"From":{"type":"string","description":"The sender number. When ChannelType is whatsapp, this is the phone number registered and bindng with WhatsApp. You can view it on the…"},"To":{"type":"string","description":"The recipient number. When ChannelType is whatsapp, this is the phone number or BSUID of the message recipient. When ChannelType is…"},"TemplateParams":{"type":"string","description":"The collection of template parameters (JSON-encoded)"},"Content":{"type":"string","description":"The message content. WhatsApp message notes: When messageType is text, the text field is required and the Caption field must not be…"},"Payload":{"type":"string","description":"The collection of button trigger messages. This parameter is valid only for WHATSAPP (JSON-encoded)"},"CustWabaId":{"type":"string","description":"The ISV customer WABA ID. This parameter is deprecated. Use CustSpaceId instead. You can view it on the Channel Management…"},"FallBackId":{"type":"string","description":"The fallback policy ID. This parameter is for the China International site. China site users can ignore this parameter. You can view the…"},"FallBackContent":{"type":"string","description":"The custom fallback content. This parameter is for the China International site. China site users can ignore this parameter"},"IsvCode":{"type":"string","description":"The ISV verification code. This parameter is deprecated. You can ignore it"},"CustSpaceId":{"type":"string","description":"The SpaceId of the ISV sub-customer or the instance ID of a direct customer. You can view it on the Channel Management…"},"ContextMessageId":{"type":"string","description":"The ID of the message to reply to. This is the ID of a previously sent or received message"},"TrackingData":{"type":"string","description":"The custom tracking data passed in for Viber message types. This parameter is for the China International site. China site users can…"},"Label":{"type":"string","description":"The Viber message type. This parameter is for the China International site. China site users can ignore this parameter. Valid values: -…"},"Ttl":{"type":"integer","description":"The Viber message sending timeout period. This parameter is for the China International site. China site users can ignore this parameter.…"},"Tag":{"type":"string","description":"The tag information. Custom tag information when sending Viber messages. Valid only for VIBER"},"TaskId":{"type":"string","description":"The custom task ID"},"FallBackDuration":{"type":"integer","description":"The fallback trigger time. This parameter is for the China International site. China site users can ignore this parameter. If the message…"},"ProductAction":{"type":"string","description":"The product information. This parameter is valid only for WhatsApp channel types. It refers to the product information you uploaded on…"},"FallBackRule":{"type":"string","description":"The fallback rule. This parameter is for the China International site. China site users can ignore this parameter. Valid values: -…"},"FlowAction":{"type":"string","description":"The Flow message object. Valid only for WHATSAPP (JSON-encoded)"},"TemplateName":{"type":"string","description":"The template name. You can view the template name on the Channel Management (https://chatapp.console.aliyun.com/ChannelsManagement)…"},"RecipientType":{"type":"string","description":"The recipient type. Valid values: individual: an individual. group: a group. userId: WhatsApp BSUID. Valid only for WHATSAPP"},"MessageCampaignId":{"type":"string","description":"The campaign message ID. This parameter is a test parameter that is not fully available. Ignore this parameter"},"AdAccountId":{"type":"string","description":"The Meta ad account ID. This parameter is a test parameter that is not fully available. Ignore this parameter"},"TokenType":{"type":"string","description":"The token type. This parameter is a test parameter that is not fully available. Ignore this parameter"},"Category":{"type":"string","description":"The message type (for WhatsApp direct send). Do not specify this parameter if you are not a Meta-invited customer. Otherwise, message…"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-cams/submit-verify-code-result":{"post":{"operationId":"cloud_aliyun_cams_submit_verify_code_result","summary":"Submits the result of a verification code check","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["MessageId","Result"],"properties":{"endpoint":{"type":"string","enum":["https://cams.ap-southeast-1.aliyuncs.com"],"default":"https://cams.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://cams.ap-southeast-1.aliyuncs.com"},"MessageId":{"type":"string","description":"The message ID"},"To":{"type":"string","description":"The recipient number"},"Result":{"type":"string","description":"The verification result"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-cams/sync-business-app-history":{"post":{"operationId":"cloud_aliyun_cams_sync_business_app_history","summary":"Synchronizes business app historical records","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["CustSpaceId","PhoneNumber"],"properties":{"endpoint":{"type":"string","enum":["https://cams.ap-southeast-1.aliyuncs.com"],"default":"https://cams.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://cams.ap-southeast-1.aliyuncs.com"},"CustSpaceId":{"type":"string","description":"The space ID of the ISV sub-customer"},"PhoneNumber":{"type":"string","description":"The phone number of the business"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-cams/sync-flow":{"post":{"operationId":"cloud_aliyun_cams_sync_flow","summary":"Syncs a WhatsApp flow","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["CustSpaceId"],"properties":{"endpoint":{"type":"string","enum":["https://cams.ap-southeast-1.aliyuncs.com"],"default":"https://cams.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://cams.ap-southeast-1.aliyuncs.com"},"CustSpaceId":{"type":"string","description":"The channel instance"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-cams/sync-message-campaign":{"post":{"operationId":"cloud_aliyun_cams_sync_message_campaign","summary":"Synchronously queries the budget","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["PageId","AdAccountId"],"properties":{"endpoint":{"type":"string","enum":["https://cams.ap-southeast-1.aliyuncs.com"],"default":"https://cams.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://cams.ap-southeast-1.aliyuncs.com"},"PageId":{"type":"string","description":"The ID of the Messenger page"},"AdAccountId":{"type":"string","description":"The ID of the Meta ad account"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-cams/sync-messenger-subscription-token":{"post":{"operationId":"cloud_aliyun_cams_sync_messenger_subscription_token","summary":"Queries the Messenger subscription token","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["CustSpaceId","PageId","TokenType"],"properties":{"endpoint":{"type":"string","enum":["https://cams.ap-southeast-1.aliyuncs.com"],"default":"https://cams.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://cams.ap-southeast-1.aliyuncs.com"},"CustSpaceId":{"type":"string","description":"The space ID of the ISV sub-customer or the instance ID of the direct customer"},"PageId":{"type":"string","description":"The PageId of Messenger"},"CustomAudienceId":{"type":"string","description":"The custom audience ID"},"TokenType":{"type":"string","description":"The token type"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-cams/trigger-chat-flow":{"post":{"operationId":"cloud_aliyun_cams_trigger_chat_flow","summary":"Triggers an online chat flow that has a manual trigger","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["FlowCode"],"properties":{"endpoint":{"type":"string","enum":["https://cams.ap-southeast-1.aliyuncs.com"],"default":"https://cams.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://cams.ap-southeast-1.aliyuncs.com"},"FlowCode":{"type":"string","description":"The code of the flow. View the flow code on the Flow Editor (https://chatapp.console.aliyun.com/ChatFlowBuilder) page"},"Data":{"type":"string","description":"The input parameters in a key-value format. The keys must match the input parameter policy configured in the start node of the flow. To…"},"Uuid":{"type":"string","description":"A custom unique ID for the event, used to ensure idempotence. Do not include business semantics in the ID. After the flow is triggered,…"},"OutId":{"type":"string","description":"A custom serial number from an external system. Use this parameter to associate the trigger with an external business process. After the…"},"ClaimTimeMillis":{"type":"integer","description":"The time when the event occurs. This is when the flow is triggered and is typically the time when the request is created. This is a UNIX…"},"DiscardTimeMillis":{"type":"integer","description":"The time when the event expires. If you specify this parameter, the trigger is canceled if the request is not processed before this time.…"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-cams/unbind-dm-account":{"post":{"operationId":"cloud_aliyun_cams_unbind_dm_account","summary":"Unbinds an email account","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["CustSpaceId"],"properties":{"endpoint":{"type":"string","enum":["https://cams.ap-southeast-1.aliyuncs.com"],"default":"https://cams.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://cams.ap-southeast-1.aliyuncs.com"},"CustSpaceId":{"type":"string","description":"The space ID or instance ID of the ISV sub-customer. This is the channel ID, which can be viewed on the Channel Management…"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-cams/update-account-webhook":{"post":{"operationId":"cloud_aliyun_cams_update_account_webhook","summary":"Modifies the callback URL of an account","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["CustSpaceId"],"properties":{"endpoint":{"type":"string","enum":["https://cams.ap-southeast-1.aliyuncs.com"],"default":"https://cams.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://cams.ap-southeast-1.aliyuncs.com"},"CustSpaceId":{"type":"string","description":"The space ID of the ISV sub-customer"},"StatusCallbackUrl":{"type":"string","description":"The callback URL to which status reports are sent by using HTTP callbacks"},"HttpFlag":{"type":"string","description":"Specifies whether to use HTTP callbacks to receive message receipts. Valid values: Y: indicates that HTTP callbacks are used to receive…"},"QueueFlag":{"type":"string","description":"Specifies whether to use Message Service (MNS) queues to receive receipts. Valid values: Y: indicates that MNS queues are used to receive…"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-cams/update-audit-request":{"post":{"operationId":"cloud_aliyun_cams_update_audit_request","summary":"Updates a Viber application form","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["RequestNo","CustSpaceId","AuditRecord"],"properties":{"endpoint":{"type":"string","enum":["https://cams.ap-southeast-1.aliyuncs.com"],"default":"https://cams.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://cams.ap-southeast-1.aliyuncs.com"},"RequestNo":{"type":"string","description":"The request number to update"},"CustSpaceId":{"type":"string","description":"The space ID or instance ID of the ISV sub-customer. This is the channel ID. You can view it on the Channel Management…"},"AuditResult":{"type":"string","description":"The audit result"},"AuditRecord":{"type":"string","description":"The Viber audit items (JSON-encoded)"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-cams/update-chat-flow":{"post":{"operationId":"cloud_aliyun_cams_update_chat_flow","summary":"Updates the basic information of a flow based on the flow code","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"endpoint":{"type":"string","enum":["https://cams.ap-southeast-1.aliyuncs.com"],"default":"https://cams.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://cams.ap-southeast-1.aliyuncs.com"},"Title":{"type":"string","description":"The updated flow name"},"Remark":{"type":"string","description":"The updated flow remark"},"FlowCode":{"type":"string","description":"The flow code. View the flow code in the Flow Builder (https://chatapp.console.aliyun.com/ChatFlowBuilder)"},"BizCode":{"type":"string","description":"The business tenant code. Default value: ALICOM_OPAAS"},"BizExtend":{"type":"string","description":"The business extension information. Default value: an empty collection (JSON-encoded)"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-cams/update-chat-flow-log-setting":{"post":{"operationId":"cloud_aliyun_cams_update_chat_flow_log_setting","summary":"Updates the flow log settings","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"endpoint":{"type":"string","enum":["https://cams.ap-southeast-1.aliyuncs.com"],"default":"https://cams.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://cams.ap-southeast-1.aliyuncs.com"},"FlowCode":{"type":"string","description":"The flow code. You can view the flow code in the Flow Builder (https://chatapp.console.aliyun.com/ChatFlowBuilder)"},"Id":{"type":"integer","description":"The unique ID of the setting. You can obtain this ID by calling the https://help.aliyun.com/document_detail/2937212.html operation"},"Status":{"type":"string","description":"The log enabling status. Valid values: ENABLED: Enables log writing. DISABLED: Disables log writing but retains the Simple Log Service log…"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-cams/update-chat-group":{"post":{"operationId":"cloud_aliyun_cams_update_chat_group","summary":"Modifies the information of an IM group","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["BusinessNumber","CustSpaceId","GroupId"],"properties":{"endpoint":{"type":"string","enum":["https://cams.ap-southeast-1.aliyuncs.com"],"default":"https://cams.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://cams.ap-southeast-1.aliyuncs.com"},"BusinessNumber":{"type":"string","description":"The business phone number. You can view the business phone number by calling the https://help.aliyun.com/document_detail/2932629.html…"},"ChannelType":{"type":"string","description":"The channel type. Valid values: WHATSAPP. Only the WhatsApp channel type is supported"},"CustSpaceId":{"type":"string","description":"The space ID of the ISV sub-customer, which is also the instance ID. This is the channel ID, which can be viewed on the Channel Management…"},"GroupId":{"type":"string","description":"The group ID. You can view the group ID by calling the https://help.aliyun.com/document_detail/2932629.html operation"},"Description":{"type":"string","description":"The group description"},"Subject":{"type":"string","description":"The group subject"},"ProfilePictureFile":{"type":"string","description":"The group profile picture. Image restrictions: Supported MIME type: image/jpeg Maximum image size: 5 MB The image must be square with a…"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-cams/update-commerce-setting":{"post":{"operationId":"cloud_aliyun_cams_update_commerce_setting","summary":"Updates the commerce settings for a phone number","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["CustSpaceId","PhoneNumber","CartEnable","CatalogVisible"],"properties":{"endpoint":{"type":"string","enum":["https://cams.ap-southeast-1.aliyuncs.com"],"default":"https://cams.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://cams.ap-southeast-1.aliyuncs.com"},"CustSpaceId":{"type":"string","description":"The Space ID of the Independent Software Vendor (ISV) sub-customer"},"PhoneNumber":{"type":"string","description":"The phone number"},"CartEnable":{"type":"string","description":"Specifies whether to enable the shopping cart. Valid values: true: Enable the shopping cart. false: Disable the shopping cart"},"CatalogVisible":{"type":"string","description":"Specifies whether to enable the product catalog. Valid values: true: Enable the product catalog. false: Disable the product catalog"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-cams/update-contact-by-id":{"post":{"operationId":"cloud_aliyun_cams_update_contact_by_id","summary":"Modifies a contact","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["ContactId","ContactName","ContactDetails","Country"],"properties":{"endpoint":{"type":"string","enum":["https://cams.ap-southeast-1.aliyuncs.com"],"default":"https://cams.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://cams.ap-southeast-1.aliyuncs.com"},"ContactId":{"type":"string","description":"The ID of the contact"},"ContactName":{"type":"string","description":"The name of the contact"},"ContactDetails":{"type":"string","description":"The description of the contact"},"Country":{"type":"string","description":"The country code"},"Email":{"type":"string","description":"The email address"},"BizCode":{"type":"string","description":"The business code"},"BizExtend":{"type":"string","description":"The business extension information. Default value: an empty collection (JSON-encoded)"},"Remark":{"type":"string","description":"The remarks"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-cams/update-conversational-automation":{"post":{"operationId":"cloud_aliyun_cams_update_conversational_automation","summary":"Modifies the welcome message, conversation starters, and commands for a phone number","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["PhoneNumber","CustSpaceId"],"properties":{"endpoint":{"type":"string","enum":["https://cams.ap-southeast-1.aliyuncs.com"],"default":"https://cams.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://cams.ap-southeast-1.aliyuncs.com"},"EnableWelcomeMessage":{"type":"string","description":"Specifies whether to enable the welcome message"},"PhoneNumber":{"type":"string","description":"The business phone number"},"Commands":{"type":"string","description":"The list of commands (JSON-encoded)"},"Prompts":{"type":"string","description":"The list of conversation starters (JSON-encoded)"},"CustSpaceId":{"type":"string","description":"The space ID of the ISV sub-customer or the instance ID of the direct customer"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-cams/update-flow-jsonasset":{"post":{"operationId":"cloud_aliyun_cams_update_flow_jsonasset","summary":"Updates the content of a flow by using JSON","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["FlowId","FilePath"],"properties":{"endpoint":{"type":"string","enum":["https://cams.ap-southeast-1.aliyuncs.com"],"default":"https://cams.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://cams.ap-southeast-1.aliyuncs.com"},"FlowId":{"type":"string","description":"The flow ID"},"FilePath":{"type":"string","description":"The file path"},"CustSpaceId":{"type":"string","description":"The space ID of the ISV sub-customer"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-cams/update-flow-version":{"post":{"operationId":"cloud_aliyun_cams_update_flow_version","summary":"Updates the DSL data of a flow version, used for updating the flow version on the canvas","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"endpoint":{"type":"string","enum":["https://cams.ap-southeast-1.aliyuncs.com"],"default":"https://cams.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://cams.ap-southeast-1.aliyuncs.com"},"FlowCode":{"type":"string","description":"The flow code. You can view the flow code on the flow editor (https://chatapp.console.aliyun.com/ChatFlowBuilder) page"},"FlowVersion":{"type":"string","description":"The flow version. You can click a flow name on the flow editor (https://chatapp.console.aliyun.com/ChatFlowBuilder) page to go to the flow…"},"FlowViewModel":{"type":"string","description":"The DSL data of the flow version. This is a JSON-formatted data string. You can orchestrate flow components on the flow editor canvas in…"},"Remark":{"type":"string","description":"The version remarks"},"BizCode":{"type":"string","description":"The business tenant code. Default value: ALICOM_OPAAS"},"BizExtend":{"type":"string","description":"The business extension information. Default value: an empty collection (JSON-encoded)"},"Type":{"type":"string","description":"The save type"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-cams/update-group-name":{"post":{"operationId":"cloud_aliyun_cams_update_group_name","summary":"Renames a group","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["GroupId","GroupName"],"properties":{"endpoint":{"type":"string","enum":["https://cams.ap-southeast-1.aliyuncs.com"],"default":"https://cams.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://cams.ap-southeast-1.aliyuncs.com"},"GroupId":{"type":"string","description":"The group ID"},"GroupName":{"type":"string","description":"The group name"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-cams/update-instance":{"post":{"operationId":"cloud_aliyun_cams_update_instance","summary":"Updates the specified instance","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["InstanceId","InstanceName"],"properties":{"endpoint":{"type":"string","enum":["https://cams.ap-southeast-1.aliyuncs.com"],"default":"https://cams.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://cams.ap-southeast-1.aliyuncs.com"},"InstanceId":{"type":"string","description":"The ID of the instance"},"InstanceName":{"type":"string","description":"The name of the instance"},"InstanceDescription":{"type":"string","description":"The description of the instance"},"OfficeAddress":{"type":"string","description":"The company address"},"ContactMail":{"type":"string","description":"The contact email address"},"CountryId":{"type":"string","description":"The country code. For a list of country codes, see https://help.aliyun.com/document_detail/608210.html"},"FacebookBmId":{"type":"string","description":"The Facebook Business Manager ID"},"IsvTerms":{"type":"string","description":"The URL of the Independent Software Vendor (ISV) agreement file"},"IsConfirmAudit":{"type":"string","description":"Specifies whether to enable automatic audit confirmation"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-cams/update-marketing-flow":{"post":{"operationId":"cloud_aliyun_cams_update_marketing_flow","summary":"Modifies the information of a marketing campaign","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["ExecutionType"],"properties":{"endpoint":{"type":"string","enum":["https://cams.ap-southeast-1.aliyuncs.com"],"default":"https://cams.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://cams.ap-southeast-1.aliyuncs.com"},"ActivityCode":{"type":"string","description":"The code of the campaign to modify"},"ActivityId":{"type":"string","description":"The ID of the campaign to modify"},"ActivityName":{"type":"string","description":"The name of the campaign"},"StartDate":{"type":"string","description":"The start time in the YYYY-MM-DD HH:mm:ss format"},"ActivityDesc":{"type":"string","description":"The description of the campaign"},"EndDate":{"type":"string","description":"The end time in the YYYY-MM-DD HH:mm:ss format"},"ExecutionType":{"type":"string","description":"The execution method. Set this parameter to 1 (cron)"},"CronExpression":{"type":"string","description":"The cron expression for periodic scheduling"},"RelatedGroupId":{"type":"integer","description":"The ID of the associated group"},"RelatedFlowCode":{"type":"string","description":"The code of the associated flow"},"RelatedFlowName":{"type":"string","description":"The name of the associated flow"},"ParamFlag":{"type":"string","description":"Specifies whether to pass custom parameters"},"Params":{"type":"string","description":"The custom parameters to pass (JSON-encoded)"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-cams/update-phone-encryption-public-key":{"post":{"operationId":"cloud_aliyun_cams_update_phone_encryption_public_key","summary":"Updates the encryption public key of a phone number","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["PhoneNumber","EncryptionPublicKey"],"properties":{"endpoint":{"type":"string","enum":["https://cams.ap-southeast-1.aliyuncs.com"],"default":"https://cams.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://cams.ap-southeast-1.aliyuncs.com"},"PhoneNumber":{"type":"string","description":"The phone number. You can view the phone number on the Channel Management (https://chatapp.console.aliyun.com/ChannelsManagement) Channel…"},"EncryptionPublicKey":{"type":"string","description":"The public key"},"CustSpaceId":{"type":"string","description":"The space ID of the ISV sub-customer or the instance ID of the direct customer. You can view the Space ID on the Channel Management…"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-cams/update-phone-message-qrdl":{"post":{"operationId":"cloud_aliyun_cams_update_phone_message_qrdl","summary":"Modifies a message QR code","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["PhoneNumber","GenerateQrImage","PrefilledMessage","QrdlCode"],"properties":{"endpoint":{"type":"string","enum":["https://cams.ap-southeast-1.aliyuncs.com"],"default":"https://cams.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://cams.ap-southeast-1.aliyuncs.com"},"PhoneNumber":{"type":"string","description":"The phone number. You can view the phone number on the Channel Management (https://chatapp.console.aliyun.com/ChannelsManagement) Channel…"},"GenerateQrImage":{"type":"string","description":"The type of the generated image. Valid values: PNG SVG"},"PrefilledMessage":{"type":"string","description":"The message content"},"QrdlCode":{"type":"string","description":"The QR code encoding. This is the QrdlCode returned when you called the https://help.aliyun.com/document_detail/2638749.html operation"},"CustSpaceId":{"type":"string","description":"The space ID of the ISV sub-customer or the instance ID of the direct customer. You can view the Space ID on the Channel Management…"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-cams/update-phone-webhook":{"post":{"operationId":"cloud_aliyun_cams_update_phone_webhook","summary":"Modifies the callback URL information for a phone number","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["CustSpaceId","PhoneNumber"],"properties":{"endpoint":{"type":"string","enum":["https://cams.ap-southeast-1.aliyuncs.com"],"default":"https://cams.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://cams.ap-southeast-1.aliyuncs.com"},"CustSpaceId":{"type":"string","description":"The SpaceId of the ISV sub-customer"},"HttpFlag":{"type":"string","description":"Specifies whether to use HTTP to receive receipts. Valid values: Y: Yes. N: No"},"QueueFlag":{"type":"string","description":"Specifies whether to use a queue to receive receipts. Valid values: Y: Yes. N: No"},"PhoneNumber":{"type":"string","description":"The phone number"},"StatusCallbackUrl":{"type":"string","description":"The callback URL for the HTTP-based status report"},"UpCallbackUrl":{"type":"string","description":"The callback URL for the HTTP-based upstream message"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-cams/update-waba-mml-status":{"post":{"operationId":"cloud_aliyun_cams_update_waba_mml_status","summary":"Updates the MML status of a WABA","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["WabaId","Code","CustSpaceId"],"properties":{"endpoint":{"type":"string","enum":["https://cams.ap-southeast-1.aliyuncs.com"],"default":"https://cams.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://cams.ap-southeast-1.aliyuncs.com"},"WabaId":{"type":"string","description":"waba Id"},"Code":{"type":"string","description":"The Meta embedded authorization code"},"CustSpaceId":{"type":"string","description":"The space ID or instance ID of the ISV sub-customer, which is the channel ID. You can view it on the Channel Management…"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-cams/update-whatsapp-user-name":{"post":{"operationId":"cloud_aliyun_cams_update_whatsapp_user_name","summary":"Updates the WhatsApp username for a business phone number","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["CustSpaceId","PhoneNumber","Username"],"properties":{"endpoint":{"type":"string","enum":["https://cams.ap-southeast-1.aliyuncs.com"],"default":"https://cams.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://cams.ap-southeast-1.aliyuncs.com"},"CustSpaceId":{"type":"string","description":"The space ID of the ISV sub-customer or the instance ID of the direct customer. You can view the space ID on the Channel Management…"},"PhoneNumber":{"type":"string","description":"The business phone number"},"Username":{"type":"string","description":"Whatsapp user name"},"TransferAction":{"type":"string","description":"The transfer action that controls what happens when the requested username is currently used by another business phone number in the same…"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-cams/whatsapp-call":{"post":{"operationId":"cloud_aliyun_cams_whatsapp_call","summary":"Calls, answers, or hangs up a WhatsApp voice call. The WhatsApp voice call feature is currently in an…","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["CustSpaceId","CallAction","BusinessNumber"],"properties":{"endpoint":{"type":"string","enum":["https://cams.ap-southeast-1.aliyuncs.com"],"default":"https://cams.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://cams.ap-southeast-1.aliyuncs.com"},"CustSpaceId":{"type":"string","description":"The space ID or instance ID of the ISV sub-customer. This is the channel ID, which can be viewed on the Channel Management…"},"CallId":{"type":"string","description":"The call ID"},"CallAction":{"type":"string","description":"The call action"},"BusinessNumber":{"type":"string","description":"The business phone number"},"UserNumber":{"type":"string","description":"The user phone number"},"Session":{"type":"string","description":"The call negotiation information (JSON-encoded)"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-cams/version":{"post":{"operationId":"cloud_aliyun_cams_version","summary":"version","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"endpoint":{"type":"string","enum":["https://cams.ap-southeast-1.aliyuncs.com"],"default":"https://cams.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://cams.ap-southeast-1.aliyuncs.com"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}}},"components":{"securitySchemes":{"ApiKeyAuth":{"type":"apiKey","in":"header","name":"x-api-key"}},"schemas":{"RunEnvelope":{"type":"object","required":["project","data","timestamp"],"properties":{"project":{"type":"string","example":"dev-tools:hash"},"data":{},"timestamp":{"type":"string","format":"date-time"}}},"ErrorEnvelope":{"type":"object","properties":{"content":{},"message":{"type":"string"},"errors":{"type":"array","items":{}},"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}}}}}},"responses":{"Error":{"description":"Invalid key, plan gate, rate limit or upstream failure","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}}}