# Resume Ranker

## Rank Resume

<mark style="color:green;">`POST`</mark> `https://api.autogon.ai/api/v1/services/rank-resume/`

#### Headers

| Name                                           | Type   | Description      |
| ---------------------------------------------- | ------ | ---------------- |
| Content-Type<mark style="color:red;">\*</mark> | String | application/json |

#### Request Body

| Name                                               | Type   | Description     |
| -------------------------------------------------- | ------ | --------------- |
| job\_description<mark style="color:red;">\*</mark> | String | job description |
| resume\_file<mark style="color:red;">\*</mark>     | File   | resume file     |

{% tabs %}
{% tab title="200: OK Successful request" %}

```json
{
  "status": true,
  "message": "Candidates ranked successfully",
  "data": "53.67%"
}
```

{% endtab %}

{% tab title="400: Bad Request" %}
{% code fullWidth="true" %}

```json
{
    "error":"Job description is required"
}
```

{% endcode %}
{% endtab %}
{% endtabs %}
