# Connect with brand user data **POST /auth/brand** will create or find a brand user and return the token, if the endpoint his called with a guest user token , guest user will be bound to the brand user ## Servers - https://domain.tld/api/v2: https://domain.tld/api/v2 () ## Parameters ### Headers - **X-Popsell-Domain** (string) The domain of the user - **Authorization** (string) Bearer token of the guest user (optional) ### Body: application/json (object) - **email_tmp** (string) - **customer_id** (string) - **lang** (string) - **gender** (string) - **firstname** (string) - **lastname** (string) - **dob** (string) - **city** (string) - **country** (string) - **postcode** (string) - **image** (string) - **user_api_key** (string) ## Responses ### 200 Return the api token #### Body: application/json (object) - **token** (string) ### 401 Unauthorized #### Body: application/json (object) - **message** (string) ### 422 Unprocessable Content #### Body: application/json (object) - **message** (string) Error message. - **errors** (object) [Powered by Bump.sh](https://bump.sh)