GET /api/auth/members

Use this api to get members info.

This API is used by an organization to get info about members that are registered under their account.

Example Request

curl -X GET '<https://idrx.co/api/auth/members>' --header 'idrx-api-key: <API_KEY>' --header 'idrx-api-sig: <signature>' --header 'idrx-api-ts': <timestamp>'

Response

If the request is successful, the response will be as shown below:

{
    "statusCode": 200,
    "message": "success",
    "data": [
        {
            "id": 421,
            "email": "jack.smith@gmail.com",
            "createdAt": "2023-12-27T06:33:58.173Z",
            "fullname": "JACK SMITH",
            "ApiKeys": [
                {
                    "apiKey": "{API_KEY}"
                }
            ]
        },
        {
            "id": 411,
            "email": "john.smith@gmail.com",
            "createdAt": "2023-12-19T09:58:34.357Z",
            "fullname": "JOHN SMITH",
            "ApiKeys": [
                {
                    "apiKey": "{API_KEY}"
                }
            ]
        },
        ...,
    ]
}

Last updated