# Start linking a mailbox (internal) **POST /email-data/{caseId}/create-oauth-url** Inbox-connect plumbing: returns the email provider's OAuth sign-in URL for linking a mailbox to the case. The caller opens it and sends the returned code to add-email-provider. ## Servers - http://api.example.com: http://api.example.com () ## Authentication methods - Access token ## Parameters ### Path parameters - **caseId** (string) ### Body: application/json (object) - **redirectUri** (string) - **provider** (string) ## Responses ### 201 #### Body: application/json (object) - **data** (object) - **statusCode** (number) - **timestamp** (string(date-time)) [Powered by Bump.sh](https://bump.sh)