POST
/
api
/
applications
/
regenerate-link
Regenerate Link
curl --request POST \
  --url https://monitoring.safeturf.ai/api/applications/regenerate-link \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "token": "<string>"
}
'
Called from the error page when a user’s magic-link has expired. Extends the token expiry by 30 days and re-sends the invite email. No authentication required — the token itself identifies the application.
token
string
required
The expired magic-link token from the URL.
curl -X POST "https://monitoring.safeturf.ai/api/applications/regenerate-link" \
  -H "Content-Type: application/json" \
  -d '{"token": "Xk9mP2qRvNzL..."}'
{
  "message": "A new link has been sent to your email."
}
StatusMeaning
200Token extended, email sent
404Token not found
409Application already submitted