{"templateId":"markdown","sharedDataIds":{"sidebar":"sidebar-sidebars.yaml"},"props":{"metadata":{"markdoc":{"tagList":["admonition"]},"type":"markdown"},"seo":{"title":"Retrieving User Information","description":"Tilia Wallet Developer Documentation","siteUrl":"https://thunes-tilia-docs.redocly.app/","llmstxt":{"hide":false,"sections":[{"title":"Table of contents","includeFiles":["**/*"],"excludeFiles":[]}],"excludeFiles":[]}},"dynamicMarkdocComponents":[],"compilationErrors":[],"ast":{"$$mdtype":"Tag","name":"article","attributes":{},"children":[{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"retrieving-user-information","__idx":0},"children":["Retrieving User Information"]},{"$$mdtype":"Tag","name":"Admonition","attributes":{"type":"info","name":"Another version of this information is available"},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["If you're new to Tilia services, another version of this information is available in the ",{"$$mdtype":"Tag","name":"a","attributes":{"href":"/tutorials"},"children":["Tutorials"]}," section of these docs, which might be an easier place to start."]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["There may be times you wish to retrieve information for a specific account. Using the Tilia account ID, you can check details such as the user's registered email address and the account's block status."]},{"$$mdtype":"Tag","name":"Admonition","attributes":{"type":"warning","name":"Important"},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The Account ID is returned during user registration. You will need to store this in your system and associate it with your user's account. Refer to ",{"$$mdtype":"Tag","name":"a","attributes":{"href":"/guides/register-user"},"children":["Registering Users"]}," for more information."]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"to-retrieve-user-information","__idx":1},"children":["To retrieve user information"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Retrieving user information requires an API token with the scope ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["search_accounts"]},"."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["To fetch user information, submit a GET request with the ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["account_id"]}," to the ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["/user-info"]}," endpoint."]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"header":{"controls":{"copy":{}}},"source":"curl --location --request GET https://accounts.tilia-inc.com/v1/{account_id}/user-info \\\n--header 'Authorization: Bearer <Access_Token>' \\\n--header 'Content-Type: application/json' \\\n"},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"sample-response","__idx":2},"children":["Sample response"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"json","header":{"controls":{"copy":{}}},"source":"{\n    \"status\": \"Success\",\n    \"message\": [],\n    \"codes\": [],\n    \"payload\": {\n        \"account_id\": \"ebcbc9c4-7c1b-47df-9ec4-1bcfa48e0344\",\n        \"username\": \"jessica.pley@gmail.com\",\n        \"email\": \"jessica.pley@gmail.com\",\n        \"is_blocked\": false,\n        \"integrator\": \"acme\",\n        \"created\": \"2020-07-03T01:05:59.49468Z\"\n    }\n}\n","lang":"json"},"children":[]}]},"headings":[{"value":"Retrieving User Information","id":"retrieving-user-information","depth":1},{"value":"To retrieve user information","id":"to-retrieve-user-information","depth":2},{"value":"Sample response","id":"sample-response","depth":4}],"frontmatter":{"enableToc":false,"seo":{"title":"Retrieving User Information"}},"lastModified":"2026-02-05T18:12:30.000Z","pagePropGetterError":{"message":"","name":""}},"slug":"/guides/user-info","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}