(Deprecated) Contacts
ClearTax Contacts API provides you the ability to manage your customers or vendors on your ClearTax account.
Get all Contacts
You can get all the contact details by submitting a GET request to the GST API with the following request headers
URL Query String
{{HOST}}/gst/api/v0.1/businesses/{{business_id}}/contacts?override_pagination=trueRequest Parameter
Parameters
Parameters Type
Type
Description
business_id
Path
String
Mandatory. This is the unique ID associated with the GSTIN in your account.
override_pagination
Query
Boolean
Unique contact ID.
start
Query
String
Default: 0 /used for pagination
limit
Query
String
Default: 20 / number of contacts to limit in the response
Query
String
Email ID of the user
pan_number
Query
String
Pan number of the user
mobile_number
Query
String
Mobile number of the user
contact_id
Query
String
Unique Contact ID of the user
Sample Request
Sample Response
Contact Objects
Parameters
Type
Description
id
String
Mandatory. Unique Contact ID
business_name
String
Mandatory. Business Name given
nick_name
String
Nick name given
gstin
String
GSTIN number of the contact
organization_type
String
Mandatory. Organization type of the contact ['COMPANY', 'INDIVIDUAL']
country
String
Country
Get a Contact
You can get a contact details by submitting a GET request to the GST API with the following request headers
URL Query String
Request Parameter
Parameters
Parameters Type
Type
Description
business_id
Path
String
Required. This is the unique ID associated with the GSTIN in your account.
contact_id
Path
String
Required. Unique contact ID.
Sample Request
Sample Response
Create/Update a Contact
You can get all the contact details by submitting a PUT request to the GST API with the following request headers
URL Query String
Request Parameter
Parameters
Parameters Type
Type
Description
business_id
Path
String
Required. This is the unique ID associated with the GSTIN in your account.
contact_id
Path
String
Unique Contact ID of the user
Sample Request
Sample Payload
Sample Response
Last updated