post
https://api.testwyre.com/v3/users//
Upload a document to a User
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
curl -X POST \
'http://api.testwyre.com/v3/users/{USER_ID}/governmentIdFront?docType=DRIVING_LICENSE' \
--upload-file '/Users/user/driving-license-front.png' \
-H 'Content-Type: image/png' \
-H 'Authorization: Bearer {WYRE_TOKEN}' \
curl -X POST \
'http://api.testwyre.com/v3/users/{USER_ID}/governmentIdBack?docType=DRIVING_LICENSE' \
--upload-file '/Users/user/driving-license-back.pdf' \
-H 'Content-Type: application/pdf' \
-H 'Authorization: Bearer {WYRE_TOKEN}' \
You will get a Success Response code - 204 once the users documents have been successfully uploaded
