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
Generate Quality Leads for Real Estate Agents with Google AdWords
Advertising & Marketing Generate Quality Leads for Real Estate Agents with Google AdWords

Last update on Sep 21, 2018

Easy Keyword Level Call Tracking
Advertising & Marketing Easy Keyword Level Call Tracking

Last update on Jun 4, 2015

Automate Your Marketing Reports: Introducing Scheduled Reports
Analytics & Reporting Automate Your Marketing Reports: Introducing Scheduled Reports

Last update on Sep 17, 2019

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_profilestringCreate 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
Call Tracking Triggers
Lead Tracking Call Tracking Triggers

Choose which calls to track based on which marketing source the caller is coming from.

Compare Changes Over Time
Analytics & Insights Compare Changes Over Time

Compare data between any time period you want.

Leads by Day
Analytics & Insights Leads by Day

See which days of the week drive the most business, and how this changes over time.

Search for Leads by Name
Lead Management Search for Leads by Name

WhatConverts instantly pulls Caller ID information, so you can quickly search for leads by name.

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
Why Call Tracking is Crucial for Marketing
Advertising & Marketing Why Call Tracking is Crucial for Marketing

Last update on May 6, 2015

Simple ValueTrack Setup for Adwords Tracking
Advertising & Marketing Simple ValueTrack Setup for Adwords Tracking

Last update on Jun 4, 2015

Instantly Improve Your Web Form Tracking
Advertising & Marketing Instantly Improve Your Web Form Tracking

Last update on Oct 25, 2016

ready to get marketing clarity?

Grow your business with WhatConverts

14 days free trial Easy setup Dedicated support