API
The API reference is being written and is not published yet. This page is where it will live.
In the meantime, API keys are created in the dashboard under API Keys & SMTP. A key belongs to a workspace and carries that workspace's sending domains, so create the key in the workspace you intend to send from.
Sending also works over SMTP with credentials created on the same screen, which needs no client library.