Skip to main content
POST
/
events
/
field
Create Field
curl --request POST \
  --url https://api.swoogo.com/api/v1/events/field \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/x-www-form-urlencoded' \
  --data allow_html= \
  --data choices= \
  --data name= \
  --data required= \
  --data s_button_text= \
  --data s_link_collection_fields= \
  --data s_max_links= \
  --data s_url_display_format= \
  --data s_url_image_id= \
  --data sort= \
  --data type= \
  --data visible=
{
  "created_at": "2022-06-26 14:30:00",
  "updated_at": "2022-06-26 14:30:00"
}

Authorizations

Authorization
string
header
required

OAuth 2.0 bearer token obtained from POST /oauth2/token. Tokens expire after 30 minutes. Include in the Authorization header as Bearer {access_token}.

Body

application/x-www-form-urlencoded
allow_html
string
Example:

""

choices
string
Example:

""

name
string
Example:

""

required
string
Example:

""

s_button_text
string
Example:

""

Example:

""

Example:

""

s_url_display_format
string
Example:

""

s_url_image_id
string
Example:

""

sort
string
Example:

""

type
string
Example:

""

visible
string
Example:

""

Response

Create Object

created_at
string
Example:

"2022-06-26 14:30:00"

updated_at
string
Example:

"2022-06-26 14:30:00"