# Create or retrieve a shop customer **POST /chat/ambassadors/shop-customer** use this route to create or retrieve a client ambassador from his email_tmp, if he doesn't exists, the account and its api key will be created ## Servers - https://domain.tld/api/v2: https://domain.tld/api/v2 () ## Authentication methods - Bearer token ## Parameters ### Headers - **X-Popsell-Brand** (integer) The id of the target brand ### Body: application/json (object) - **email_tmp** (string) - **firstname** (string) - **lastname** (string) ## Responses ### 200 Return the shop customer #### Body: application/json (object) - **id_ambassador** (integer(int32)) - **image** (string) - **firstname** (string) - **lastname** (string) - **username** (string) - **email** (string) - **email_tmp** (string) - **active** (integer(int32)) - **status** (integer(int32)) - **online** (boolean) true: when last_action_date is less than 5 minutes ago - **last_action_date** (string(date-time)) - **customer_id** (string) - **anonymized** (boolean) ### 403 Forbidden - You don't have permission to access this route [Powered by Bump.sh](https://bump.sh)