Authorization: ********************
{
"connected_inbox_sid": 0,
"email_address": "string",
"username": "string",
"password": "string",
"check_frequency_minutes": 0,
"server_name": "string",
"server_port": 0,
"last_scheduled_time": "1s",
"last_checked": "1s",
"purge_threshold": 0,
"email_salt": "string",
"num_consecutive_failures": 0,
"last_error": "string",
"standby_error_time": "1s",
"last_updated": "1s",
"max_message_size": 0,
"max_messages": 0,
"google_xoauth2_refresh_token": "string",
"google_xoauth2_access_token": "string",
"google_xoauth2_access_token_expiration": "1s",
"authentication_type": "CONNECTED_INBOX_AUTHENTICATION_TYPE_PASSWORD",
"oauth_reference_id": {
"access_token": "string",
"refresh_token": "string",
"expires_at": 0,
"reference_id": "string"
}
}
curl --location --request POST 'https://api.cbf.tcn.com/api/v0alpha/omniapi/testconnectedinbox' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"connected_inbox_sid": 0,
"email_address": "string",
"username": "string",
"password": "string",
"check_frequency_minutes": 0,
"server_name": "string",
"server_port": 0,
"last_scheduled_time": "1s",
"last_checked": "1s",
"purge_threshold": 0,
"email_salt": "string",
"num_consecutive_failures": 0,
"last_error": "string",
"standby_error_time": "1s",
"last_updated": "1s",
"max_message_size": 0,
"max_messages": 0,
"google_xoauth2_refresh_token": "string",
"google_xoauth2_access_token": "string",
"google_xoauth2_access_token_expiration": "1s",
"authentication_type": "CONNECTED_INBOX_AUTHENTICATION_TYPE_PASSWORD",
"oauth_reference_id": {
"access_token": "string",
"refresh_token": "string",
"expires_at": 0,
"reference_id": "string"
}
}'
{
"success": true,
"details": "string"
}