GetStatus
Obtain the delivery status of sent transactional emails. Query the status of email delivery or the error message returned for transactional emails sent using the send_email
API, through the returned unique identifier transaction_uuid
.
POST /api/v3/transactional_email/get_status
Request parameters
For more information about query parameters, see Query parameters.
Attribute | Data Type | Note | Description |
---|---|---|---|
transaction_uuid | string | required | transaction_uuid returned from sent emails |
Request Example
curl --request POST "https://openapi.smartlink.intlgame.com/api/v3/transactional_email/get_status?gameid=${GAME_ID}&seq=${YOUR_RANDOM_STRING}&sig=${SIGNATURE}&ts=${TS}" \
--header 'Content-Type: application/json' \
--data-raw '{
"transaction_uuid": "6bc92519-5777-43a1-b5bb-6a6a7e24b25b"
}'
Response parameters
Attribute | Data type | Description |
---|---|---|
code | int | Return code |
msg | string | Return message |
data | data | Response message |
data
Attribute | Data type | Description |
---|---|---|
status | int | Status 1: Sending 2: Sending completed 3: Sending failed |
error_msg | string | Error message - email reject - email bounce - email complaint - other exception |
Response example
{
"code": 0,
"msg": "Success",
"data": {
"status": 2,
"error_msg": ""
},
"seq": "{YOUR_RANDOM_STRING}"
}