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

Authorizations

Authorization
string
header
required

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

Body

application/json
name
string

The name of the form

Example:

"Donation Form"

type
string

The type of the form

Example:

"entity"

client_id
string

The id of the client

Example:

1

Response

200
application/json
Successfully created form
message
string
Example:

"Successfully Created Form"