# 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 - O auth2 ## Parameters ## Body parameters Content-type: application/json - **tokenType** () The token type to test the JWT customizer for. - **payload** (object) - **environmentVariables** (object) - **script** (string) - **token** (object) - **context** (object) ## Responses ### 200: The result of the JWT customizer script testing. #### Body Parameters: 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)