これで取得できました
https://SITENAME.zendesk.com/api/v2/users/USER_ID.json
SITENAME と USER_ID を各自のデータにしてアクセスすると取得できます。
response{
"user": {
"id": USER_ID,
"url": "https://SITENAME.zendesk.com/api/v2/users/USER_ID.json",
"name": "NAME",
"email": "NAME@gmail.com",
"created_at": "2019-11-12T00:03:17Z",
"updated_at": "2019-11-19T01:06:19Z",
"time_zone": "Osaka",
"iana_time_zone": "Asia/Tokyo",
"phone": null,
"shared_phone_number": null,
"photo": null,
"locale_id": ID,
"locale": "ja",
"organization_id": ID,
"role": "admin",
"verified": true,
"external_id": null,
"tags": [],
"alias": null,
"active": true,
"shared": false,
"shared_agent": false,
"last_login_at": "2019-11-19T01:03:33Z",
"two_factor_auth_enabled": null,
"signature": null,
"details": null,
"notes": null,
"role_type": null,
"custom_role_id": null,
"moderator": true,
"ticket_restriction": null,
"only_private_comments": false,
"restricted_agent": false,
"suspended": false,
"chat_only": false,
"default_group_id": ID,
"report_csv": true,
"user_fields": {}
}
}
|