NEW! Smarter Call Tracking, Higher ROI. Capture More Leads and Grow Your Business! Learn How
Agency Key is required to access this resource.
The users resource allows you to retrieve users.
Method | Endpoint | Description |
GET | /api/v1/users | Get a paginated list of details for all users. |
GET | /api/v1/users/{user_id} | Get details about a single user. |
POST | /api/v1/users/ | Create a new user. |
POST | /api/v1/users/ | Editing user. |
Get a paginated list of details for all users.
Method | Endpoint |
GET | https://app.whatconverts.com/api/v1/users |
Parameter | Type | Description | Required | |
users_per_page | number | Number of users to return for this request (default 25, maximum 250). | No | |
page_number | number | Page number to return for this request. | No | |
start_date | string | Start date for this request in date or date/time ISO 8601 format (UTC); 2015-11-10 or 2015-11-10T00:00:00Z . | No | |
end_date | string | End date for this request in date or date/time ISO 8601 format (UTC); 2015-11-10 or 2015-11-10T00:00:00Z . | No | |
order | string | Order in which to return the users by date created; asc or (default) desc . | No | |
user_type | string | User type to return for this request; (default) master_account or account user. | No |
Parameter | Type | Description | |
users_per_page | number | The number of users returned in the request. | |
page_number | number | The current page number in the request. | |
total_pages | number | The total amount of pages available in the request. | |
total_users | number | The total amount of users available in the request. | |
users | array | Contains all the requested users. | |
user_id | number | Unique identifier for the user. | |
user_type | string | The type of user. master_account_user or account_user . | |
email | string | The email of user. | |
pending_activation | boolean | If the user is pending activation. | |
role_name | string | The master account role name for the user. Applicable to master_account_user . | |
role_id | number | Unique identifier for the master account role for the user. Applicable to master_account_user . |
{ "page_number": 1, "users_per_page": 25, "total_pages": 2, "total_users": 45, "users": [ { "user_id": 5411295, "user_type": "master_account_user", "email": "jeremy@whatconverts.com", "pending_activation": false, "date_created": "2016-06-24T17:24:42Z", "role_name": "Administrator", "role_id": 349981 }, ... ] }
Get details for specific user.
Method | Endpoint |
GET | https://app.whatconverts.com/api/v1/users/{user_id} |
No supported parameters.
Parameter | Type | Description | |
users_per_page | number | The number of users returned in the request. | |
page_number | number | The current page number in the request. | |
total_pages | number | The total amount of pages available in the request. | |
total_users | number | The total amount of users available in the request. | |
users | array | Contains all the requested users. | |
user_id | number | Unique identifier for the user. | |
user_type | string | The type of user. master_account_user or account_user . | |
email | string | The email of user. | |
pending_activation | boolean | If the user is pending activation. | |
role_name | string | The master account role name for the user. Applicable to master_account_user . | |
role_id | number | Unique identifier for the master account role for the user. Applicable to master_account_user . | |
new_account_notifications | object | Notification settings for new accounts for the user. Applicable to master_account_user . | |
reports | boolean | New account notification for reports. Applicable to master_account_user . | |
phone_calls | boolean | New account notification for phone calls. Applicable to master_account_user . | |
web_forms | boolean | New account notification for web forms. Applicable to master_account_user . | |
transactions | boolean | New account notification for transactions. Applicable to master_account_user . | |
events | boolean | New account notification for events. Applicable to master_account_user . | |
chats | boolean | New account notification for chats. Applicable to master_account_user . | |
emails | boolean | New account notification for emails. Applicable to master_account_user . | |
other | boolean | New account notification for other. Applicable to master_account_user . | |
text_messages | boolean | New account notification for text_message. Applicable to master_account_user . | |
accounts | array | Notification settings for accounts for the user. Applicable to account_user . | |
account_id | number | Unique identifier for the account. Applicable to account_user . | |
account_name | string | The name of the account. Applicable to account users. | |
notifications | object | Notification settings for the account for the user. | |
reports | boolean | Account notification for reports. | |
phone_calls | boolean | Account notification for phone calls. | |
web_forms | boolean | Account notification for web forms. | |
transactions | boolean | Account notification for transactions. | |
events | boolean | Account notification for events. | |
chats | boolean | Account notification for chats. | |
emails | boolean | Account notification for emails. | |
other | boolean | Account notification for other. | |
text_messages | boolean | Account notification for text_message. |
{ "page_number": 1, "users_per_page": 1, "total_pages": 1, "total_users": 1, "users": [ { "user_id": 5411295, "user_type": "master_account_user", "email": "jeremy@whatconverts.com", "pending_activation": false, "date_created": "2016-06-24T17:24:42Z", "role_name": "Administrator", "role_id": 349981, "new_account_notifications": { "reports": true, "phone_calls": false, "transactions": false, "events": false, "chats": false, "emails": false, "other": false, "text_messages": false, }, "accounts": [ { "account_id": 83490437, "account_name": "WhatConverts", "notifications": { "reports": true, "phone_calls": false, "transactions": false, "events": false, "chats": false, "emails": false, "other": false, "text_messages": false, } }, ... ] } ] }
The body of the request must contain a JSON object with the following fields
Method | Endpoint |
POST | https://app.whatconverts.com/api/v1/users |
Parameter | Type | Description | Required | |
user_type | string | The user type; master_account_user or account_user . | Yes | |
email | string | The user email address. | Yes | |
role_id | integer | Unique identifier of the role. Applicable to master_account_user . | No | |
new_account_notifications | array | The user new account notifications. Applicable to master_account_user . | No | |
chats | boolean | New account notification for chats. Applicable to master_account_user . | No | |
emails | boolean | New account notification for emails. Applicable to master_account_user . | No | |
events | boolean | New account notification for events. Applicable to master_account_user . | No | |
other | boolean | New account notification for other. Applicable to master_account_user . | No | |
phone_calls | boolean | New account notification for phone calls. Applicable to master_account_user . | No | |
text_messages | boolean | New account notification for text messages. Applicable to master_account_user . | No | |
transactions | boolean | New account notification for transactions. Applicable to master_account_user . | No | |
web_forms | boolean | New account notification for web forms. Applicable to master_account_user . | No | |
reports | boolean | New account notification for reports. Applicable to master_account_user . | No | |
accounts | array | If account_user , accounts the user has access to, the role and notification settings. If master_account_user , accounts the user has access to and notification settings. | No | |
account_id | integer | Unique identifier for the account. | No | |
role_id | integer | Unique identifier for the role. Applicable to account_user . | No | |
chats | boolean | Account notification for chats. | No | |
emails | boolean | Account notification for emails. | No | |
events | boolean | Account notification for events. | No | |
other | boolean | Account notification for other. | No | |
phone_calls | boolean | Account notification for phone calls. | No | |
text_messages | boolean | Account notification for text messages. | No | |
transactions | boolean | Account notification for transactions. | No | |
web_forms | boolean | Account notification for web forms. | No | |
reports | boolean | Account notification for reports. | No |
{ "user_type": "master_account_user", "email": "my_email_address@my_domain.com", "role_id": 31425, "new_account_notifications": { "chats": false, "emails": false, "events": false, "other": true, "phone_calls": true, "text_messages": true, "transactions": false, "web_forms": false, "reports": true }, "accounts": [ { "account_id": 3865709, "reports": true, "phone_calls": false, "web_forms": false, "transactions": false, "events": false, "chats": false, "emails": false, "other": false, "text_messages": false }, { "account_id": 3865710, "reports": true } ] }
{ "user_id": 63752, "user_type": "master_account_user", "email": "my_email_address@my_domain.com", "pending_activation": true, "date_created": "2022-08-19T18:18:02Z", "role_id": 34125, "role_name": "Auditor" }
The body of the request must contain a JSON object with the following fields
Method | Endpoint |
POST | https://app.whatconverts.com/api/v1/users |
Parameter | Type | Description | Required | |
user_id | integer | Unique identifier for the user. | Yes | |
role_id | integer | Unique identifier of the role. Applicable to master_account_user . | No | |
new_account_notifications | array | The user new account notifications. Applicable to master_account_user . | No | |
chats | boolean | New account notification for chats. Applicable to master_account_user . | No | |
emails | boolean | New account notification for emails. Applicable to master_account_user . | No | |
events | boolean | New account notification for events. Applicable to master_account_user . | No | |
other | boolean | New account notification for other. Applicable to master_account_user . | No | |
phone_calls | boolean | New account notification for phone calls. Applicable to master_account_user . | No | |
text_messages | boolean | New account notification for text messages. Applicable to master_account_user . | No | |
transactions | boolean | New account notification for transactions. Applicable to master_account_user . | No | |
web_forms | boolean | New account notification for web forms. Applicable to master_account_user . | No | |
reports | boolean | New account notification for reports. Applicable to master_account_user . | No | |
accounts | array | If account_user , accounts the user has access to, the role and notification settings. If master_account_user , accounts the user has access to and notification settings. | No | |
account_id | integer | Unique identifier for the account. | Yes | |
role_id | integer | Unique identifier for the role. Set role_id to false to remove access. Applicable to account_user . | No | |
chats | boolean | Account notification for chats. | No | |
emails | boolean | Account notification for emails. | No | |
events | boolean | Account notification for events. | No | |
other | boolean | Account notification for other. | No | |
phone_calls | boolean | Account notification for phone calls. | No | |
text_messages | boolean | Account notification for text messages. | No | |
transactions | boolean | Account notification for transactions. | No | |
web_forms | boolean | Account notification for web forms. | No | |
reports | boolean | Account notification for reports. | No |
{ "user_id": 31425, "accounts": [ { "account_id": 3865709, "role_id": 271, "reports": true, "phone_calls": false, "web_forms": false, "transactions": false }, { "account_id": 3865800, "role_id": false } ] }
{ "user_id": 31425, "email": "my_email_address@my_domain.com", "accounts": [ { "account_id": 3865709, "account_name": "My Account", "role_id": 271, "role_name": "Standard" } ] }
One of our marketing experts will give you a full presentation of how WhatConverts can help you grow your business.
Schedule a DemoThe instant a lead is received, the data trigger can send webhook data to your CRM.
Distills marketing efforts into a lead-based report that is easy to understand.
See which marketing source, campaign or keyword is responsible for online orders.
Calculate marketing ROI.