POST
/
admin
/
template
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"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
Data required for creating or updating a template
client_id
string
required
css
string
required
js
string
required
html
string
required

Response

200 - application/json
Template saved or updated successfully
message
string
Example:

"Successfully"