الانتقال إلى المحتوى
مركز المساعدة
المنتجات

مرجع API

POST /integration/v1/oauth2/token

Create access token

Create access token

operationId Create access token

نص الطلب

Content-Type: application/json

الحقل النوع الإلزامية الوصف
client_id string (uuid) مطلوب Client id
client_secret string مطلوب Client secret
grant_type string اختياري Grant type
code string اختياري Authorization code to get access token to access to OAuth resources.

الاستجابات

200 OAuth access data

نص application/json

الحقل النوع الإلزامية الوصف
access_token string مطلوب OAuth access token
refresh_token string مطلوب OAuth refresh token
access_token_lifetime integer مطلوب Access token lifetime in ms
refresh_token_lifetime integer مطلوب Refresh token lifetime in ms
access_token_type string مطلوب Access token type

412 Invalid parameters

500 Server error

512 Specification violations