List All Users
Returns a list of all users within your Fivetran account.
Request schema
Query parameters
Paging cursor, read more about pagination
Number of records to fetch per page. Accepts a number in the range 1..1000; the default value is 100.
Indicates whether to return only enabled users (true) or not (false). By default, both enabled (allowed to log in) and suspended users are returned.
The type of user. Possible values: REGULAR_USER: A human user who can log in to the Fivetran dashboard and interact with the API, and SERVICE_ACCOUNT: A non-human identity for machine-to-machine API access that cannot log in to the dashboard.
Indicates whether the user has an assigned API key, including expired keys. Accepted values: true or false.
Header parameters
HTTP: basicAuth
HTTP AuthorizationScheme: basic
GET /v1/users?cursor=cursor_value&limit=100&active=true&user_type=SERVICE_ACCOUNT&has_api_key=true HTTP/1.1 Accept: application/json Authorization: BasicHost: api.fivetran.com
Responses
200
Response status code
Response status text
The collection of returned items
The unique identifier for the user within the Fivetran system.
The email address that the user has associated with their user profile. Optional for service accounts (user_type: SERVICE_ACCOUNT).
The field indicates whether the user has verified their email address in the account creation process.
The field indicates whether the user has been invited to your account.
The user's avatar as a URL link (for example, 'http://mycompany.com/avatars/john_white.png') or base64 data URI (for example, 'data:image/png;base64,aHR0cDovL215Y29tcGFueS5jb20vYXZhdGFycy9qb2huX3doaXRlLnBuZw==')
The phone number of the user.
The role that you would like to assign to the user
The field indicates if the user is an active Fivetran account user.
The first name of the user.
The last name of the user.
The last time that the user has logged into their Fivetran account.
The timestamp that the user created their Fivetran account
The type of user. Possible values: REGULAR_USER: A human user who can log in to the Fivetran dashboard and interact with the API, and SERVICE_ACCOUNT: A non-human identity for machine-to-machine API access that cannot log in to the dashboard.
Indicates whether the user has an assigned API key, including expired keys. Accepted values: true or false.
The value of the cursor parameter for the next page
{ "code": "Success", "message": "Users list retrieved successfully", "data": { "items": [ { "id": "user_id", "email": "user@email.value", "verified": true, "invited": true, "picture": "AFg65aoa7af4r3feaAa6bi7se ... base64 encoded image ... blDFSs87gQ==", "phone": "+1234567890", "role": "Account Administrator", "active": true, "given_name": "John", "family_name": "Doe", "logged_in_at": "2024-01-01T00:00:00Z", "created_at": "2024-01-01T00:00:00Z", "user_type": "SERVICE_ACCOUNT", "has_api_key": true } ], "next_cursor": "cursor_value" } }
The user_type and has_api_key query parameters are in Private Preview. To enable them for your account, contact our support team.