This API provides a webhook for managing user subscriptions. It allows creating or upgrading user subscriptions based on phone number and subscription duration.
POST https://auto.dev.tv24.vn/webhook/098ad862-0ce0-4f01-8302-40880b476ddb
Use the Authorization header with your API token:
Authorization: <tokenapi>
0987654321)3)0963999252.
curl -X POST "https://auto.dev.tv24.vn/webhook/098ad862-0ce0-4f01-8302-40880b476ddb" \
-H "Authorization: <tokenapi>" \
-H "phone: 0987654321" \
-H "month: 3" \
-H "subname: premium or premium_plus"
Use the Swagger UI on the left to test the API:
POST endpoint.Authorization token, phone, and month in the headers section.