For the complete documentation index, see llms.txt. This page is also available as Markdown.

Login

This will show you how to log in a user using the mobile provider. It will give you a JWT token which will be needed for the following APIs.

POST https://mburger.cloud/api/login

curl https://mburger.cloud/api/login
 -X POST 
 -H "Accept: application/json" 
 -H "Content-Type: application/x-www-form-urlencoded" 
 -H "X-MBurger-Token: " 
 -H "X-MBurger-Version: 3"
 -d '<data>' 

Parameters

Name

Type

Required

Description

email

string

No

Email

password

string

No

Password

mode

string

Yes

Auth mode : email, facebook, google, apple

facebook_token

string

No

Facebook token obtained from Facebook SDK, required if mode = facebook.

google_token

string

No

Google token, obtained from Google SDK, required if mode = google.

apple_token

string

No

Apple token, obtained from Apple SDK, required if mode = apple.

When succesful, a HTTP 200 and JSON like this is returned:

{
  "status_code": 0,
  "body": {
    "access_token": "JWT",
    "token_type": "Bearer"
  }
}

Last updated