Agency Key is required to access this resource.
The accounts resource allows you to retrieve, edit, add, and delete accounts.
Method | Endpoint | Description |
GET | /api/v1/accounts | Get a paginated list of details for all accounts. |
GET | /api/v1/accounts/{account_id} | Get details about a single account. |
POST | /api/v1/accounts | Create a new account. |
POST | /api/v1/accounts/{account_id} | Edit details for a single account. |
DELETE | /api/v1/accounts/{account_id} | Delete a single account. |
Get a paginated list of details for all accounts.
Method | Endpoint |
GET | https://app.whatconverts.com/api/v1/accounts |
Parameter | Type | Description | Required |
accounts_per_page | number | Number of accounts 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 accounts by date created; asc or (default) desc . | No |
Parameter | Type | Description |
accounts_per_page | number | The number of accounts 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_accounts | number | The total amount of accounts available in the request. |
accounts | array | Contains all the requested accounts. |
account_id | number | Unique identifier for the account. |
account_name | string | The name of the account. |
date_created | string | Date and time when the account was created in ISO 8601 format (UTC). |
profiles | array | Contains all the profiles under within the requested accounts. |
profile_id | number | Unique identifier for the profile. |
profile_name | string | The name of the profile. |
date_created | string | Date and time when the profile was created in ISO 8601 format (UTC). |
{ "page_number": 1, "accounts_per_page": 25, "total_pages": 2, "total_accounts": 45, "accounts": [ { "account_id": 5411295, "account_name": "WhatConverts", "date_created": "2016-06-24T17:24:42Z", "profiles": [ { "profile_id": 2548713, "profile_name": "WhatConverts Tracking", "date_created": "2016-06-24T17:24:42Z" }, ... ] }, ... ] }
Get details for specific account.
Method | Endpoint |
GET | https://app.whatconverts.com/api/v1/accounts/{account_id} |
No supported parameters.
Includes all response details from get all accounts resource.
Create a new account.
Method | Endpoint |
POST | https://app.whatconverts.com/api/v1/accounts |
Parameter | Type | Description | Required |
account_name | string | The name for this account. | Yes |
create_profile | boolean | Create a new profile for this account; true or (default) false . | No |
Parameter | Type | Description |
account_id | number | Unique identifier for the account. |
account_name | string | The name of the account. |
date_created | string | Date and time when the account was created in ISO 8601 format (UTC). |
profiles | array | Contains all the profiles under within the requested accounts. |
profile_id | number | Unique identifier for the profile. |
profile_name | string | The name of the profile. |
date_created | string | Date and time when the profile was created in ISO 8601 format (UTC). |
{ "account_id": 5411295, "account_name": "WhatConverts", "date_created": "2016-06-24T17:24:42Z", "profiles": [ { "profile_id": 2548713, "profile_name": "WhatConverts", "date_created": "2016-06-24T17:24:42Z" } ] }
Edit details for a single account.
Method | Endpoint |
POST | https://app.whatconverts.com/api/v1/accounts/{account_id} |
Parameter | Type | Description | Required |
account_name | string | The name for this account. | Yes |
Parameter | Type | Description |
account_id | number | Unique identifier for the account. |
account_name | string | The name of the account. |
date_created | string | Date and time when the account was created in ISO 8601 format (UTC). |
profiles | array | Contains all the profiles under within the requested accounts. |
profile_id | number | Unique identifier for the profile. |
profile_name | string | The name of the profile. |
date_created | string | Date and time when the profile was created in ISO 8601 format (UTC). |
{ "account_id": 5411295, "account_name": "WhatConverts", "date_created": "2016-06-24T17:24:42Z", "profiles": [ { "profile_id": 2548713, "profile_name": "WhatConverts", "date_created": "2016-06-24T17:24:42Z" } ] }
Delete a single account.
Method | Endpoint |
DELETE | https://app.whatconverts.com/api/v1/accounts/{account_id} |
No supported parameters.
Parameter | Type | Description |
account_id | number | Unique identifier for the account. |
{ "account_id": 5411295 }
One of our marketing experts will give you a full presentation of how WhatConverts can help you grow your business.
Schedule a DemoEvery lead from every marketing channel, in one simple report.
Automatically track marketing to a phone call with Dynamic Number Insertion (DNI).
Within the email, simply click “Yes” or “No” to answer whether or not the lead is quotable.
Don't worry about losing your phone numbers; Port current phone numbers at no charge.