Authorizations
Master API key for administrative operations
curl --request GET \
--url http://localhost:3000/master/users/{userId} \
--header 'X-API-Key: <api-key>'{
"user": {
"user_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"email": "[email protected]",
"organization": "<string>",
"tier": "free",
"status": "active",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
},
"apiKeys": [
{
"key_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"key_prefix": "<string>",
"name": "<string>",
"permissions": {
"read": true,
"write": true,
"admin": true
},
"scope": {},
"status": "active",
"created_at": "2023-11-07T05:31:56Z",
"last_used": "2023-11-07T05:31:56Z",
"rate_limit": 123
}
],
"usage": {}
}Returns detailed information about a specific user (Master API)
curl --request GET \
--url http://localhost:3000/master/users/{userId} \
--header 'X-API-Key: <api-key>'{
"user": {
"user_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"email": "[email protected]",
"organization": "<string>",
"tier": "free",
"status": "active",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
},
"apiKeys": [
{
"key_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"key_prefix": "<string>",
"name": "<string>",
"permissions": {
"read": true,
"write": true,
"admin": true
},
"scope": {},
"status": "active",
"created_at": "2023-11-07T05:31:56Z",
"last_used": "2023-11-07T05:31:56Z",
"rate_limit": 123
}
],
"usage": {}
}Master API key for administrative operations
Was this page helpful?