Get details for a user on the account
Security
basicAuth
- US Mailgunhttps://api.mailgun.net/v5/users/{user_id}
- EU Mailgunhttps://api.eu.mailgun.net/v5/users/{user_id}
curl -i -X GET \
-u '<username>:<password>' \
'https://api.mailgun.net/v5/users/{user_id}'A 200 response
Example:"2022-12-20T16:52:01.892000"
One of:
the date and time at which 2-factor auth was activated in ISO 8601 date-time format without timezone offset (UTC time) and with microseconds
string
Example:"2022-12-20T16:52:01.892000"
One of:
the date and time at which the user password was last updated in ISO 8601 date-time format without timezone offset (UTC time) and with microseconds
string
One of:
Github ID, if part of Github Student Developer Pack account
string
Response
{ "id": "123", "name": "John Doe", "activated": true, "is_disabled": false, "email": "johndoe@example.com", "email_details": { "address": "johndoe@example.com", "is_valid": true, "parts": { … } }, "role": "basic", "account_id": "567", "opened_ip": "67.111.60.111", "is_master": true, "metadata": {}, "tfa_enabled": true, "tfa_active": true, "tfa_created_at": "2022-12-20T16:52:01.892000", "password_updated_at": "2022-12-20T16:52:01.892000", "preferences": { "programming_language": "curl", "time_format": "%m/%d/%y %I:%M %p", "time_zone": "US/Eastern" }, "auth": { "method": "sinch", "prior_details": {}, "prior_method": "" }, "github_user_id": null, "salesforce_user_id": null, "migration_status": "done" }