POST
/
user
/
goals
/
{userGoalId}
/
progress
curl --request POST \
  --url https://api.icepanel.io/v1/user/goals/{userGoalId}/progress \
  --header 'Authorization: <authorization>' \
  --header 'Content-Type: application/json' \
  --data '{
  "increment": 123
}'
{
  "userGoal": {
    "completedAt": "2023-11-07T05:31:56Z",
    "createdAt": "2023-11-07T05:31:56Z",
    "id": "<string>",
    "name": "create-comment",
    "progress": 1,
    "progressData": [
      "<string>"
    ],
    "status": "incomplete",
    "steps": 2,
    "updatedAt": "2023-11-07T05:31:56Z",
    "userId": "<string>"
  }
}

Headers

Authorization
string
required

Path Parameters

userGoalId
string
required

Body

application/json
increment
number
required

Response

200
application/json
OK
userGoal
object
required