(Deprecated) Contacts

IMPORTANT NOTICE

This API is deprecated and not supported after 30th April 2022.

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=true

Request Parameter

Sample Request

https://api.clear.in/gst/api/v0.1/businesses/f33961ec-1c1a-461d-b888-8a5a56577a14/contacts?override_pagination=true

Sample Response

[
    {
        "id": "1fde8896-b288-4d0d-a037-9f3cd3447852",
        "business_name": "Apple Inc",
        "nick_name": "Apple Inc(OT)",
        "gstin": "29ALSPT0208L1ZI",
        "organization_type": "COMPANY",
        "state": "OTHERTERRITORY",
        "country": "INDIA",
        "system_generated": true
    }
]

Contact Objects

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

{{HOST}}/gst/api/v0.1/businesses/{{business_id}}/contacts/{{contact_id}}

Request Parameter

Sample Request

https://api.clear.in/gst/api/v0.1/taxable_entities/249af74-7392-4fa2-b3a0-685c6c7ad87e/cdns/ck9kyln2a00063b6nqqcgfrkd

Sample Response

{
    "id": "1fde896-b288-4d0d-a037-9f3cd3447852",
    "business_name": "Apple Inc",
    "nick_name": "Apple Inc(OT)",
    "gstin": "29ALSPT0208L1ZI",
    "organization_type": "COMPANY",
    "state": "OTHERTERRITORY",
    "country": "INDIA",
    "system_generated": true
}

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

{{HOST}}/gst/api/v0.1/businesses/{{business_id}}/contacts/{{contact_id}}

Request Parameter

Sample Request

https://api.clear.in/gst/api/v0.1/businesses/f33961ec-1c1a-461d-b888-8a5a56577a14/contacts/dd7fc145-d263-4ef5-a2d6-d193e99ba12e

Sample Payload

{
    "id": "dd7fc145-d263-4ef5-a2d6-d193e99ba12e",
    "business_name": "Star International FZC",
    "nick_name": "International FZCO(OT)",
    "gstin": "",
    "state": "OTHERTERRITORY",
    "organization_type": "COMPANY",
    "contact_person_name": "",
    "email": "",
    "mobile_number": "",
    "land_line_number": "",
    "address": "",
    "city": "",
    "zip_code": "",
    "pan_number": "",
    "country": "INDIA"
}

Sample Response

{
    "id": "dd7fc145-d263-4ef5-a2d6-d193e99ba12e",
    "business_name": "Blue Star International FZC",
    "nick_name": "Blue Star International FZC(OT)",
    "gstin": "",
    "organization_type": "COMPANY",
    "contact_person_name": "",
    "email": "",
    "pan_number": "",
    "mobile_number": "",
    "land_line_number": "",
    "address": "",
    "city": "",
    "state": "OTHERTERRITORY",
    "zip_code": "",
    "country": "INDIA"
}

Last updated