Handles saving or updating a template with provided CSS,
curl --request POST \
--url https://api.helpyousponsor.com/v1/admin/template \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"client_id": "<string>",
"css": "<string>",
"js": "<string>",
"html": "<string>"
}'
{
"message": "Successfully"
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Data required for creating or updating a template
The body is of type object
.
Template saved or updated successfully
The response is of type object
.
curl --request POST \
--url https://api.helpyousponsor.com/v1/admin/template \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"client_id": "<string>",
"css": "<string>",
"js": "<string>",
"html": "<string>"
}'
{
"message": "Successfully"
}