curl --request POST \
--url https://{subdomain}.nudj.cx/api/v2/admin/events/custom/link \
--header 'Content-Type: application/json' \
--header 'x-api-token: <api-key>' \
--data '
{
"eventName": "<string>",
"payload": {},
"communityId": "<string>",
"expiryTime": 3600,
"isSingleUse": true
}
'{
"url": "<string>"
}curl --request POST \
--url https://{subdomain}.nudj.cx/api/v2/admin/events/custom/link \
--header 'Content-Type: application/json' \
--header 'x-api-token: <api-key>' \
--data '
{
"eventName": "<string>",
"payload": {},
"communityId": "<string>",
"expiryTime": 3600,
"isSingleUse": true
}
'{
"url": "<string>"
}The name of the custom event
The payload of the event. An object made up of any key, value pairs you want to store with the event.
The community that the event belongs to
^[0-9a-fA-F]{24}$Amount of time (in seconds) until the link will expire
Whether the link should be able to be used by a single user (true) or multiple users (false)
Successful response
The generated event link
Was this page helpful?