POST login/apps/:app id/connections/email
From Social ID Developers
(Difference between revisions)
(moved POST login/apps/:app id/connections/email to POST login/apps/:app id/connections/email PT-BR) |
|||
(4 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | + | <span style="color: red; font-weight: bold">Deprecation notice:</span> this API is deprecated since July 19, 2018. | |
+ | |||
+ | == Description == | ||
+ | |||
+ | Creates a connection given an e-mail. | ||
+ | |||
+ | Use this API to give users an extra login mecanism. With this API you can keep on using all Social Login APIs and plugins and populating your Database with new users even though they are not logged in the platform with their social networks. | ||
+ | |||
+ | == Resource URL == | ||
+ | |||
+ | POST https://api.socialidnow.com/v1/marketing/login/apps/:app_id/connections/email | ||
+ | |||
+ | == Parameters == | ||
+ | |||
+ | === URL Parameters === | ||
+ | |||
+ | {| | ||
+ | ! align="left" width="200px" | app_id | ||
+ | | width="200px" | required | ||
+ | | Login App identifier. | ||
+ | |} | ||
+ | |||
+ | === JSON Parameters === | ||
+ | |||
+ | {| | ||
+ | ! align="left" width="200px" | email | ||
+ | | width="200px" | required | ||
+ | | user e-mail. | ||
+ | |} | ||
+ | |||
+ | == Authentication == | ||
+ | |||
+ | This API requires Account authentication. See [[Authentication]]. | ||
+ | |||
+ | == Examples == | ||
+ | |||
+ | === Request === | ||
+ | |||
+ | curl -iX POST 'https://api.socialidnow.com/v1/marketing/login/apps/:app_id/connections/email' \ | ||
+ | -d '{"email":"today@nasa.gov"}' \ | ||
+ | -H 'Content-type:application/json' \ | ||
+ | --user <api_id>:<api_secret> | ||
+ | |||
+ | === Response === | ||
+ | |||
+ | ==== Response Headers ==== | ||
+ | |||
+ | HTTP/1.1 201 Created | ||
+ | Location: https://api.socialidnow.com/v1/marketing/login/connections/692ae3970e22fcb065c46f2ed1dd... | ||
+ | Status: 201 |
Latest revision as of 16:54, 30 December 2021
Deprecation notice: this API is deprecated since July 19, 2018.
Contents |
Description
Creates a connection given an e-mail.
Use this API to give users an extra login mecanism. With this API you can keep on using all Social Login APIs and plugins and populating your Database with new users even though they are not logged in the platform with their social networks.
Resource URL
POST https://api.socialidnow.com/v1/marketing/login/apps/:app_id/connections/email
Parameters
URL Parameters
app_id | required | Login App identifier. |
---|
JSON Parameters
required | user e-mail. |
Authentication
This API requires Account authentication. See Authentication.
Examples
Request
curl -iX POST 'https://api.socialidnow.com/v1/marketing/login/apps/:app_id/connections/email' \ -d '{"email":"today@nasa.gov"}' \ -H 'Content-type:application/json' \ --user <api_id>:<api_secret>
Response
Response Headers
HTTP/1.1 201 Created Location: https://api.socialidnow.com/v1/marketing/login/connections/692ae3970e22fcb065c46f2ed1dd... Status: 201