createRepoMailboxSubscription
Subscribe the repo to a mailbox, which gives it an address for good, <name>.<id>@<domain>. {"name":"rfi-replies"} names its readable part, which defaults to the mailbox's name; subscribing again answers the same address.
POST
/repos/{repo_id}/mailboxes/{extension_name}/{mailbox}/subscriptionPath parameters
Request body JSON required
Returns
400
InvalidRequest | RequestBodyTooDeep
JSON
One of the following:
- InvalidRequestEncoded
- RequestBodyTooDeepEncoded
403
Forbidden | ForbiddenOrigin | RequiresPersonalSession | RunBranchRequired
JSON
One of the following:
- ForbiddenEncoded
- ForbiddenOriginEncoded
- RequiresPersonalSessionEncoded
- RunBranchRequiredEncoded
404
ExtensionMailboxNotFound | RepoNotFound
JSON
One of the following:
- ExtensionMailboxNotFoundEncoded
- RepoNotFoundEncoded
413
WriteTooLarge | RequestBodyTooLarge
JSON
One of the following:
- WriteTooLargeEncoded
- RequestBodyTooLargeEncoded
500
RepoFailure | OrgFailure | ControlPlaneFailure
JSON
One of the following:
- RepoFailureEncoded
- OrgFailureEncoded
- ControlPlaneFailureEncoded
503
ExtensionMailboxUnavailable | InboundEmailUnavailable | RepoBusy | SessionUnavailable | RateLimitUnavailable
JSON
One of the following:
- ExtensionMailboxUnavailableEncoded
- InboundEmailUnavailableEncoded
- RepoBusyEncoded
- SessionUnavailableEncoded
- RateLimitUnavailableEncoded