### GET /api/api-webhook/v1/api/get-labels Source: https://api.masterinbox.com/api/api-webhook/v1/api/api/api-webhook/api-list Retrieves a list of all labels. ```APIDOC ## GET /api/api-webhook/v1/api/get-labels ### Description Retrieves a list of all labels. ### Method GET ### Endpoint /api/api-webhook/v1/api/get-labels ### Response #### Success Response (200) - **labels** (array) - A list of label objects. - **id** (string) - The unique identifier for the label. - **name** (string) - The name of the label. #### Response Example ```json { "labels": [ { "id": "label1", "name": "Urgent" }, { "id": "label2", "name": "Follow Up" } ] } ``` ``` -------------------------------- ### GET /api/api-webhook/v1/api/get-all-workspaces Source: https://api.masterinbox.com/api/api-webhook/v1/api/api/api-webhook/api-list Retrieves a list of all workspaces. ```APIDOC ## GET /api/api-webhook/v1/api/get-all-workspaces ### Description Retrieves a list of all workspaces. ### Method GET ### Endpoint /api/api-webhook/v1/api/get-all-workspaces ### Response #### Success Response (200) - **workspaces** (array) - A list of workspace objects. - **id** (string) - The unique identifier for the workspace. - **name** (string) - The name of the workspace. #### Response Example ```json { "workspaces": [ { "id": "workspace1", "name": "Team Alpha" }, { "id": "workspace2", "name": "Marketing Team" } ] } ``` ``` -------------------------------- ### GET /api/api-webhook/v1/api/get-exclusion-data Source: https://api.masterinbox.com/api/api-webhook/v1/api/api/api-webhook/api-list Retrieves workspace exclusion data. ```APIDOC ## GET /api/api-webhook/v1/api/get-exclusion-data ### Description Retrieves workspace exclusion data. ### Method GET ### Endpoint /api/api-webhook/v1/api/get-exclusion-data ### Response #### Success Response (200) - **exclusionTags** (array) - A list of exclusion tags. - **exclusionKeywords** (array) - A list of exclusion keywords. #### Response Example ```json { "exclusionTags": ["DoNotContact", "Spam"] "exclusionKeywords": ["unsubscribe", "marketing"] } ``` ``` -------------------------------- ### GET /api/api-webhook/v1/api/get-inbox-types Source: https://api.masterinbox.com/api/api-webhook/v1/api/api/api-webhook/api-list Retrieves a list of available inbox types. ```APIDOC ## GET /api/api-webhook/v1/api/get-inbox-types ### Description Retrieves a list of available inbox types. ### Method GET ### Endpoint /api/api-webhook/v1/api/get-inbox-types ### Response #### Success Response (200) - **inboxTypes** (array) - A list of inbox type objects. - **id** (string) - The unique identifier for the inbox type. - **name** (string) - The name of the inbox type. #### Response Example ```json { "inboxTypes": [ { "id": "inbox1", "name": "Primary" }, { "id": "inbox2", "name": "Spam" } ] } ``` ``` -------------------------------- ### GET /api/api-webhook/v1/api/get-prospect-labels/{prospect_id} Source: https://api.masterinbox.com/api/api-webhook/v1/api/api/api-webhook/api-list Retrieves labels associated with a specific prospect. ```APIDOC ## GET /api/api-webhook/v1/api/get-prospect-labels/{prospect_id} ### Description Retrieves labels associated with a specific prospect. ### Method GET ### Endpoint /api/api-webhook/v1/api/get-prospect-labels/{prospect_id} ### Parameters #### Path Parameters - **prospect_id** (string) - Required - The ID of the prospect. ### Response #### Success Response (200) - **labels** (array) - A list of label objects associated with the prospect. - **id** (string) - The unique identifier for the label. - **name** (string) - The name of the label. #### Response Example ```json { "labels": [ { "id": "label1", "name": "Urgent" } ] } ``` ``` -------------------------------- ### POST /api/api-webhook/v1/api/create-new-workspace Source: https://api.masterinbox.com/api/api-webhook/v1/api/api/api-webhook/api-list Creates a new workspace. ```APIDOC ## POST /api/api-webhook/v1/api/create-new-workspace ### Description Creates a new workspace. ### Method POST ### Endpoint /api/api-webhook/v1/api/create-new-workspace ### Parameters #### Request Body - **name** (string) - Required - The name of the new workspace. ### Request Example ```json { "name": "New Project Workspace" } ``` ### Response #### Success Response (200) - **message** (string) - A confirmation message indicating the workspace was created. - **workspaceId** (string) - The ID of the newly created workspace. #### Response Example ```json { "message": "Workspace created successfully.", "workspaceId": "workspace3" } ``` ``` -------------------------------- ### POST /api/api-webhook/v1/api/create-new-prospect Source: https://api.masterinbox.com/api/api-webhook/v1/api/api/api-webhook/api-list Creates a new prospect. ```APIDOC ## POST /api/api-webhook/v1/api/create-new-prospect ### Description Creates a new prospect. ### Method POST ### Endpoint /api/api-webhook/v1/api/create-new-prospect ### Parameters #### Request Body - **firstName** (string) - Optional - The first name of the prospect. - **lastName** (string) - Optional - The last name of the prospect. - **email** (string) - Optional - The email address of the prospect. - **linkedinUrl** (string) - Optional - The LinkedIn profile URL of the prospect. ### Request Example ```json { "firstName": "John", "lastName": "Doe", "email": "john.doe@example.com", "linkedinUrl": "https://www.linkedin.com/in/johndoe" } ``` ### Response #### Success Response (200) - **message** (string) - A confirmation message indicating the prospect was created. - **prospectId** (string) - The ID of the newly created prospect. #### Response Example ```json { "message": "Prospect created successfully.", "prospectId": "prospect456" } ``` ``` -------------------------------- ### POST /api/api-webhook/v1/api/send-member-invitation Source: https://api.masterinbox.com/api/api-webhook/v1/api/api/api-webhook/api-list Sends an invitation to a member to join a workspace. ```APIDOC ## POST /api/api-webhook/v1/api/send-member-invitation ### Description Sends an invitation to a member to join a workspace. ### Method POST ### Endpoint /api/api-webhook/v1/api/send-member-invitation ### Parameters #### Request Body - **workspaceId** (string) - Required - The ID of the workspace. - **memberEmail** (string) - Required - The email address of the member to invite. ### Request Example ```json { "workspaceId": "workspace1", "memberEmail": "new.member@example.com" } ``` ### Response #### Success Response (200) - **message** (string) - A confirmation message indicating the invitation was sent. #### Response Example ```json { "message": "Member invitation sent successfully." } ``` ``` -------------------------------- ### POST /api/api-webhook/v1/api/draft-message Source: https://api.masterinbox.com/api/api-webhook/v1/api/api/api-webhook/api-list Creates a draft of an email. ```APIDOC ## POST /api/api-webhook/v1/api/draft-message ### Description Creates a draft of an email. ### Method POST ### Endpoint /api/api-webhook/v1/api/draft-message ### Parameters #### Request Body - **recipient** (string) - Required - The email address of the recipient. - **subject** (string) - Required - The subject of the email. - **body** (string) - Required - The content of the email. ### Request Example ```json { "recipient": "test@example.com", "subject": "Test Draft", "body": "This is a test email draft." } ``` ### Response #### Success Response (200) - **message** (string) - A confirmation message indicating the draft was saved. #### Response Example ```json { "message": "Draft saved successfully." } ``` ``` -------------------------------- ### POST /api/api-webhook/v1/api/add-label Source: https://api.masterinbox.com/api/api-webhook/v1/api/api/api-webhook/api-list Adds a new label. ```APIDOC ## POST /api/api-webhook/v1/api/add-label ### Description Adds a new label. ### Method POST ### Endpoint /api/api-webhook/v1/api/add-label ### Parameters #### Request Body - **name** (string) - Required - The name of the label to add. ### Request Example ```json { "name": "New Label" } ``` ### Response #### Success Response (200) - **message** (string) - A confirmation message indicating the label was added. - **labelId** (string) - The ID of the newly created label. #### Response Example ```json { "message": "Label added successfully.", "labelId": "label3" } ``` ``` -------------------------------- ### PATCH /api/api-webhook/v1/api/update-workspace Source: https://api.masterinbox.com/api/api-webhook/v1/api/api/api-webhook/api-list Updates an existing workspace. ```APIDOC ## PATCH /api/api-webhook/v1/api/update-workspace ### Description Updates an existing workspace. ### Method PATCH ### Endpoint /api/api-webhook/v1/api/update-workspace ### Parameters #### Request Body - **workspaceId** (string) - Required - The ID of the workspace to update. - **newName** (string) - Required - The new name for the workspace. ### Request Example ```json { "workspaceId": "workspace1", "newName": "Alpha Team Updates" } ``` ### Response #### Success Response (200) - **message** (string) - A confirmation message indicating the workspace was updated. #### Response Example ```json { "message": "Workspace updated successfully." } ``` ``` -------------------------------- ### PUT /api/api-webhook/v1/api/update-exclution-keywords Source: https://api.masterinbox.com/api/api-webhook/v1/api/api/api-webhook/api-list Updates the exclusion keywords for the workspace. ```APIDOC ## PUT /api/api-webhook/v1/api/update-exclution-keywords ### Description Updates the exclusion keywords for the workspace. ### Method PUT ### Endpoint /api/api-webhook/v1/api/update-exclution-keywords ### Parameters #### Request Body - **keywords** (array) - Required - A list of keywords to set as exclusions. ### Request Example ```json { "keywords": ["offer", "discount", "promotion"] } ``` ### Response #### Success Response (200) - **message** (string) - A confirmation message indicating the keywords were updated. #### Response Example ```json { "message": "Exclusion keywords updated successfully." } ``` ``` -------------------------------- ### POST /api/api-webhook/v1/api/add-prospect-label Source: https://api.masterinbox.com/api/api-webhook/v1/api/api/api-webhook/api-list Adds a label to a prospect. ```APIDOC ## POST /api/api-webhook/v1/api/add-prospect-label ### Description Adds a label to a prospect. ### Method POST ### Endpoint /api/api-webhook/v1/api/add-prospect-label ### Parameters #### Request Body - **prospectId** (string) - Required - The ID of the prospect. - **labelId** (string) - Required - The ID of the label to add. ### Request Example ```json { "prospectId": "prospect123", "labelId": "label1" } ``` ### Response #### Success Response (200) - **message** (string) - A confirmation message indicating the label was added to the prospect. #### Response Example ```json { "message": "Label added to prospect successfully." } ``` ``` -------------------------------- ### POST /api/api-webhook/v1/api/get-prospects-by-email Source: https://api.masterinbox.com/api/api-webhook/v1/api/api/api-webhook/api-list Retrieves prospects based on their email address. ```APIDOC ## POST /api/api-webhook/v1/api/get-prospects-by-email ### Description Retrieves prospects based on their email address. ### Method POST ### Endpoint /api/api-webhook/v1/api/get-prospects-by-email ### Parameters #### Request Body - **email** (string) - Required - The email address to search for. ### Request Example ```json { "email": "john.doe@example.com" } ``` ### Response #### Success Response (200) - **prospects** (array) - A list of prospect objects matching the email. - **id** (string) - The prospect's ID. - **firstName** (string) - The prospect's first name. - **lastName** (string) - The prospect's last name. - **email** (string) - The prospect's email address. - **linkedinUrl** (string) - The prospect's LinkedIn URL. #### Response Example ```json { "prospects": [ { "id": "prospect456", "firstName": "John", "lastName": "Doe", "email": "john.doe@example.com", "linkedinUrl": "https://www.linkedin.com/in/johndoe" } ] } ``` ``` -------------------------------- ### POST /api/api-webhook/v1/api/add-custom-provider Source: https://api.masterinbox.com/api/api-webhook/v1/api/api/api-webhook/api-list Adds a custom email provider configuration. ```APIDOC ## POST /api/api-webhook/v1/api/add-custom-provider ### Description Adds a custom email provider configuration. ### Method POST ### Endpoint /api/api-webhook/v1/api/add-custom-provider ### Parameters #### Request Body - **providerName** (string) - Required - The name of the email provider. - **host** (string) - Required - The host address for the provider. - **port** (integer) - Required - The port number for the provider. - **username** (string) - Required - The username for authentication. - **password** (string) - Required - The password for authentication. - **useSsl** (boolean) - Required - Whether to use SSL for the connection. ### Request Example ```json { "providerName": "MyCustomProvider", "host": "smtp.custom.com", "port": 587, "username": "user@custom.com", "password": "securepassword", "useSsl": true } ``` ### Response #### Success Response (200) - **message** (string) - A confirmation message indicating the custom provider was added. #### Response Example ```json { "message": "Custom email provider added successfully." } ``` ``` -------------------------------- ### PATCH /api/api-webhook/v1/api/update-label Source: https://api.masterinbox.com/api/api-webhook/v1/api/api/api-webhook/api-list Updates an existing label. ```APIDOC ## PATCH /api/api-webhook/v1/api/update-label ### Description Updates an existing label. ### Method PATCH ### Endpoint /api/api-webhook/v1/api/update-label ### Parameters #### Request Body - **labelId** (string) - Required - The ID of the label to update. - **newName** (string) - Required - The new name for the label. ### Request Example ```json { "labelId": "label1", "newName": "Important" } ``` ### Response #### Success Response (200) - **message** (string) - A confirmation message indicating the label was updated. #### Response Example ```json { "message": "Label updated successfully." } ``` ``` -------------------------------- ### POST /api/api-webhook/v1/api/get-prospects-by-linkedin-url Source: https://api.masterinbox.com/api/api-webhook/v1/api/api/api-webhook/api-list Retrieves prospects based on their LinkedIn profile URL. ```APIDOC ## POST /api/api-webhook/v1/api/get-prospects-by-linkedin-url ### Description Retrieves prospects based on their LinkedIn profile URL. ### Method POST ### Endpoint /api/api-webhook/v1/api/get-prospects-by-linkedin-url ### Parameters #### Request Body - **linkedinUrl** (string) - Required - The LinkedIn profile URL to search for. ### Request Example ```json { "linkedinUrl": "https://www.linkedin.com/in/johndoe" } ``` ### Response #### Success Response (200) - **prospects** (array) - A list of prospect objects matching the LinkedIn URL. - **id** (string) - The prospect's ID. - **firstName** (string) - The prospect's first name. - **lastName** (string) - The prospect's last name. - **email** (string) - The prospect's email address. - **linkedinUrl** (string) - The prospect's LinkedIn URL. #### Response Example ```json { "prospects": [ { "id": "prospect456", "firstName": "John", "lastName": "Doe", "email": "john.doe@example.com", "linkedinUrl": "https://www.linkedin.com/in/johndoe" } ] } ``` ``` -------------------------------- ### POST /api/api-webhook/v1/api/add-exclusion-tags Source: https://api.masterinbox.com/api/api-webhook/v1/api/api/api-webhook/api-list Adds exclusion tags to the workspace. ```APIDOC ## POST /api/api-webhook/v1/api/add-exclusion-tags ### Description Adds exclusion tags to the workspace. ### Method POST ### Endpoint /api/api-webhook/v1/api/add-exclusion-tags ### Parameters #### Request Body - **tags** (array) - Required - A list of tags to add as exclusions. ### Request Example ```json { "tags": ["Prospect", "Lead"] } ``` ### Response #### Success Response (200) - **message** (string) - A confirmation message indicating the tags were added. #### Response Example ```json { "message": "Exclusion tags added successfully." } ``` ``` -------------------------------- ### PATCH /api/api-webhook/v1/api/update-prospect-label Source: https://api.masterinbox.com/api/api-webhook/v1/api/api/api-webhook/api-list Updates the label association for a prospect. ```APIDOC ## PATCH /api/api-webhook/v1/api/update-prospect-label ### Description Updates the label association for a prospect. ### Method PATCH ### Endpoint /api/api-webhook/v1/api/update-prospect-label ### Parameters #### Request Body - **prospectId** (string) - Required - The ID of the prospect. - **oldLabelId** (string) - Required - The ID of the current label. - **newLabelId** (string) - Required - The ID of the new label to associate. ### Request Example ```json { "prospectId": "prospect123", "oldLabelId": "label1", "newLabelId": "label2" } ``` ### Response #### Success Response (200) - **message** (string) - A confirmation message indicating the prospect's label was updated. #### Response Example ```json { "message": "Prospect label updated successfully." } ``` ``` -------------------------------- ### POST /api/api-webhook/v1/api/send-message Source: https://api.masterinbox.com/api/api-webhook/v1/api/api/api-webhook/api-list Sends an email to a specified recipient. ```APIDOC ## POST /api/api-webhook/v1/api/send-message ### Description Sends an email to a specified recipient. ### Method POST ### Endpoint /api/api-webhook/v1/api/send-message ### Parameters #### Request Body - **recipient** (string) - Required - The email address of the recipient. - **subject** (string) - Required - The subject of the email. - **body** (string) - Required - The content of the email. ### Request Example ```json { "recipient": "test@example.com", "subject": "Test Email", "body": "This is a test email." } ``` ### Response #### Success Response (200) - **message** (string) - A confirmation message indicating the email was sent successfully. #### Response Example ```json { "message": "Email sent successfully." } ``` ``` -------------------------------- ### PUT /api/api-webhook/v1/api/reset-password Source: https://api.masterinbox.com/api/api-webhook/v1/api/api/api-webhook/api-list Resets the user's password. ```APIDOC ## PUT /api/api-webhook/v1/api/reset-password ### Description Resets the user's password. ### Method PUT ### Endpoint /api/api-webhook/v1/api/reset-password ### Parameters #### Request Body - **email** (string) - Required - The email address associated with the account. - **newPassword** (string) - Required - The new password. ### Request Example ```json { "email": "user@example.com", "newPassword": "newSecurePassword123" } ``` ### Response #### Success Response (200) - **message** (string) - A confirmation message indicating the password was reset. #### Response Example ```json { "message": "Password reset successfully." } ``` ``` -------------------------------- ### DELETE /api/api-webhook/v1/api/remove-member-from-workspace/{member}-user-id Source: https://api.masterinbox.com/api/api-webhook/v1/api/api/api-webhook/api-list Removes a member from a workspace. ```APIDOC ## DELETE /api/api-webhook/v1/api/remove-member-from-workspace/{member}-user-id ### Description Removes a member from a workspace. ### Method DELETE ### Endpoint /api/api-webhook/v1/api/remove-member-from-workspace/{member}-user-id ### Parameters #### Path Parameters - **member-user-id** (string) - Required - The ID of the member to remove. ### Response #### Success Response (200) - **message** (string) - A confirmation message indicating the member was removed. #### Response Example ```json { "message": "Member removed from workspace successfully." } ``` ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.