# List a linked mailbox's folders (internal) **POST /email-data/{caseId}/fetch-folders-for-email-provider/{providerId}** Inbox-connect plumbing: fetches the folders of a linked mailbox from the provider, saves them on the mailbox and returns them. Folder ids can be passed as folderIds when starting an import. An extraction-code user may only name a mailbox linked to their own code (404 otherwise). ## Servers - http://api.example.com: http://api.example.com () ## Authentication methods - Access token ## Parameters ### Path parameters - **caseId** (string) - **providerId** (string) ## Responses ### 200 #### Body: application/json (object) - **data** (array[object]) - **statusCode** (number) - **timestamp** (string(date-time)) [Powered by Bump.sh](https://bump.sh)