Skip to main content
PUT
/
submissions
/
update
/
{submission_id}
Update Submission
curl --request PUT \
  --url https://api.swoogo.com/api/v1/submissions/update/{submission_id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/x-www-form-urlencoded' \
  --data date=2022-06-09 \
  --data 'name=The Mighty Yangtze River (Update)'
{
  "name": "Unauthorized",
  "message": "Your request was made with invalid credentials.",
  "code": 0,
  "status": 401
}

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}.

Path Parameters

submission_id
integer
required

integer - required - The ID of the submission you want to update

Example:

1

Body

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

"2022-06-09"

name
string
Example:

"The Mighty Yangtze River (Update)"

Response