#NEWLINE# def post_connect_token( self , **params ) : #NEWLINE# #INDENT# 'Obtain a new connect_token for a specific account.\n\n        * Note: unused connect tokens are purged after 24 hours.\n\n        Documentation: http://context.io/docs/2.0/accounts/connect_tokens#post\n\n        Required Arguments:\n            callback_url: string (url) - When the user\'s mailbox is connected\n                to your API key, the browser will call this url (GET). This\n                call will have a parameter called contextio_token indicating\n                the connect_token related to this callback. You can then do a\n                get on this connect_token to obtain details about the account\n                and source created through that token and save that account id\n                in your own user data.\n\n        Optional Arguments:\n            email: string (email) - The email address of the account to be\n                added. If specified, the first step of the connect UI where\n                users are prompted for their email address, first name and\n                last name is skipped.\n            first_name: string - First name of the account holder.\n            last_name: string - Last name of the account holder.\n            source_callback_url: string (url) - If specified, we\'ll make a\n                POST request to this URL when the initial sync is completed.\n            source_sync_all_folders: integer - By default, we filter out some\n                folders like \'Deleted Items\' and \'Drafts\'. Set this parameter\n                to 1 to turn off this filtering and show every single folder.\n            source_sync_flags: integer - By default, we don\'t synchronize IMAP\n                flags. Set this parameter to 1 to turn on IMAP flag syncing\n                for the \'seen\' and \'flagged\' flags.\n            source_raw_file_list: integer - By default, we filter out files\n                like signature images from the files list. Set this parameter\n                to 1 to turn off this filtering and show every single file\n                attachment.\n            status_callback_url: string (url) - If specified, we\'ll make a POST\n                request to this URL if the connection status of the source changes.\n\n        Returns:\n            A dictionary (data format below)\n\n            {\n              "success": string - true if connect_token was successfully\n                  created, false otherwise,\n              "token": string - Id of the token,\n              "resource_url": string - URL to of the token,\n              "browser_redirect_url": string - Redirect the user\'s browser to\n                  this URL to have them connect their mailbox through this\n                  token\n            }\n        ' #NEWLINE# req_args = [ 'callback_url' ] #NEWLINE# all_args = [ 'callback_url' , 'email' , 'first_name' , 'last_name' , 'source_callback_url' , 'source_sync_all_folders' , 'source_sync_flags' , 'source_raw_file_list' , 'status_callback_url' ] #NEWLINE# return super ( Account , self ) . post ( uri = 'connect_tokens' , return_bool = False , params = params , all_args = all_args , required_args = req_args )