API endpoint for signing (bug 958337)