Skip to main content
POST
/
cfs-reviews
/
create
Create Review
curl --request POST \
  --url https://api.swoogo.com/api/v1/cfs-reviews/create \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/x-www-form-urlencoded' \
  --data event_id=1 \
  --data 'notes=A simple review' \
  --data rating=4.5 \
  --data reviewer_id=3 \
  --data submission_id=2
{
  "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"

notes
string
Example:

"A simple review"

rating
string
Example:

"4.5"

reviewer_id
string
Example:

"3"

submission_id
string
Example:

"2"

Response

Create Object

created_at
string
Example:

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

updated_at
string
Example:

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