Create a mailbox app password
Create a revocable IMAP, SMTP, and JMAP credential. A mailbox can have at most five active app passwords. The secret is returned once in the 201 response and is never stored by Shipmail. Expiration defaults to 90 days and cannot exceed one year. Idempotency-Key is rejected because replaying a cached plaintext secret would violate the one-time-secret guarantee.
Request
- Base URL: https://shipmail.to/api/v1
- URL: https://shipmail.to/api/v1/mailboxes/{id}/app-passwords
- Auth: one of:
- HTTP bearer
- OAuth 2 (authorization code, authorization URL https://shipmail.to/api/auth/oauth2/authorize, token URL https://shipmail.to/api/auth/oauth2/token)
Headers
OAuth access tokens only. The organization ID this request acts on. Required when the OAuth connection was approved for several organizations (400 validation_error without it); optional with one. An organization the connection was not approved for returns 403 authorization_error. Ignored for API keys, which belong to one organization.
Request body
Response
App password created. Save the secret now.
Changes
No recorded changes to this operation across all 1 revision of this API.