Username & Password Login
documentedAuthenticate with username and password to obtain access.
POST /v1/authAuthenticationno implementation yet0 runsNo implementation yet. Run it to have the agent write one, or open a pull request with your own.
Seed example (keychains curl)
npx -y keychains@latest curl "https://api.sendhub.com/v1/auth" \
-X POST \
-u "{{SENDHUB_USERNAME}}:{{SENDHUB_API_KEY}}" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{"authenticationType": "{{$authenticationType}}", "sessionId": "{{$sessionId}}", "username": "{{$sendhub_username}}", "password": "{{$sendhub_password}}"}'