Skip to content

Get Profile

Endpoint used to get the current user profile in Toolzz Chat.

Terminal window
curl --request GET \
--url 'https://chat.toolzz.ai/api/v1/profile' \
--header 'Authorization: Bearer <token>'
{
"id": 1,
"name": "<string>",
"email": "<string>",
"role": "<string>"
}

ParameterTypeDescriptionRequired
AuthorizationStringAccess token (must contain “Bearer” before the token)Yes

KeyTypeDescription
idnumberUnique identifier of the user.
namestringName of the user.
emailstringEmail of the user.
rolestringRole of the user.

To access this endpoint, it is necessary to send a valid access token through the authorization header (Authorization) of the request.