Lists all personal access tokens for the authenticated user.
Usage Example
GET /api/v1/auth/tokens?status=active
Authorization: Bearer {token}
Response:
[
{
"id": "pat-abc123",
"name": "Local Development Token",
"status": "active",
"createdUtc": "2025-10-06T10:00:00Z",
"expiresUtc": "2025-11-06T10:00:00Z"
}
]
Query Parameters
- Type: stringstatus
Optional filter by status: "active", "expired", or "revoked"
Responses
- application/json
- application/problem+json
- application/problem+json
Request Example for get/api/v1/auth/tokens
curl 'https://app.propstreet.com/api/v1/auth/tokens?status=' \
--header 'Authorization: Bearer YOUR_SECRET_TOKEN'
[
{
"id": "pat-abc123",
"name": "Local Development Token",
"status": "active",
"createdUtc": "2025-10-06T10:00:00Z",
"expiresUtc": "2025-11-06T10:00:00Z"
}
]