Skip to main content
POST
/
api
/
v1
/
auth
/
social-networks
/
sign_in
Social network sign in confirmation
curl --request POST \
  --url https://api.paylora.org/api/v1/auth/social-networks/sign_in \
  --header 'Content-Type: application/json' \
  --data '
{
  "type": "google",
  "code": "4/0AWgavddtNRQ18dDzaB9Wlhm82tXC7tGVE-FfCvqaErDpVp3DZuw5895qDhuiluyBT3Zrdw",
  "state": "0AWgavddtNRQ18dDzaB9Wlhm82tXC7tGVE-FfCvqaErDpVp3DZuw5895qDhuiluyBT3Zrdw"
}
'
{
  "success": true,
  "data": {
    "access": ""
  }
}

Body

application/json
type
enum<string>
default:google
required
Available options:
google,
fb
code
string
required

This code from redirected url ?code=4/0AWgavddtNRQ18dDzaB9Wlhm82tXC7tGVE-FfCvqaErDpVp3DZuw5895qDhuiluyBT3Zrdw

Example:

"4/0AWgavddtNRQ18dDzaB9Wlhm82tXC7tGVE-FfCvqaErDpVp3DZuw5895qDhuiluyBT3Zrdw"

state
string
required

This state from redirected url ?state=0AWgavddtNRQ18dDzaB9Wlhm82tXC7tGVE-FfCvqaErDpVp3DZuw5895qDhuiluyBT3Zrdw

Example:

"0AWgavddtNRQ18dDzaB9Wlhm82tXC7tGVE-FfCvqaErDpVp3DZuw5895qDhuiluyBT3Zrdw"

Response

User`s logined