Verify SSH key via API

Is there any way to get a token and verify an SSH key strictly through the API instead of the web interface?

I see in the API docs they provide a way for GPG keys but not for SSH…