# Get a Contact

## Get contact

<mark style="color:blue;">`GET`</mark> `https://{{workspace}}.myeshopbox.com/api/v1/contact`

This endpoint is required to retrieve a contact from workspace

#### Path Parameters

| Name        | Type   | Description                             |
| ----------- | ------ | --------------------------------------- |
| contactCode | string | Unique identification number of contact |

#### Headers

| Name           | Type   | Description                                 |
| -------------- | ------ | ------------------------------------------- |
| Authentication | string | The Bearer token which allows access of API |

{% tabs %}
{% tab title="200 Contact is successfully retrieved" %}

```
{
            "accountSlug": "montecarlo",
            "contactCode": "Apparels",
            "contactName": "Apparels",
            "networkKey": "raymond",
            "gstin": "27AAKCS3399H1ZS",
            "address": {
                "country": "India",
                "pincode": "421305",
                "city": "Thane",
                "state": "Maharashtra",
                "addressLine": "Raymond Apparels Limited,Saidhara Bhiwandi"
            },
            "status": "active",
            "contactType": "vendor",
            "contact": {
                "phoneNumber": "9876543876",
                "email": "raymond.parse@eshopbox.co"
            },
            "customField": [
                {
                    "label": "occassion",
                    "internalName": "occassion",
                    "value": [
                        "eid"
                    ]
                }
            ],
            "createdAt": "2020-06-17T11:53:09.422Z",
            "updatedAt": "2020-06-17T11:53:09.422Z"
}
```

{% endtab %}
{% endtabs %}

{% tabs %}
{% tab title="cURL" %}

```
curl -X GET https://{{workspace}}.myeshopbox.com/api/v1/contact\    
 -H "Authorization: Bearer XXXX"
```

{% endtab %}
{% endtabs %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://eshop.gitbook.io/eshopbox-developers/setting/contacts/get-a-contact.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
