# Test JWT customizer **POST /api/configs/jwt-customizer/test** Test the JWT customizer script with the given sample context and sample token payload. ## Servers - Logto endpoint address.: https://[tenant_id].logto.app (Logto endpoint address.) ## Authentication methods - OAuth2 ## Parameters ### Body: application/json (object) - **tokenType** (string("access-token")) - **environmentVariables** (object) - **script** (string) - **token** (object) - **context** (object) ## Responses ### 200 The result of the JWT customizer script testing. #### Body: application/json (object) object ### 400 Zod errors in cloud service (data type does not match expectation, can be either request body or response body). ### 401 Unauthorized ### 403 Cloud connection does not have enough permission to perform the action. ### 422 Syntax errors in cloud service. [Powered by Bump.sh](https://bump.sh)