POST
/
api
/
v1
/
realms
/
{realmId}
/
quests
/
{questId}
/
tasks
/
{taskId}
/
members
/
{userId}
/
submit
curl --request POST \
  --url https://api.drip.re/api/v1/realms/{realmId}/quests/{questId}/tasks/{taskId}/members/{userId}/submit \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "conditionData": {}
}'
{
  "data": {
    "success": true,
    "newProgress": {
      "id": "<string>",
      "userId": "<string>",
      "questId": "<string>",
      "progress": null,
      "createdAt": "2023-11-07T05:31:56Z",
      "updatedAt": "2023-11-07T05:31:56Z"
    }
  }
}

Authorizations

Authorization
string
header
required

API Key

Path Parameters

realmId
string
required
userId
string
required

Body

application/json
conditionData
object

Response

200
application/json
Response when the task is successfully submitted and completed.

Response when the task is successfully submitted and completed.

data
object