Validate Join

General Information


ServiceAPIMethod
urac/join/validateGET


Data Models: UsersTokens

workflow: Validate Join Flow


Input


Type: application/json
NameSourceMandatoryTypeSpecial FormatDescription
tokenQueryYESStringN/AGenerated by Urac and email to user after registration is completed.


Output


Valid Response

Valid Response Sample
{
	"result": true,
	"data": true
}


Invalid Response

Error Response Sample
{
    "result":false,
    "errors":{
        "codes":[406],
        "details":[
            {
                "code":406,
                "message":"Invalid or token has expired."
            }
        ]
    }
}



Error Codes



Code
Description
406Invalid or token has expired.
407Problem validating Request. Please try again.


Example (CURL)


Request

Calling Validate API
 > CURL -X GET http://127.0.0.1:4000/urac/join/validate?token=abcdef

Response

Validate API response
{
	"result": true,
	"data": true
}