> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.heyreach.io/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.heyreach.io/_mcp/server.

# CheckEnrichEmailJob

GET https://api//api/public/enrichment/enrich-email/check-job/{jobId}

## Polls the status of an email-enrichment job created via `enrich-email`.

### Path Parameters

* **jobId** *(long, required)*: Id returned by `enrich-email` when the job was created.

### Response fields

* **jobId** *(long)*

* **status** *(string)*: Where the job is in its lifecycle - one of `PENDING`, `IN_PROGRESS`, `COMPLETED`, `FAILED`.

* **data** *(object, optional)*: Present only once `status` is `COMPLETED`.

  * **status** *(string)*: What the enrichment produced - one of `ENRICHED`, `EMAIL_NOT_FOUND`, `CANCELLED`, `FAILED`.

  * **message** *(string)*: Human-readable summary of `data.status`.

  * **emailAddress** *(string, optional)*: The enriched email address. Only set when `data.status` is `ENRICHED`.

  * **memberId** *(string)*: LinkedIn member id of the enriched lead.

  * **profileUrl** *(string)*: LinkedIn profile URL of the enriched lead.

### Errors

Returns **400** with body `{ "errorMessage": "..." }` when the job is in a state that doesn't support this operation: `The enrichment job with id <jobId> is in an invalid state for this operation.`

Returns **404** with body `{ "errorMessage": "..." }` when no job with the given id exists for your tenant: `Enrichment job with id <jobId> not found.`

Reference: https://docs.heyreach.io/hey-reach-api/enrichment/check-enrich-email-job

## Request

### Path parameters

- `jobId` (string, required) — (Required)

### Headers

- `X-API-KEY` (string, optional) — API key header using this scheme. Example: "X-API-KEY: \{API\_KEY}"

## Response

### 200

OK

- `jobId` (integer, required)
- `status` (string, required)
- `data` (object, required)
  - `memberId` (string, required)
  - `profileUrl` (string, required)
  - `status` (string, required)
  - `message` (string, required)
  - `emailAddress` (string, required)

## Examples

**Response**

```json
{
  "jobId": 48213,
  "status": "COMPLETED",
  "data": {
    "memberId": "63456789",
    "profileUrl": "https://www.linkedin.com/in/john_doe",
    "status": "ENRICHED",
    "message": "Email found.",
    "emailAddress": "john_doe@example.com"
  }
}
```

**SDK Code**

```python
import requests

url = "https://api//api/public/enrichment/enrich-email/check-job/%3Clong%3E"

headers = {"X-API-KEY": "{{HR_API_KEY}}"}

response = requests.get(url, headers=headers)

print(response.json())
```

```javascript
const url = 'https://api//api/public/enrichment/enrich-email/check-job/%3Clong%3E';
const options = {method: 'GET', headers: {'X-API-KEY': '{{HR_API_KEY}}'}};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go
package main

import (
	"fmt"
	"net/http"
	"io"
)

func main() {

	url := "https://api//api/public/enrichment/enrich-email/check-job/%3Clong%3E"

	req, _ := http.NewRequest("GET", url, nil)

	req.Header.Add("X-API-KEY", "{{HR_API_KEY}}")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby
require 'uri'
require 'net/http'

url = URI("https://api//api/public/enrichment/enrich-email/check-job/%3Clong%3E")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)
request["X-API-KEY"] = '{{HR_API_KEY}}'

response = http.request(request)
puts response.read_body
```

```java
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.get("https://api//api/public/enrichment/enrich-email/check-job/%3Clong%3E")
  .header("X-API-KEY", "{{HR_API_KEY}}")
  .asString();
```

```php
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('GET', 'https://api//api/public/enrichment/enrich-email/check-job/%3Clong%3E', [
  'headers' => [
    'X-API-KEY' => '{{HR_API_KEY}}',
  ],
]);

echo $response->getBody();
```

```csharp
using RestSharp;

var client = new RestClient("https://api//api/public/enrichment/enrich-email/check-job/%3Clong%3E");
var request = new RestRequest(Method.GET);
request.AddHeader("X-API-KEY", "{{HR_API_KEY}}");
IRestResponse response = client.Execute(request);
```

```swift
import Foundation

let headers = ["X-API-KEY": "{{HR_API_KEY}}"]

let request = NSMutableURLRequest(url: NSURL(string: "https://api//api/public/enrichment/enrich-email/check-job/%3Clong%3E")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "GET"
request.allHTTPHeaderFields = headers

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```