Get Profile
Endpoint used to get the current user profile in Toolzz Chat.
Request Example
Section titled “Request Example”curl --request GET \ --url 'https://chat.toolzz.ai/api/v1/profile' \ --header 'Authorization: Bearer <token>'Response Example
Section titled “Response Example”{ "id": 1, "name": "<string>", "email": "<string>", "role": "<string>"}Request Description
Section titled “Request Description”Access Token
Section titled “Access Token”| Parameter | Type | Description | Required |
|---|---|---|---|
Authorization | String | Access token (must contain “Bearer” before the token) | Yes |
Response Description
Section titled “Response Description”| Key | Type | Description |
|---|---|---|
id | number | Unique identifier of the user. |
name | string | Name of the user. |
email | string | Email of the user. |
role | string | Role of the user. |
Security
Section titled “Security”To access this endpoint, it is necessary to send a valid access token through the authorization header (Authorization) of the request.