Data SubjectsGet data subject with consents
Data Subjects

Get data subject with consents

Returns a specific data subject along with their consent records.

curl -X GET "https://api.neostra.io/api/v1/data-subjects/example_string?tenantId=example_string" \
  -H "Content-Type: application/json"
{
  "status": 200,
  "message": "Success",
  "data": {},
  "errors": [
    "example_string"
  ]
}
GET
/api/v1/data-subjects/{userId}
GET
path
userIdstring
Required

The user identifier of the data subject

query
tenantIdstring
Required

The tenant identifier

Request Preview
Response

Response will appear here after sending the request

Path Parameters

userIdstring
Required

The user identifier of the data subject

Query Parameters

tenantIdstring
Required

The tenant identifier

Responses

statusinteger

HTTP status code

messagestring

Response message

dataobject

Response payload

errorsstring[]

List of error details, if any