{"openapi":"3.1.0","info":{"title":"Admin Authentication: Current Customer","version":"1.0.0"},"paths":{"/customer/current.jwt":{"get":{"operationId":"getCurrentCustomer","summary":"Get Current Customer","description":"Identify signed-in customers securely by requesting and decoding a BigCommerce-generated JWT.\n\nThe response body will contain a JWT.\n\n> #### Note\n> The Send a Test Request feature is not currently supported for this endpoint.","tags":["currentCustomers"],"parameters":[{"name":"app_client_id","in":"query","description":"This is the client ID of an app-level API account you generate when you create an app in the Developer Portal.","required":true,"schema":{"type":"string"}},{"name":"Accept","in":"header","description":"The [MIME type](https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types) of the response body.","required":true,"schema":{"type":"string","default":"application/json"}}],"responses":{"200":{"description":"A JWT to decode using the client secret that corresponds with the app client ID you sent as a query parameter. \n\nAfter you decode the JWT, the payload resembles the following:\n\n```json\n  {\n    \"customer\": {\n      \"id\": 4927,\n      \"email\": \"john.doe@gmail.com\",\n      \"group_id\": \"6\",\n    },\n    \"iss\": \"bc/apps\",\n    \"sub\": \"abc123\",\n    \"iat\": 1480831863,\n    \"exp\": 1480832763,\n    \"version\": 1,\n    \"aud\": \"6sv16tfx3j5gsopm42ss5dd67g2srvq\",\n    \"application_id\": \"6sv16tasdgr2b5hs5dd67g2srvq\",\n    \"store_hash\": \"abc123\",\n    \"operation\": \"current_customer\"\n  }\n```","content":{"application/json":{"schema":{"type":"string","format":"jwt"}}}}}}}},"servers":[{"url":"https://your_store.example.com","description":"https://{store_domain}"}]}