# Import a resume

Creates a new resume from an existing ResumeData object (e.g. from a previously exported JSON file). A random name and slug are generated automatically. Returns the ID of the imported resume. Requires authentication.

```http
POST https://hiresweep.com/api/openapi/resumes/import
x-api-key: YOUR_API_KEY
```

## Request body

```json
{
  "type": "object",
  "properties": {
    "data": {
      "$ref": "#/components/schemas/ResumeData"
    },
    "clientId": {
      "anyOf": [
        {
          "type": "string",
          "minLength": 1
        },
        {
          "type": "null"
        }
      ],
      "description": "The client whose data this is, for an operator applying on behalf of clients. Omit for your own."
    }
  },
  "required": [
    "data"
  ]
}
```

## Responses

- `200`: The ID of the imported resume.
- `400`: 400
