Sign up for drop notification with auto-detected upcoming slot
POST
/api/drop-notification/signupAuthorization
AuthorizationBearer token (API Key) · headerrequiredAPI Key for programmatic access (format: insy_xxxxx)
Request body
requiredapplication/jsoncommunityIdstring<uuid>requiredThe community ID for the drop notification
emailstring<email>requiredEmail address for drop notification
phoneNumberstringPhone number for SMS notification
Responses
200Successful response
successbooleanrequiredWhether the request was successful
errorCodestringrequiredThe error code returned by the request
Allowed:
not_foundbad_requestalready_existsunauthorizedforbiddeninternal_server_errorservice_unavailabletimeoutconflictprecondition_failedunprocessable_entitymessagestringrequiredThe message returned by the request
dataDropNotificationSignupResultObjectShow propertiesHide properties
signedUpbooleanrequiredWhether the signup was successful
hasExistingAccountbooleanWhether the provided email is already connected to a user account (only in public endpoint)
dropSlotInfoobjectInformation about the nearest/upcoming drop slot
Show propertiesHide properties
idstringrequiredDrop slot ID
slotsobject | nullrequiredTotal number of slots (null if unlimited)
slotsUsednumberrequiredNumber of slots already used
availableSlotsobject | nullrequiredAvailable slots (null if unlimited)
startsAtstringrequiredWhen the drop slot starts (ISO string)
endsAtobject | nullrequiredWhen the drop slot ends (ISO string, null if no end date)
isCurrentlyActivebooleanrequiredWhether the drop is currently active (started and not ended)
dropNotificationobject | nullrequiredDrop notification
userHasNotificationbooleanWhether the user has a notification for this drop slot
401Invalid, expired, or revoked API key
403Insufficient API key permissions
Try it
Server
Authorization
Bodyapplication/json
Request
curl -X POST "https://api.insy.io/api/drop-notification/signup" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"communityId": "b3a7bb5e-2860-4aca-803b-cc380a8c5ca0",
"email": "user@example.com",
"phoneNumber": "+48123456789"
}'const response = await fetch("https://api.insy.io/api/drop-notification/signup", {
method: "POST",
headers: {
"Authorization": "Bearer YOUR_TOKEN",
"Content-Type": "application/json"
},
body: JSON.stringify({
"communityId": "b3a7bb5e-2860-4aca-803b-cc380a8c5ca0",
"email": "user@example.com",
"phoneNumber": "+48123456789"
})
});import requests
response = requests.post(
"https://api.insy.io/api/drop-notification/signup",
headers={
"Authorization": "Bearer YOUR_TOKEN",
"Content-Type": "application/json"
},
json={
"communityId": "b3a7bb5e-2860-4aca-803b-cc380a8c5ca0",
"email": "user@example.com",
"phoneNumber": "+48123456789"
},
)Response
{
"success": true,
"errorCode": "not_found",
"message": "Success",
"data": {
"signedUp": true,
"hasExistingAccount": true,
"dropSlotInfo": {
"id": "string",
"slots": {},
"slotsUsed": 0,
"availableSlots": {},
"startsAt": "string",
"endsAt": {},
"isCurrentlyActive": true,
"dropNotification": {},
"userHasNotification": true
}
}
}Invalid, expired, or revoked API key
Insufficient API key permissions