issue authentication token

issue authentication token

POST https://docs.esignon.net/api/:companyId/login

When using eSignon API, an authentication token is absolutely required. This API issues the required user's authentication token.( accesstoken )

Path Parameters

Name
Type
Description

companyId

string

Company ID

Headers

Name
Type
Description

Content-Type

string

application/json

Request Body

Name
Type
Description

header

object

header.request_code

string

1001Q

body

object

body.memb_email

string

User email

body.memb_pwd

string

User password

{
  "header": {
    "response_code": "1001A",
    "result_code": "00",
    "result_msg": "You have successfully logged in.",
    "session_id": ""
  },
  "body": {
    "access_token": "{accesstoken}",
    "comp_id": "{Company ID}",
    "device_id": "{Device ID}",
    "expire_date": "{Expired}",
    "memb_email": "{User email}"
  }
}

Request Body Example

{
  "header": {
    "request_code": "1001Q",
  },
  "body": {
    "memb_email": "{User email}",
    "memb_pwd": "{User password}",
  }
}

Response Body Example

{
  "header": {
    "response_code": "1001A",
    "result_code": "00",
    "result_msg": "You have successfully logged in.",
    "session_id": ""
  },
  "body": {
    "access_token": "{accesstoken}",
    "comp_id": "{Company ID}",
    "device_id": "{Device ID}",
    "expire_date": "{Expired}",
    "memb_email": "{User email}"
  }
}

Response Body header.result_code

Code

Description

Reference

00

success

success

10

Fail

Your login information is incorrect.

12

Fail

Parsing failed because the body information of the received message is incorrect.

95

Fail

The company is unable to call the API. Please contact the customer center.

99

Fail

Unexpected exception (incorrect format)

Last updated