POST tp/otp/verify

Verifies an otp (one time password) delivered to a user by the indoona platform.
Typically this is used when the user connection is managed from within an indoona client (mobile or web).
Returns the id of the indoona user who obtained the otp; an HTTP error code otherwise.

N.B: this API must be invoked using the application-level token (client credentials).

Resource URL

https://api.indoona.com/tp/otp/verify.json

Parameters

name description
otp the one time password to be verified

Example

	
POST https://api.indoona.com/tp/otp/verify.json
Content-Type=application/x-www-form-urlencoded

otp = 12376532

Response
{
	“user_id”: “ksd3847jkefkh3dsds9”
}