Version 2021
Request session between third-party server and third-party app
Creates a session between your third-party app and third-party server. The response is a cookie indicating the session ID. Your third-party mobile app makes this call against your third-party mobile server.
A create session call is required, but the specific /login API call below is provided as an example. You can choose to implement the create session call differently depending on your mobile server configuration.
Request format
HTTP method
POST
Resource URL
https://
mobileServer
/login?org_id=org_id&client_id=client_id
Parameters
Parameter | Required? | Description |
|
Required | The location of your third-party mobile server. |
Response format
Response header
Set-Cookie: JSESSIONID=...; secure
Response body
{
"code": "..."
}
Example
Example request
curl -i "https://acmecorp.com/login?org_id=12345&client_id=9876"
Example response
Set-Cookie: JSESSIONID=TpYsSXRkUZRs-Z_3fl--amZ7ycx0kLm:853449:_3436; secure
{
"code": "TpYsSXRkUZRs-Z_3fl--amZ7ycx0kLm:853449:_3436"
}