Users

User records, channel identities, and the current user.

GET
/ext/hindclaw/users

Authorization

HTTPBearer
AuthorizationBearer <token>

In: header

Response Body

application/json

curl -X GET "https://example.com/ext/hindclaw/users"
[  {    "id": "string",    "display_name": "string",    "email": "string",    "is_active": true  }]
POST
/ext/hindclaw/users

Authorization

HTTPBearer
AuthorizationBearer <token>

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

curl -X POST "https://example.com/ext/hindclaw/users" \  -H "Content-Type: application/json" \  -d '{    "id": "string",    "display_name": "string"  }'
{  "id": "string",  "display_name": "string",  "email": "string",  "is_active": true}
GET
/ext/hindclaw/users/{user_id}

Authorization

HTTPBearer
AuthorizationBearer <token>

In: header

Path Parameters

user_id*User Id

Response Body

application/json

application/json

curl -X GET "https://example.com/ext/hindclaw/users/string"
{  "id": "string",  "display_name": "string",  "email": "string",  "is_active": true}
DELETE
/ext/hindclaw/users/{user_id}

Authorization

HTTPBearer
AuthorizationBearer <token>

In: header

Path Parameters

user_id*User Id

Response Body

application/json

curl -X DELETE "https://example.com/ext/hindclaw/users/string"
Empty
PUT
/ext/hindclaw/users/{user_id}

Authorization

HTTPBearer
AuthorizationBearer <token>

In: header

Path Parameters

user_id*User Id

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

curl -X PUT "https://example.com/ext/hindclaw/users/string" \  -H "Content-Type: application/json" \  -d '{}'
{  "id": "string",  "display_name": "string",  "email": "string",  "is_active": true}
GET
/ext/hindclaw/users/{user_id}/channels

Authorization

HTTPBearer
AuthorizationBearer <token>

In: header

Path Parameters

user_id*User Id

Response Body

application/json

application/json

curl -X GET "https://example.com/ext/hindclaw/users/string/channels"
[  {    "provider": "string",    "sender_id": "string"  }]
POST
/ext/hindclaw/users/{user_id}/channels

Authorization

HTTPBearer
AuthorizationBearer <token>

In: header

Path Parameters

user_id*User Id

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

curl -X POST "https://example.com/ext/hindclaw/users/string/channels" \  -H "Content-Type: application/json" \  -d '{    "provider": "string",    "sender_id": "string"  }'
{  "provider": "string",  "sender_id": "string"}
DELETE
/ext/hindclaw/users/{user_id}/channels/{provider}/{sender_id}

Authorization

HTTPBearer
AuthorizationBearer <token>

In: header

Path Parameters

user_id*User Id
provider*Provider
sender_id*Sender Id

Response Body

application/json

curl -X DELETE "https://example.com/ext/hindclaw/users/string/channels/string/string"
Empty
GET
/ext/hindclaw/me

Return the caller's own profile including channels.

Args: _auth: Authenticated principal (user only, SA rejected).

Returns: MeProfileResponse with user record and channel list.

Authorization

HTTPBearer
AuthorizationBearer <token>

In: header

Response Body

application/json

curl -X GET "https://example.com/ext/hindclaw/me"
{  "id": "string",  "display_name": "string",  "email": "string",  "is_active": true,  "channels": [    {      "provider": "string",      "sender_id": "string"    }  ]}