Obtaining a User Token (Client Owned Registration, Pre-verified Member)
In the scenario where the client is pre-verifying the user, CrowdTwist does not have access to the password. In this case it is possible to make a server to server call to acquire the token. The client’s server can then pass the token to the end user’s device to make subsequent direct calls to CrowdTwist.
Method: POST
Endpoint: https://[url_of_program]/http/v2/client-user-auth-sign-in?api_sig=[api signature]
Content Type: application/x-www-form-urlencoded
Request Fields:
- username or email_address – Request requires one, and only one, of these fields to be successful.
Sample Request Body:
{ "email_address":"alicetwist1@test.com", "redirect":"google.com", "verified":1 }
{ "email_address":"alicetwist1@test.com", "redirect":"google.com", "verified":1 }
For directions on how to generate an API signature, please click here.