Upload User Document

Upload a document to a User

Using the Users Api

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

Language
Credentials
Header
Click Try It! to start a request and see the response here!