### Construct API Request Body Source: https://reference.useinbox.com/ Provide the required user information in a JSON object. ```json { "DisplayName": "John Doe", "Email": "john.doe@example.com" } ``` -------------------------------- ### Handle API Response Source: https://reference.useinbox.com/ The API returns a JSON object containing status information and the created object details. ```json { "version": "1.0.0", "resultStatus": true, "resultCode": 201, "resultMessage": "Created", "resultObject": { "id": "5df9d4b691183c000106cb90", "createTime": "2019-12-18T07:26:46.8408463Z", "updateTime": "2019-12-18T07:26:46.8408463Z", "displayName": "John Doe", "email": "john.doe@example.com" } } ``` -------------------------------- ### Define API Request Headers Source: https://reference.useinbox.com/ Set the Content-Type header to application/json for all API requests. ```text Content-Type : application/json ``` -------------------------------- ### INBOX API - Create Inbox Source: https://reference.useinbox.com/ This endpoint allows you to create a new inbox. It requires standard headers and a JSON request body. ```APIDOC ## POST /inbox ### Description Creates a new inbox with the provided display name and email. ### Method POST ### Endpoint /inbox ### Request Body - **displayName** (string) - Required - The display name for the inbox. - **email** (string) - Required - The email address for the inbox. ### Request Example ```json { "DisplayName": "John Doe", "Email": "john.doe@example.com" } ``` ### Response #### Success Response (201) - **version** (string) - The API version. - **resultStatus** (boolean) - Indicates if the operation was successful. - **resultCode** (integer) - The result code of the operation. - **resultMessage** (string) - A message describing the result. - **resultObject** (object) - Contains the details of the created inbox. - **id** (string) - The unique identifier of the inbox. - **createTime** (string) - The timestamp when the inbox was created. - **updateTime** (string) - The timestamp when the inbox was last updated. - **displayName** (string) - The display name of the inbox. - **email** (string) - The email address of the inbox. #### Response Example ```json { "version": "1.0.0", "resultStatus": true, "resultCode": 201, "resultMessage": "Created", "resultObject": { "id": "5df9d4b691183c000106cb90", "createTime": "2019-12-18T07:26:46.8408463Z", "updateTime": "2019-12-18T07:26:46.8408463Z", "displayName": "John Doe", "email": "john.doe@example.com" } } ``` ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.