Auth

Send authorization request for IMAP account.

post/api/v1/auth/imap

Request

  • Base URL
    https://api.intheloop.io
  • Auth
    API key in header Authorization

Query parameters

isAddAccountboolean

Parameter whether or not auth was posted through add account action

loginPurpose'Login' | 'SetSecret'

Parameter set secret purpose

Request body

$typestring required
namestring

User's Name

emailstring

User's email

imapUsernamestring

IMAP username

imapPasswordstring

User's IMAP secret, only set by client, always returned empty by server

imapHoststring

IMAP Server

imapPortinteger required

IMAP Connection port

smtpUsernamestring

SMTP username

smtpPasswordstring

User's SMTP secret, only set by client, always returned empty by server

smtpHoststring

SMTP Server

smtpPortinteger required

SMTP Connection port

sslRequiredboolean required

Is SSL Required

Response

Created

$typestring required
namestring

User's Name

emailstring

User's email

imapUsernamestring

IMAP username

imapPasswordstring

User's IMAP secret, only set by client, always returned empty by server

imapHoststring

IMAP Server

imapPortinteger required

IMAP Connection port

smtpUsernamestring

SMTP username

smtpPasswordstring

User's SMTP secret, only set by client, always returned empty by server

smtpHoststring

SMTP Server

smtpPortinteger required

SMTP Connection port

sslRequiredboolean required

Is SSL Required

Changes

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