Skip to content

Latest commit

 

History

History
23 lines (19 loc) · 721 Bytes

get_user.md

File metadata and controls

23 lines (19 loc) · 721 Bytes

گرفتن اطلاعات کاربر

GET USER
API Permissions USER_RETRIEVE
OAuth Permissions USER_PHONE

با استفاده از access_token می توانید شماره همراه کاربر احراز شده را دریافت کنید. کافیست رکوئست زیر را به صورت فرم ارسال کنید..

POST https://api.divar.ir/v1/open-platform/users
Content-Type: application/json
Content-Type: application/x-www-form-urlencoded
x-api-key: {{apikey}}
x-access-token: {{access_token}}

نمونه پاسخ نیز مانند زیر است.

{
  "phone_numbers": ["09990000000"]
}