Synchronizes business app historical records.
Operation description
-
Before calling this operation, configure the webhooks for messages and receipts by using UpdatePhoneWebhook and UpdateAccountWebhook. Otherwise, the webhook address cannot be found during historical message synchronization, which causes the synchronization to fail.
-
This operation takes effect only once. After the first call, subsequent calls do not trigger historical message pushes.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
cams: |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| CustSpaceId |
string |
Yes |
The space ID of the ISV sub-customer. |
cams-x*** |
| PhoneNumber |
string |
Yes |
The phone number of the business. |
8613800** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| AccessDeniedDetail |
string |
The details about the access denial. |
None |
| Message |
string |
The error message. |
example |
| RequestId |
string |
The request ID. |
example |
| Code |
string |
The request status code. Valid values:
|
example |
| Success |
boolean |
Indicates whether the call was successful. Valid values:
|
true |
Examples
Success response
JSON format
{
"AccessDeniedDetail": "None",
"Message": "example",
"RequestId": "example",
"Code": "example",
"Success": true
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.