Login

This service evaluates if the user is valid with the credentials provided.

POST /login

Receives credentials from member and return token and other information.

Fields

Field Description Required
member_id The health insurance member ID YES
zip_code The member zip code. YES
token This is the token returned to the requester. NO
entity_id The unique ID for the member. NO
first_name The member first name. NO
middle_name_initial The Middle name. NO
last_name Member's last name NO
household Members's household NO
benefit Member's benefit. NO
created_at Member's creation date. NO
plan_id The member's plan ID. YES

Request

Headers

Header Value
Accept
application/vnd.account.v1+json
application/json
application/*+json
Content-Type
application/vnd.account.v1+json
application/json
multipart/form-data
application/x-www-form-urlencoded
Authorization HTTP Basic, HTTP Digest, or OAuth2 Bearer token (check API provider for details)

Body

{
   "member_id": "The health insurance member ID",
   "zip_code": "The member zip code.",
   "plan_id": "The member's plan ID."
}

Response

Status Codes

  • 406: Not Acceptable
  • 415: Unsupported Media Type
  • 201: Created
  • 404: Not Found
  • 400: Client Error
  • 422: Unprocessable Entity
  • 401: Unauthorized
  • 403: Forbidden

Headers

Header Value
Content-Type
application/vnd.account.v1+json
application/json
application/*+json
Allow Comma-separated list of all HTTP methods allowed

Body

{
   "member_id": "The health insurance member ID",
   "zip_code": "The member zip code.",
   "token": "This is the token returned to the requester.",
   "entity_id": "The unique ID for the member.",
   "first_name": "The member first name.",
   "middle_name_initial": "The Middle name.",
   "last_name": "Member's last name",
   "household": "Members's household",
   "benefit": "Member's benefit.",
   "created_at": "Member's creation date.",
   "plan_id": "The member's plan ID."
}