| Time | Status | User Agent |  |
| :-- | :-- | :-- | :-- |
| Make a request to see history. |

#### URL Expired

The URL for this request expired after 30 days.

Uploads/POSTs a passport or driver license government ID for the specified contractor.

## Returns

Returns response status and a request id confirming the government ID posted to specified contractor.

| attribute | type | description |
| --- | --- | --- |
| success | boolean | Response status |
| data | object | POSTs government ID for requested contractor and returns id number |
| errors | array | Contains list of error objects which consists of:<br>`message`: Error message<br>`code`: Error code as described in [Error codes](https://docs.zeal.com/reference/error-codes) |

contractorID

string

required

ID of the Contractor

companyID

string

required

ID of the Company

id_type

string

enum

required

type of the ID to be uploaded, current options are drivers_license, social_security_card and passport

drivers_licensesocial_security_cardpassport

Allowed:

`drivers_license``social_security_card``passport`

id_base64

string

required

base64 image of the ID to be uploaded

# ``200      200

# ``400      400

Updated 7 months ago

* * *

ShellNodeRubyPHPPython

```

xxxxxxxxxx

curl --request POST \

--url https://api.zeal.com/contractors/id \

--header 'accept: application/json' \

--header 'content-type: application/json' \

--data '

{

"id_type": "drivers_license"

}

'
```

Click `Try It!` to start a request and see the response here! Or choose an example:

application/json

``200 - Result``400 - Result

Updated7 months ago
