Projects
List direct user grants for a project
GET
sessionCookiecookie
better-auth.session_token<token>The Better Auth email/password session cookie used by the web application.
projectId*stringLength
1 <= lengthResponse for status 200
application/json- response
grants*array<>curl -X GET 'https://postbot.example/api/projects/string/user-grants'Example Response
{
"grants": [
{
"id": "string",
"projectId": "string",
"userId": "string",
"role": "owner",
"createdAt": 0,
"updatedAt": 0
}
]
}