curl --request POST \
--url https://api.drip.re/api/v4/quests/realms/{id}/quests \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"user_id": 123,
"user_name": "<string>",
"user_icon": "<string>",
"guild_id": 123,
"channel_id": 123,
"type": "<string>",
"total_amount": 123,
"claim_amount": 123,
"claim_interval": 0,
"expires_at": 123,
"role_reward": "<string>",
"required_role": "<string>",
"thread_id": 123,
"requirements": [
{
"conditions": [
{
"has_fulfilled": [
123
],
"req_text": "<string>",
"type": "<string>",
"value": "<any>"
}
],
"link": "<string>",
"type": "<string>"
}
],
"custom_data": {},
"customization": {},
"note": {}
}'
{
"id": "<string>",
"message": "<string>"
}
curl --request POST \
--url https://api.drip.re/api/v4/quests/realms/{id}/quests \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"user_id": 123,
"user_name": "<string>",
"user_icon": "<string>",
"guild_id": 123,
"channel_id": 123,
"type": "<string>",
"total_amount": 123,
"claim_amount": 123,
"claim_interval": 0,
"expires_at": 123,
"role_reward": "<string>",
"required_role": "<string>",
"thread_id": 123,
"requirements": [
{
"conditions": [
{
"has_fulfilled": [
123
],
"req_text": "<string>",
"type": "<string>",
"value": "<any>"
}
],
"link": "<string>",
"type": "<string>"
}
],
"custom_data": {},
"customization": {},
"note": {}
}'
{
"id": "<string>",
"message": "<string>"
}
API Key
Quest created successfully
The response is of type object
.