# Sign in with an extraction code **POST /extraction/auth/login-with-extraction** Signs in with an extraction code and returns access and refresh tokens, the code's user profile, the extraction code with its data sources, its case, the saved app config (when one is sent) and whether collection events are on. Creates a session and records the login for collection tracking. Inactive, locked, unreviewed or rejected codes get 401, and a code used from the wrong white-label app gets 400. ## Servers - http://api.example.com: http://api.example.com () ## Authentication methods - Access token ## Parameters ### Headers - **user-agent** (string) ### Body: application/json (object) - **extractionCode** (string) - **appConfig** (object) - **app** (string) - **os** (string) - **arch** (string) - **isEmailLogin** (boolean) - **client** (string) Caller type; the web portal sends "portal". ## Responses ### 200 #### Body: application/json (object) - **data** (object) - **statusCode** (number) - **timestamp** (string(date-time)) [Powered by Bump.sh](https://bump.sh)