Skip to content

Get users on an account

Request

Get users on an account

Security
basicAuth
Query
rolestring

The user role by which to filter results (basic == analyst)

Enum ValueDescription
basic

Basic/Analyst user role

billing

Billing user role

support

Support user role

developer

Developer user role

admin

Admin user role

limitinteger

The number of users to return

skipinteger

The number of users to skip

curl -i -X GET \
  -u '<username>:<password>' \
  'https://api.mailgun.net/v5/users?role=basic&limit=0&skip=0'

Responses

A 200 response

Bodyapplication/json
usersArray of objects(github.com-mailgun-users-api-UserResponse)
totalinteger

total number of users on the account or the total number of users that match the query

Response
{ "users": [ {} ], "total": 1 }