curl --request GET \
--url https://api.pxyz.dev/api/v0/auth/users/{userId}/email-addresses
{
"status": "success",
"data": [
{
"id": "<string>",
"tenantId": "<string>",
"userId": "<string>",
"email": "jsmith@example.com",
"verifiedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"meta": {
"total": 123,
"count": 123,
"numPages": 123,
"perPage": 123,
"prev": "2023-11-07T05:31:56Z",
"next": "2023-11-07T05:31:56Z"
}
}
curl --request GET \
--url https://api.pxyz.dev/api/v0/auth/users/{userId}/email-addresses
{
"status": "success",
"data": [
{
"id": "<string>",
"tenantId": "<string>",
"userId": "<string>",
"email": "jsmith@example.com",
"verifiedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"meta": {
"total": 123,
"count": 123,
"numPages": 123,
"perPage": 123,
"prev": "2023-11-07T05:31:56Z",
"next": "2023-11-07T05:31:56Z"
}
}
Successful response
The response is of type object
.