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>"
}Creates a link to the Nudj platform. When a user follows the link and registers/signs in, they will have the event logged on their behalf.
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>"
}Documentation Index
Fetch the complete documentation index at: https://docs.nudj.cx/llms.txt
Use this file to discover all available pages before exploring further.
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?