# 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 %}
