GET login/sign ins/:id
From Social ID Developers
(Difference between revisions)
(2 intermediate revisions by one user not shown) | |||
Line 1: | Line 1: | ||
− | + | == Description == | |
+ | |||
+ | Returns sign in information. Every time an user logs in Social Login, a new sign in is created for him. | ||
+ | |||
+ | == Resource URL == | ||
+ | |||
+ | GET https://api.socialidnow.com/v1/marketing/login/sign_ins/:id | ||
+ | |||
+ | == Parameters == | ||
+ | |||
+ | === URL Parameters === | ||
+ | |||
+ | {| | ||
+ | ! align="left" width="200px" | id | ||
+ | | width="200px" | required | ||
+ | | sign in identifier. | ||
+ | |} | ||
+ | |||
+ | == Authentication == | ||
+ | |||
+ | This API requires Account authentication. See [[Authentication]]. | ||
+ | |||
+ | == Response == | ||
+ | |||
+ | === Response Body === | ||
+ | |||
+ | {| | ||
+ | ! align="left" width="200px" | connection | ||
+ | | user active connection url. | ||
+ | |- | ||
+ | ! align="left" width="200px" | connection_id | ||
+ | | user active connection id. | ||
+ | |- | ||
+ | ! align="left" width="200px" | login_token | ||
+ | | a token to identify the login. See [[Social Login Tokens]] for more details. | ||
+ | |- | ||
+ | ! align="left" width="200px" | user_id | ||
+ | | user identifier. | ||
+ | |} | ||
+ | |||
+ | == Examples == | ||
+ | |||
+ | === Request === | ||
+ | |||
+ | curl -X GET 'https://api.socialidnow.com/v1/marketing/login/sign_ins/:id' \ | ||
+ | --user <api_id>:<api_secret> | ||
+ | |||
+ | === Response === | ||
+ | |||
+ | ==== Response Body ==== | ||
+ | |||
+ | { | ||
+ | "connection":"https://api.socialidnow.com/v1/marketing/login/connections/a4b4cee9c05774d8b6e2427818f8e7866363eff0ea6c69edec8ac32dd0b71452", | ||
+ | "connection_id":"a4b4cee9c05774d8b6e2427818f8e7866363eff0ea6c69edec8ac32dd0b71452", | ||
+ | "login_token":"184cbcf30260b81d061e1f3903bf372089b48c7f5c1fd90649e14b6f17ed6a56", | ||
+ | "user_id":340 | ||
+ | } |
Latest revision as of 16:40, 30 December 2021
Contents |
Description
Returns sign in information. Every time an user logs in Social Login, a new sign in is created for him.
Resource URL
GET https://api.socialidnow.com/v1/marketing/login/sign_ins/:id
Parameters
URL Parameters
id | required | sign in identifier. |
---|
Authentication
This API requires Account authentication. See Authentication.
Response
Response Body
connection | user active connection url. |
---|---|
connection_id | user active connection id. |
login_token | a token to identify the login. See Social Login Tokens for more details. |
user_id | user identifier. |
Examples
Request
curl -X GET 'https://api.socialidnow.com/v1/marketing/login/sign_ins/:id' \ --user <api_id>:<api_secret>
Response
Response Body
{ "connection":"https://api.socialidnow.com/v1/marketing/login/connections/a4b4cee9c05774d8b6e2427818f8e7866363eff0ea6c69edec8ac32dd0b71452", "connection_id":"a4b4cee9c05774d8b6e2427818f8e7866363eff0ea6c69edec8ac32dd0b71452", "login_token":"184cbcf30260b81d061e1f3903bf372089b48c7f5c1fd90649e14b6f17ed6a56", "user_id":340 }