Retrieve a list of users who have been invited but not yet registered
curl --request GET \
--url https://api.wacht.dev/invited-users \
--header 'Authorization: Bearer <token>'
{
"total": 100,
"page": 1,
"per_page": 20,
"total_pages": 5,
"data": [
{
"id": "<string>",
"email": "jsmith@example.com",
"invited_at": "2023-11-07T05:31:56Z",
"expires_at": "2023-11-07T05:31:56Z"
}
]
}
JWT Bearer token authentication using the Authorization header
Successful response
The response is of type object
.
curl --request GET \
--url https://api.wacht.dev/invited-users \
--header 'Authorization: Bearer <token>'
{
"total": 100,
"page": 1,
"per_page": 20,
"total_pages": 5,
"data": [
{
"id": "<string>",
"email": "jsmith@example.com",
"invited_at": "2023-11-07T05:31:56Z",
"expires_at": "2023-11-07T05:31:56Z"
}
]
}