It seems that creating a server with authorized ssh keys is only possible through the control panel.
By the way, the response samples in the api docs for ssh keys are wrong, they are showing droplets instead of keys.
This has now been added and is supported through the new parameter:
Going to get the docs updated for SSH keys and we will be adding SSH keys support via API soon.
You won't be notified about changes to this idea.