Account
Fetch authenticated user profile
POST
Returns the full profile for the currently authenticated user including roles, wallet address, and masked phone number.
ApiKeyAuthheader
X-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.
action*"fetch"Value in
"fetch"Full user profile.
application/json- response
id?integerusername?stringemail?stringavatar?string|nullbio?string|nullslippage?stringpriority_fee?stringtheme?stringUI theme preference. Defaults to 'system'.
Value in
"light""dark""system"phone_verified?booleanphone_number_last_2?|Last two digits of the phone number.
twitter?string|nulltelegram?string|nulldiscord?string|nulllinkedin?string|nullpersonal?string|nullwallet_address?string|nullevm_wallet_address?string|nullcreated_at?stringFormat
date-timeroles?array<string>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" ]}