post/v1/workspaces/{workspaceId}/api-keys

Request

  • Base URL: https://api.bangermail.com
  • URL: https://api.bangermail.com/v1/workspaces/{workspaceId}/api-keys
  • Auth: HTTP bearer

Request body

namestring required
scopesApiKeyScope[] required
expires_atstring date-time

Response

API key created. The token is returned only once.

Example response

{
  "data": {
    "smtp": {
      "host": "submit.bangermail.com",
      "port": 465,
      "starttls_port": 587,
      "alternate_ports": {
        "tls": 2465,
        "starttls": 2587
      },
      "username": "banger"
    }
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.