cURL
curl --request POST \ --url https://api.eka.care/abdm/v1/profile/share \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "counter_id": "<string>", "hip_id": "<string>", "location": { "latitude": null, "longitude": null }, "patient": { "abhaAddress": "<string>", "address": { "district": "<string>", "line": "<string>", "pin_code": "<string>", "state": "<string>" }, "dayOfBirth": "<string>", "gender": "<string>", "mobile_no": "<string>", "monthOfBirth": "<string>", "name": "<string>", "yearOfBirth": "<string>" } }'
{ "address": "<string>", "created_at": "2023-11-07T05:31:56Z", "footer": "<string>", "hip_id": "<string>", "hip_name": "<string>", "request_id": "<string>", "show_token_screen": true, "token_expiry": "2023-11-07T05:31:56Z", "token_number": "<string>" }
Fetch the token from a hospital.
The API requires a Bearer token (JWT) for authentication.
Partner user ID
Partner HIP ID
OID is used to Identify the user.
OK
The response is of type object.
object
Was this page helpful?