Skip to main content
PATCH
/
abdm
/
v1
/
profile
cURL
curl --request PATCH \
  --url https://api.eka.care/abdm/v1/profile \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "day_of_birth": 123,
  "first_name": "<string>",
  "gender": "M",
  "month_of_birth": 123,
  "pincode": "<string>",
  "year_of_birth": 123,
  "address": "<unknown>",
  "last_name": "<unknown>",
  "middle_name": "<unknown>"
}
'
{
  "code": 123,
  "error": "<string>",
  "source_error": {
    "code": "<string>",
    "message": "<string>"
  }
}

Authorizations

Authorization
string
header
required

The API requires a Bearer token (JWT) for authentication.

Headers

X-Pt-Id
string

Eka User ID (OID)

X-Partner-Pt-Id
string

Partner User ID

X-Hip-Id
string

Partner HIP ID

Query Parameters

oid
string

OID is used to Identify the user.

Body

application/json
day_of_birth
integer
required

Day of birth of the user.

first_name
string
required

First name of the user.

gender
enum<string>
required

Gender of the user ('M' for male, 'F' for female, 'O' for other).

Available options:
M,
F,
O
month_of_birth
integer
required

Month of birth of the user.

pincode
string
required

Pincode of the user's address.

year_of_birth
integer
required

Year of birth of the user.

address
null | string

Address of the user.

last_name
null | string

Last name of the user.

middle_name
null | string

Middle name of the user.

Response

No Content