Skip to main content
GET
cURL

Understanding Queued Requests

In V2 of the Hypersender WhatsApp API, all requests are processed asynchronously through a queue system. This provides improved reliability and performance. When you make any API request (send message, send image, etc.), you’ll receive an immediate response like this:
Use this endpoint to check the actual result of your request.

Response Format

When you query a queued request, you’ll receive the full details including the original request and the response:

Response Fields

Response Body (Message Details)

The response_body contains the WhatsApp message details:

Response Status Codes

Check the response_status field to determine if the request was successful:

Example: Failed Request

If the request failed (e.g., invalid phone number), the response will look like:

Polling Strategy

We recommend polling the queued request endpoint every 1-2 seconds until you receive a response. Most requests complete within a few seconds.

Example Polling Code (JavaScript)

Example Polling Code (PHP)

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

Accept
string

application/json

Example:

"application/json"

Path Parameters

instance
string
required

Instance UUID copied from hypersender dashboard

Example:

"{{ instance_id }}"

queued_request_uuid
string
required

The UUID of the queued request returned from any API call

Example:

"a0816120-7e37-4e8b-8cf3-92deb2cdc133"

Response

Queued request details

Response when checking the status of a queued request

uuid
string
required

UUID of the queued request

Example:

"a0816120-7e37-4e8b-8cf3-92deb2cdc133"

request
object
required

The original request details

response_status
integer | null

HTTP status code of the processed request. Null while the request is still being processed.

Example:

200

response_body
object | null

The actual API response body once the request is processed. Contains the message details when completed, or error details when failed. Null while processing.

response_header
object | null

The response headers from the processed request. Null while processing.