API for Developers
API for Developers
Join 20,000+ other marketers and start getting marketing clarity

Subscribe to our newsletter and get proven marketing strategies for growing your business.

Suggested Blog Articles
Ending the Paid vs Organic Search Debate : True Marketing Case #537
Advertising & Marketing Ending the Paid vs Organic Search Debate : True Marketing Case #537

Last update on Mar 18, 2015

3 Ways to Implement Call Tracking
Advertising & Marketing 3 Ways to Implement Call Tracking

Last update on Mar 7, 2017

3 Digital Marketing Tools That Will Make Your Job Easier
Advertising & Marketing 3 Digital Marketing Tools That Will Make Your Job Easier

Last update on Feb 6, 2020

Accounts

The accounts resource allows you to retrieve, edit, add, and delete accounts.

Accounts Instance Resources

MethodEndpointDescription
GET/api/v1/accountsGet a paginated list of details for all accounts.
GET/api/v1/accounts/{account_id}Get details about a single account.
POST/api/v1/accountsCreate 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 All Accounts

Get a paginated list of details for all accounts.

Resource Details

MethodEndpoint
GEThttps://app.whatconverts.com/api/v1/accounts

Supported Parameters

ParameterTypeDescriptionRequired
accounts_per_pagenumberNumber of accounts to return for this request (default 25, maximum 250).No
page_numbernumberPage number to return for this request.No
start_datestringStart date for this request in date or date/time ISO 8601 format (UTC); 2015-11-10 or 2015-11-10T00:00:00Z.No
end_datestringEnd date for this request in date or date/time ISO 8601 format (UTC); 2015-11-10 or 2015-11-10T00:00:00Z.No
orderstringOrder in which to return the accounts by date created; asc or (default) desc.No

Response Details

ParameterTypeDescription
accounts_per_pagenumberThe number of accounts returned in the request.
page_numbernumberThe current page number in the request.
total_pagesnumberThe total amount of pages available in the request.
total_accountsnumberThe total amount of accounts available in the request.
accountsarrayContains all the requested accounts.
account_idnumberUnique identifier for the account.
account_namestringThe name of the account.
date_createdstringDate and time when the account was created in ISO 8601 format (UTC).
profilesarrayContains all the profiles under within the requested accounts.
profile_idnumberUnique identifier for the profile.
profile_namestringThe name of the profile.
date_createdstringDate and time when the profile was created in ISO 8601 format (UTC).

Example Response

    {
      "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 Single Account

Get details for specific account.

Resource Details

MethodEndpoint
GEThttps://app.whatconverts.com/api/v1/accounts/{account_id}

Supported Parameters

No supported parameters.

Response Details

Includes all response details from get all accounts resource.

Create New Account

Create a new account.

Resource Details

MethodEndpoint
POSThttps://app.whatconverts.com/api/v1/accounts

Supported Parameters

ParameterTypeDescriptionRequired
account_namestringThe name for this account.Yes
create_profilebooleanCreate a new profile for this account; true or (default) false.No

Response Details

ParameterTypeDescription
account_idnumberUnique identifier for the account.
account_namestringThe name of the account.
date_createdstringDate and time when the account was created in ISO 8601 format (UTC).
profilesarrayContains all the profiles under within the requested accounts.
profile_idnumberUnique identifier for the profile.
profile_namestringThe name of the profile.
date_createdstringDate and time when the profile was created in ISO 8601 format (UTC).

Example Response

    {
      "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 Account

Edit details for a single account.

Resource Details

MethodEndpoint
POSThttps://app.whatconverts.com/api/v1/accounts/{account_id}

Supported Parameters

ParameterTypeDescriptionRequired
account_namestringThe name for this account.Yes

Response Details

ParameterTypeDescription
account_idnumberUnique identifier for the account.
account_namestringThe name of the account.
date_createdstringDate and time when the account was created in ISO 8601 format (UTC).
profilesarrayContains all the profiles under within the requested accounts.
profile_idnumberUnique identifier for the profile.
profile_namestringThe name of the profile.
date_createdstringDate and time when the profile was created in ISO 8601 format (UTC).

Example Response

    {
      "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 Account

Delete a single account.

Resource Details

MethodEndpoint
DELETEhttps://app.whatconverts.com/api/v1/accounts/{account_id}

Supported Parameters

No supported parameters.

Response Details

ParameterTypeDescription
account_idnumberUnique identifier for the account.

Example Response

    {
      "account_id": 5411295
    }
    
Request a Live Demo
Get a FREE presentation of WhatConverts

One of our marketing experts will give you a full presentation of how WhatConverts can help you grow your business.

Request a Live Demo
Whatconverts Features for your Business
Selective Form Tracking
Lead Tracking Selective Form Tracking

WhatConverts allows you to pick and choose which forms you would like to track on your site.

Report Builder
Analytics & Insights Report Builder

Create, save and send unique reports that suit the needs of your business.

Instant Phone Number Setup & Tracking
Lead Tracking Instant Phone Number Setup & Tracking

Select a tracking number, provide the destination number, and start tracking calls.

Dynamic Phone Number Insertion
Lead Tracking Dynamic Phone Number Insertion

Automatically track marketing to a phone call with Dynamic Number Insertion (DNI).

Join 20,000+ other marketers and start getting marketing clarity

Subscribe to our newsletter and get proven marketing strategies for growing your business.

Suggested Blog Articles
5 Issues to Solve with Conversion Rate Optimization Tools
Advertising & Marketing 5 Issues to Solve with Conversion Rate Optimization Tools

Last update on Aug 4, 2020

We Answer The Question: When Should You Use Automated Bidding?
Lead Capture & Tracking We Answer The Question: When Should You Use Automated Bidding?

Last update on Feb 13, 2020

ready to get marketing clarity?

Grow your business with WhatConverts

14 days free trial Easy setup Dedicated support