### Get Authenticated User Request Example Source: https://developer.toolost.com/docs/api This cURL command demonstrates how to fetch the profile of the authenticated user. Ensure you replace 'YOUR_SECRET_TOKEN' with a valid OAuth 2.0 Bearer token. Requires the 'read:profile' scope. ```shell curl https://api.toolost.com/v1/me \ --header 'Authorization: Bearer YOUR_SECRET_TOKEN' ``` -------------------------------- ### Get Authenticated User Response Example Source: https://developer.toolost.com/docs/api This JSON object represents a successful response when retrieving authenticated user information. It includes details such as user ID, name, username, email, avatar, type, and timestamps. ```json { "data": { "id": 42, "first_name": "John", "last_name": "Doe", "username": "johndoe", "email": "john@example.com", "avatar": "https://cdn.example.com/avatars/johndoe.jpg", "type": "artist", "confirmed": true, "created_at": "2024-01-15T10:30:00.000000Z", "updated_at": "2025-06-20T14:22:00.000000Z" } } ``` -------------------------------- ### List Countries Request Example Source: https://developer.toolost.com/docs/api This is a cURL command to retrieve a list of available countries from the API. No specific scope is required for this operation. ```shell curl -X GET 'https://api.toolost.com/v1/lookup/countries' ``` -------------------------------- ### GET /lookup/countries Source: https://developer.toolost.com/docs/api Retrieves a list of supported countries. No authentication scope is required. ```APIDOC ## GET /lookup/countries ### Description Retrieves a list of available countries for use in the platform. ### Method GET ### Endpoint https://api.toolost.com/v1/lookup/countries ``` -------------------------------- ### GET /me Source: https://developer.toolost.com/docs/api Retrieves the profile information of the currently authenticated user. Requires the 'read:profile' scope. ```APIDOC ## GET /me ### Description Returns the profile of the user who authorized the OAuth token. ### Method GET ### Endpoint https://api.toolost.com/v1/me ### Response #### Success Response (200) - **data** (object) - The UserResource object containing user details. #### Response Example { "data": { "id": 42, "first_name": "John", "last_name": "Doe", "username": "johndoe", "email": "john@example.com", "avatar": "https://cdn.example.com/avatars/johndoe.jpg", "type": "artist", "confirmed": true, "created_at": "2024-01-15T10:30:00.000000Z", "updated_at": "2025-06-20T14:22:00.000000Z" } } ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.