Create a new guest portal profilepost https://{api-base-url}/guest/v1/portalsCreate a new guest portal profileBody Paramsportal datanamestringrequiredName of the portal (max length 22 characters)auth_typestringenumDefaults to unauthenticatedAuthentication type of portalunauthenticatedauthenticatedfacebookwifiAllowed:unauthenticatedauthenticatedfacebookwifiusername_password_enabledbooleanDefaults to falseUsername/Password authentication typetruefalseregistration_enabledbooleanDefaults to falseIdentify if guest user can register on the portaltruefalseverify_registrationbooleanDefaults to falseIdentify if verification is required for guest registrationtruefalsebypass_cna_policybooleanDefaults to falseIdentify if CNA policy is to be bypassedtruefalsecna_policystringenumDefaults to allow_alwaysallow_alwaysautomaticAllowed:allow_alwaysautomaticregister_accept_emailbooleanDefaults to falseIdentify if guest registration is performed via e-mailtruefalseregister_accept_phonebooleanDefaults to trueIdentify if guest registration is performed via phonetruefalsefree_wifi_durationintegerFree wifi allowed durations (0 to 59 minutes)self_reg_account_unlimitedbooleanDefaults to trueIndicates if default registration account expiry is unlimited or nottruefalseself_reg_account_expire_daysintegerSpecify the default registration account expiry in days, min 0 to max 180.self_reg_account_expire_hoursintegerSpecify default registration account expiry in hours, min 0 to max 23self_reg_account_expire_minutesintegerSpecify default registration account expiry in minutes, min 0 to max 59login_button_titleobjectCustomizable login button label (optional field, max 32 characters).login_button_title objectwhitelist_urlsarray of stringsList of urls to white list or allow access before portal loginwhitelist_urlsADD stringsms_messagesobjectCustom sms messages (optional). If not set, default messages will be sent during registration, password and verificaton of account.sms_messages objectauth_sourcesarray of objectsList of social auth app values. This could be empty array.auth_sourcesADD objectfacebook_wifi_configure_urlobjectUse URL to create or customize the facebook wifi page which has to have facebook_wifi_gateway_id as a query param. Admin has to configure the page inorder to get facebook wifi workingfacebook_wifi_configure_url objectfacebook_wifi_gateway_idobjectGateway should be used with facebook_wifi_configure_url to configure facebook wifi portal. This is auto generated.facebook_wifi_gateway_id objectredirect_urlobjectRedirect url on succesful loginredirect_url objectauth_failure_messageobjectDisplay message on authentication failure (max 4096 characters)auth_failure_message objectsession_timeoutobjectWireless connection session expiry. Valid input is minimum of 2 minutes and maximum of 180 dayssession_timeout objectmac_caching_enabledbooleanDefaults to falseFlag to indicate whether mac chacing enabledtruefalseis_sharedbooleanDefaults to falseFlag to indicate whether portal is sharedtruefalsesimultaneous_login_limitintegerSimultaneous portal logins limit. Value of 0 indicates there is no limitdaily_usage_limitstringenumDefaults to nolimitIO data allowed to be used in a day. Either by time or data usagebytimebydatanolimitAllowed:bytimebydatanolimitusage_timeobjectThis is required when daily_uage_limit is by timeusage_time objectusage_dataobjectThis is required when daily_uage_limit is by datausage_data objectbackground_colorobjectBackground color of the portal. (Format '#XXXXXX', 6 hex characters)background_color objectbutton_colorobjectButton color. (Format '#XXXXXX' , 6 hex characters)button_color objectheader_fill_colorobjectHeader color of the portal. This field can could be null. (Format '#XXXXXX' , 6 hex characters)header_fill_color objectpage_font_colorobjectPortal page font color. (Format '#XXXXXX ', 6 hex characters)page_font_color objectlogo_namestringDefaults to Logo.pngName of logo filelogoobjectLogo image. This is in base64 data formatlogo objectbackground_image_namestringDefaults to Background.pngName of image file used as backgroundbackground_imageobjectBackground image. This is in base64 data formatbackground_image objectmax_columnsintegerLayoutpage_titleobjectPage title of the portalpage_title objectwelcome_textobjectWelcome text to be displayed in the portalwelcome_text objectterms_conditionobjectTerms and condition text to be displayed in the portalterms_condition objectdisplay_terms_checkboxbooleanDefaults to falseShow/hide terms condition check boxtruefalsedisplay_term_optionsstringenumDefaults to internalInline or overlay display option. Internal indicates inlineinternalexternalAllowed:internalexternalad_urlobjectAdvertisement url. This requires add image inputad_url objectlogin_image_namestringDefaults to Ad.pngName of logo filead_imageobjectAdvertisement image. This is in base64 data formatad_image objectis_config_associatedbooleanDefaults to falseIndicates whether any configuration is associated to the portaltruefalsecapture_urlobjectURL to be used in wlan configurationcapture_url objectoverride_common_namestringParameter to override the common nameoverride_common_name_enabledbooleanDefaults to falseFlag indicating whether the common name should be overriddentruefalseResponses 201Successful response 400Bad Request, Object already exists or Invalid Parameters 401Unauthorized 403Forbidden 404Not Found 413Request-size limit exceeded 429API rate limit exceeded 500Internal Server ErrorUpdated about 2 years ago