DistributorMails
Create request mail
Creates a new music request mail entry. Requires authentication.
Authorization
BearerAuth Authorization<token>
Type "Bearer" followed by a space and JWT token.
In: header
Request Body
application/json
Request mail payload
category*string
message*string
Response Body
application/json
application/json
application/json
application/json
curl -X POST "https://loading/api/mails" \ -H "Content-Type: application/json" \ -d '{ "category": "general", "message": "Please add more jazz." }'{
"category": "string",
"id": 0,
"message": "string",
"status": 0,
"user_id": "string"
}{
"error": "Validation failed"
}{
"error": "Validation failed"
}{
"error": "Validation failed"
}