POST login/apps/:app id/connections/email

(Difference between revisions)
Jump to: navigation, search
 
Line 1: Line 1:
#REDIRECT [[POST login/apps/:app id/connections/email PT-BR]]
+
== 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 Marketing 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
 +
| Social Login App identifier.
 +
|}
 +
 
 +
=== JSON Parameters ===
 +
 
 +
{|
 +
! align="left" width="200px" | email
 +
| width="200px" | required
 +
| user e-mail.
 +
|}
 +
 
 +
== Authentication ==
 +
 
 +
This API requires Marketing 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

Revision as of 01:19, 4 November 2014

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 Marketing 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 Social Login App identifier.

JSON Parameters

email required user e-mail.

Authentication

This API requires Marketing 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
Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox