Skip to main content
POST
/
submissions
/
create
Create Submission
curl --request POST \
  --url https://api.swoogo.com/api/v1/submissions/create \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/x-www-form-urlencoded' \
  --data event_id=1 \
  --data submitter_id=1 \
  --data date= \
  --data end_time= \
  --data 'name=The Mighty Yangtze River' \
  --data start_time=
{
  "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
event_id
string
Example:

1

submitter_id
integer
Example:

1

date
string
Example:

""

end_time
string
Example:

""

name
string
Example:

"The Mighty Yangtze River"

start_time
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"