Triggers
Post apiv1realms quests tasks triggers fire
Accounts
Realm-Members
Realms
Store
Currency
Raffle
Quests
Tasks
Triggers
Transitions
Conditions
- GETGet apiv1realms quests tasks conditions
- POSTPost apiv1realms quests tasks conditions
- GETGet apiv1realms quests tasks conditions 1
- DELDelete apiv1realms quests tasks conditions
- PATCHPatch apiv1realms quests tasks conditions
- POSTPost apiv1realms quests tasks conditions pre data
- POSTPost apiv1realms quests tasks conditions pre datasearch
Actions
Triggers
Post apiv1realms quests tasks triggers fire
Fire a specific trigger on a task
POST
/
api
/
v1
/
realms
/
{realmId}
/
quests
/
{questId}
/
tasks
/
{taskId}
/
triggers
/
{triggerId}
/
fire
curl --request POST \
--url https://api.drip.re/api/v1/realms/{realmId}/quests/{questId}/tasks/{taskId}/triggers/{triggerId}/fire \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"proof": "<string>",
"data": {},
"secret": "<string>"
}'
{
"data": {
"success": true,
"message": "<string>",
"newProgress": {
"id": "<string>",
"userId": "<string>",
"questId": "<string>",
"progress": null,
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
}
}
Authorizations
API Key
Path Parameters
curl --request POST \
--url https://api.drip.re/api/v1/realms/{realmId}/quests/{questId}/tasks/{taskId}/triggers/{triggerId}/fire \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"proof": "<string>",
"data": {},
"secret": "<string>"
}'
{
"data": {
"success": true,
"message": "<string>",
"newProgress": {
"id": "<string>",
"userId": "<string>",
"questId": "<string>",
"progress": null,
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
}
}