> ## Documentation Index
> Fetch the complete documentation index at: https://docs.tunimobile.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Get the profile

> Read the logged-in shop's profile, prices and verification state.

Requires login.

## Body

**action** `string` *required*

`get_profile`

## Response

The `data` object contains the full profile. The fields you will usually need:

**id** `integer`

User id.

**shopId** `integer`

Shop id.

**isVerified** `boolean`

`true` when `verificationStatus` is `verified`.

**verificationStatus** `string`

`pending`, `hasAttachment`, `verified` or `rejected`.

**buyPrices** `object`

Price debited from the balance per voucher, keyed `<operator>_<value>` (for example `orange_5`).

**sellPrices** `object`

Recommended selling price per voucher, same keys as `buyPrices`.

**attatchments** `object[]`

Uploaded account documents. Only present when the account has uploaded documents.

The example values are illustrative.

## Errors

| HTTP | `error.details` | Meaning |
| - | - | - |
| `404` | `user not found` | The logged-in user no longer exists |

```bash cURL theme={null}
curl -b cookies.txt -c cookies.txt \
  -H "Content-Type: application/json" \
  -d '{"action":"get_profile"}' \
  https://apitest.tunimobile.com/v1/user/do_action
```

```json 200 theme={null}
{
  "status": "success",
  "code": 200,
  "message": "OK",
  "data": {
    "id": 123,
    "roles": ["ROLE_SHOP", "ROLE_USER"],
    "username": "myshop",
    "displayName": "My Shop",
    "type": "SHOP",
    "isActive": true,
    "avatar": "/images/avatars/123.webp",
    "location": "Avenue Habib Bourguiba, Tunis",
    "lat": "36.8000",
    "lng": "10.1800",
    "phone": "+21620000000",
    "cin": "01234567",
    "dateOfBirth": "1990-01-31",
    "taxNumber": "1234567/A/M/000",
    "NometprenonOuRaisonsociale": "My Shop SARL",
    "taxpayerCategory": null,
    "maxCreditRequestValue": 1000,
    "buyPrices": { "tt_1": 0.95, "tt_5": 4.75, "orange_1": 0.95, "orange_5": 4.75, "ooredoo_1": 0.95, "ooredoo_5": 4.75 },
    "isVerified": true,
    "verificationStatus": "verified",
    "isPhoneVerified": true,
    "phoneVerifiedAt": "2026-01-15 10:22:00",
    "createdBy": { "id": 7, "username": "salesman1" },
    "attatchments": [
      { "url": "https://api.tunimobile.com/files/...", "file": "cin.pdf", "size": 120334, "type": "application/pdf" }
    ],
    "shopId": 45,
    "shopName": "My Shop",
    "barcodes": { "tt": { "1dt": "...", "5dt": "..." } },
    "sellPrices": { "tt_1": 1, "tt_5": 5 },
    "salesman": { "id": 7, "username": "salesman1" },
    "grade": { },
    "isFixedGrade": false
  }
}
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.