Autional Autional
API Reference GitHub autional.com →

POST /communication/callback/{provider}

Receive and process delivery status callbacks from various SMS, email, and push providers (Alibaba Cloud, Tencent Cloud, AWS SNS/SES, SendGrid, Mailgun, FCM, APNs, JPush, etc.), automatically updating the corresponding message send status. The callback is a public endpoint called directly by each provider. References: ePrivacy Directive 2002/58/EC, CAN-SPAM Act.

Communication Service None application/json

Request Parameters

NameInTypeRequiredDefaultExampleConstraintsDescription
provider path string Yes Provider name: aliyun/tencentcloud/aws/sendgrid/ses/mailgun/fcm/apns/jpush

Request Body

Accepts an empty JSON object {}

Responses

StatusDescriptionSchema
200Callback received and acknowledgeddto.CallbackResultDetailResponse
400Invalid request data formatdto.SimpleResponse
500Internal callback processing errordto.SimpleResponse

Referenced Schemas

dto.CallbackResultDetailResponse

FieldTypeRequiredExampleConstraintsDescription
code integer No
data dto.CallbackResultResponse No
message string No
timestamp string No

dto.CallbackResultResponse

Provider callback result

FieldTypeRequiredExampleConstraintsDescription
provider string No aliyun
received boolean No True

dto.SimpleResponse

FieldTypeRequiredExampleConstraintsDescription
code integer No
message string No
timestamp string No