Get pending activation info
Returns minimal user info for pending account activations. Requires the activation token from the email link. Only returns data for users who have not yet verified their email. Returns 404 for invalid token, user not found, or already activated.
This is a public endpoint (no authentication required) but is protected by requiring a valid token that was sent to the user's email address.
Path Parameters
- Type: stringFormat: uuididrequired
User ID from activation email link
Query Parameters
- Type: stringtokenrequired
Activation token from email link
Responses
- application/json
- application/json
- application/json
Request Example for get/users/{id}/pending-activation
curl 'https://api.gpcn.com/v1/users/123e4567-e89b-12d3-a456-426614174000/pending-activation?token='
{
"success": true,
"message": "",
"data": {
"firstName": "John",
"lastName": "Doe"
},
"meta": null
}.png)