HTTP batch push pattern

Updated at:

This topic describes how HTTP requests are processed.

Response description

Response example

{
 "code": 0,
 "msg": "Accepted successfully"
}

Field description

Name

Type

Required

Example value

Description

code

Number

Yes

0

The response code.

msg

String

No

Accepted successfully

The description.

Note
  • The system validates that the returned `code` is a number but does not validate its content. A request is considered successful if the HTTP status code is 200. If the status code is not 200 or the response times out, the system retries the push.

  • Return an HTTP 50X response code if a system error or consumption failure occurs.

Push retries

After an initial push fails, the system retries at intervals of 1 minute, 5 minutes, and 10 minutes. If the push still fails after three retries, no more attempts are made.

Related topics

The data structures for callback messages depend on the Voice Service feature: