Skip to Content
Indexify
Account

Fetch authenticated user profile

POST
/api/user_info.php?action=fetch

Returns the full profile for the currently authenticated user including roles, wallet address, and masked phone number.

Authorization

ApiKeyAuth
headerX-API-KEY<token>

API key with the ix_ prefix. You can generate an API Key by navigating to Settings -> API Key in the web app. Pass it in the X-API-KEY header on every request.

Query Parameters

action*"fetch"
Value in"fetch"

Response Body

Full user profile.

application/json
  1. response
id?integer
username?string
email?string
avatar?string|null
bio?string|null
slippage?string
priority_fee?string
theme?string

UI theme preference. Defaults to 'system'.

Value in"light""dark""system"
phone_verified?boolean
phone_number_last_2?|

Last two digits of the phone number.

twitter?string|null
telegram?string|null
discord?string|null
linkedin?string|null
personal?string|null
wallet_address?string|null
evm_wallet_address?string|null
created_at?string
Formatdate-time
roles?array<string>
Example Request
curl -X POST 'https://api.indexify.finance/api/user_info.php?action=fetch'
Example Response
{  "id": 0,  "username": "string",  "email": "string",  "avatar": "string",  "bio": "string",  "slippage": "string",  "priority_fee": "string",  "theme": "light",  "phone_verified": true,  "phone_number_last_2": "string",  "twitter": "string",  "telegram": "string",  "discord": "string",  "linkedin": "string",  "personal": "string",  "wallet_address": "string",  "evm_wallet_address": "string",  "created_at": "2019-08-24T14:15:22Z",  "roles": [    "string"  ]}