Get Record Types

Use this API call to retrieve the different record type categories in Shape

POST api/get/lead/types

To get record types in Shape, send an authorized POST request to https://secure-api.setshape.com/api/get/lead/types

Request Header

The authentication token must be passed in the request header for every API request. You can find and generate your authentication token in your system settings page under “API Integrations.”

Response

Upon success, the server returns HTTP codes and messages in the header with some additional elements and properties that are set by the server, such as id.

{

     “message”: “Lead types fetched successfully.”,

     “data”: {

          “3”: “Leads”,

          “0”: “Applications”,

          “1”: “Loans”,

          “2”: “Referral Partners”,

          “999”: “Contacts”

      }

}