Create a user
POST {{proxiedPublicURL}}/users
Create a user
Request Body
{"first_name"=>"Marcel", "last_name"=>"Schwarz", "salutation"=>"SALUTATION_MALE", "title"=>"DR", "email"=>"marcel@example.com", "birth_date"=>"1992-06-16", "birth_city"=>"Mannheim", "birth_country"=>"DE", "birth_name"=>"", "nationalities"=>["DE", "CH", "PL"], "phone_number"=>"49123456789", "address"=>{"address_line1"=>"Unter den Linden", "address_line2"=>"12a", "postcode"=>"10117", "city"=>"Berlin", "state"=>"Berlin", "country"=>"DE"}, "postal_address"=>{"address_line1"=>"Thorstraße", "address_line2"=>"123", "postcode"=>"10115", "city"=>"Berlin", "state"=>"Berlin", "country"=>"DE"}, "terms_and_conditions"=>{"consent_document_id"=>"d0b83880-3809-4eee-b0df-ca50db84c15a", "confirmed_at"=>"2022-02-03T17:14:46Z"}, "data_privacy_and_sharing_agreement"=>{"consent_document_id"=>"7ab0fc5c-8157-4acd-b02d-6ccda0e81dec", "confirmed_at"=>"2022-02-03T17:14:46Z"}, "fatca"=>{"status"=>false, "confirmed_at"=>"2020-02-03T17:14:46Z"}}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
idempotency-key | string | (Required) Idempotency key to prevent the same request from replaying. | |
https://tools.ietf.org/id/draft-idempotency-header-01.html | |||
upvest-client-id | string | (Required) Tenant Client ID | |
upvest-api-version | number | Upvest API version | |
Content-Type | string |