API Documentation

/signInUser
API operation used to authenticate a specific user to access the Low Level API Calls.
Production:
Test:
https://tippingcircle.com/rest/v1/signInUser
http://test.tippingcircle.com/rest/v1/signInUser

Request
Remember to include the OAuth values in the Authorization Header to authenticate the request.
  Param Description
email User's email address.
pinOrPswd The user's account pin or password will be checked along with a valid email for a successful sign in.
socialNetwork For a social sign in, specify the social network. Valid options: "facebook", "twitter". First call getSocialAuthUrl to initiate the social authentication process.
token The facebook access_token or twitter oauth_token returned after the user authenticates through the social network.
verifier The twitter oauth_verifier.
POST /signInUser

Header
Content-Type: 'application/json'
Authorization: OAuth realm="",
oauth_consumer_key="E4ZcTipHc3CozLB3jknSTK2et",
oauth_nonce="dn5st4g",
oauth_signature="gtj49bsnzb6lw6h73tp3g72o81",
oauth_signature_method="HMAC-SHA1",
oauth_timestamp="1366151475",
oauth_version="1.0"

Body
{
"email": "email@example.com",
"pinOrPswd": "1fake_password"
"socialNetwork": ""
"token": ""
"verifier": ""
}

Body
{
"email": "",
"pinOrPswd": ""
"socialNetwork": "facebook"
"token": "CAAB7vhSdlzQBAGw1mlCqLcsiWEUHhKlOezZB . . ."
"verifier": ""
}

Response
The success response includes the authenticated user's info with the TippingCircle access_token and access_token_secret required to generate the oauth_signature for the Low Level API Calls.
{
"success": true,
"message": "String content",
"errorCode": 0,
"systemUser": {
"Email": "email@example.com",
"FirstName": "John",
"FullName": "John Doe",
"IsPreapproved": false,
"LastName": "Doe",
"ProfilePhotoUrl": "https://profilephotourl",
"SocialConnectionId": 987654,
"UserId": 123456
},
"tokens": {
"access_token": "ht2ssnzb54dst73tp3g72we35",
"access_token_secret": "apxtfdpvdd2ty481fkc48pc6oi"
}
}