GET
/
account
Account Information
curl --request GET \
  --url https://api.unifically.com/account \
  --header 'Authorization: Bearer <token>'
{
  "code": 123,
  "data": {
    "user_id": 123,
    "balance_usd": 123,
    "email": "<string>",
    "created_at": 123,
    "updated_at": 123,
    "restricted_until": 123
  }
}
Retrieve detailed information about your account, including balance, email, timestamps, and restrictions.

Request

curl --location 'https://api.unifically.com/account' \
--header 'Authorization: Bearer YOUR_API_KEY'

Response

Success Response

{
    "code": 200,
    "data": {
        "user_id": 12345,
        "balance_usd": 100.50,
        "email": "[email protected]",
        "created_at": 123,
        "updated_at": 123,
        "restricted_until": null,
    }
}

Response Fields

code
integer
HTTP status code (200 for success)
data
object
Account information
user_id
integer
Unique user identifier
balance_usd
decimal
Current account balance in USD
email
string
Account email address
created_at
integer
Unix timestamp of account creation
updated_at
integer
Unix timestamp of last account update
restricted_until
integer
Unix timestamp until account is restricted. null means not restricted.

Authentication

All requests require a valid API key in the Authorization header:
Authorization: Bearer YOUR_API_KEY
Get your API key from the Unifically Dashboard.

Account Restrictions

If your account is restricted, the restricted_until field will contain a Unix timestamp indicating when the restriction will be lifted. Example with restriction:
{
    "code": 200,
    "data": {
        "user_id": 12345,
        "balance_usd": 0.00,
        "email": "[email protected]",
        "created_at": 1750920400,
        "updated_at": 1750920400,
        "restricted_until": 1710950200
    }
}
If restricted_until is greater than 0, your account has limited access until the specified timestamp.