POST
/
admin
/
form
/
field
/
{id}
/
{type}
curl --request POST \
  --url https://api.helpyousponsor.com/v1/admin/form/field/{id}/{type} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "client_id": "<string>",
  "field_label": "<string>",
  "field_data": "<string>",
  "field_type": "hysText",
  "permissions": "public",
  "hysform_id": 123,
  "type": "entity"
}'
{
  "message": "<string>"
}

Authorizations

Authorization
string
header
required

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

Path Parameters

id
integer
required

ID of the form

type
string
required

Type of the form (entity, donor, submit)

Example:

"entity"

Body

application/json
Field data
client_id
string
field_label
string
field_data
string
field_type
string
Example:

"hysText"

permissions
string
Example:

"public"

hysform_id
integer
type
string
Example:

"entity"

Response

200
application/json
Successful operation
message
string