- Welcome 👋
- Get Started
- Create Your First App
- Authorization
- Webhooks
- Conditional Webhooks
- Security Considerations
- Multi-Language Support
- Responses
- Pagination
- Rate Limiting
- Versioning
- Change Log
- Support
- APIs
- Orders
- Order Status
- Order Histories
- Order Tags
- Order Invoice
- Order Reservations
- Order Items
- Products
- Product Options
- Product Quantity
- Product Variants
- Product Tags
- Product Images
- Product Option Values
- Abandoned Carts
- Customer Groups
- Customers
- Digitals Product
- Categories
- Exports
- Shipments
- Shipping Companies
- Shipping Zones
- Shipping Rules
- Countries
- Product Option Templates
- Taxes
- Coupons
- Affiliates
- Order Assignment
- Special Offers
- Transactions
- Payments
- Settlements
- Settings
- Merchant
- Brands
- Reviews
- Branches
- Currencies
- SEO
- Cities
- DNS Records
- Languages
- Employees
- Advertisements
- Webhooks
- Custom URLs
- Loyalty Points
- Webhooks - Store Events
User Information Details
Production
Production
GET
https://accounts.salla.sa/oauth2/user/info
Store
Last modified:2024-10-31 11:29:22
TIP
ID
, email
, name
, mobile
and role
are the information of the user who authorized the app to be installed and it is not always the store owner as it can be one of the store team.Request
Authorization
Add the parameter
Authorization
to Headers,whose value is to concatenate the Token after the Bearer.Example:
Authorization: Bearer ********************
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://accounts.salla.sa/oauth2/user/info'
Responses
🟢200Success
application/json
Body
status
number
optional
Example:
200
success
boolean
optional
Default:
true
data
object (UserInformation)
optional
id
number
required
Example:
1689171978
name
string
required
Example:
Test User
mobile
string
required
Example:
+96652318526
role
enum<string>
required
user
or team
, where user
can be an admin, as a the owner of the store, while team
can be referred to employees.Allowed values:
userteam
Example:
user
created_at
string
required
Example:
2021-03-27 21:51:56
merchant
object
required
Example
{
"status": 200,
"success": true,
"data": {
"id": 1689171978,
"name": "Test User",
"email": "[email protected]",
"mobile": "+96652318526",
"role": "user",
"created_at": "2021-03-27 21:51:56",
"merchant": {
"id": 847769313,
"username": "User_name123",
"name": "User Name",
"avatar": "https://i.ibb.co/jyqRQfQ/avatar-male.webp",
"store_location": "21.589481104199123,39.67869125586653",
"plan": "pro",
"status": "active",
"domain": "https://www.domain.com",
"tax_number": "424243241321234",
"commercial_number": "3552100509",
"created_at": "2021-12-31 12:59:59"
}
}
}
Modified at 2024-10-31 11:29:22