curl --request POST \
--url https://api.helpyousponsor.com/v1/admin/forms \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"name": "Donation Form",
"type": "entity",
"client_id": 1
}'
{
"message": "Successfully Created Form"
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Successfully created form
The response is of type object
.
curl --request POST \
--url https://api.helpyousponsor.com/v1/admin/forms \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"name": "Donation Form",
"type": "entity",
"client_id": 1
}'
{
"message": "Successfully Created Form"
}