> ## Documentation Index
> Fetch the complete documentation index at: https://deepline.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Salesforge Get Workspaces Workspaceid Mailboxes Mailboxid

> Get thread. Salesforge Salesforge Get Workspaces Workspaceid Mailboxes Mailboxid Threads Threadid docs include request fields, response shape, pricing notes

## Run in Enrichment Spreadsheet

<Info>
  Use this function as a column step in `deepline enrich`.
</Info>

```bash theme={null}
deepline enrich --input leads.csv --output leads.enriched.csv --with 'result=salesforge_get_workspaces_workspaceid_mailboxes_mailboxid_threads_threadid:{"workspaceID":"{{workspaceID}}","mailboxID":"{{mailboxID}}","threadID":"{{threadID}}"}' --json
```

<Tip>
  Map payload values to spreadsheet columns with `{{column_name}}` placeholders.
</Tip>

## Input Schema

| Name                  | Type     | Required | Default | Description  |
| --------------------- | -------- | -------- | ------- | ------------ |
| `payload.workspaceID` | `string` | Yes      |         | Workspace ID |
| `payload.mailboxID`   | `string` | Yes      |         | Mailbox ID   |
| `payload.threadID`    | `string` | Yes      |         | Thread ID    |

<details>
  <summary>Show raw input schema</summary>

  ### Input JSON Schema

  ```json theme={null}
  {
    "type": "object",
    "description": "Get thread information.",
    "properties": {
      "workspaceID": {
        "type": "string",
        "description": "Workspace ID"
      },
      "mailboxID": {
        "type": "string",
        "description": "Mailbox ID"
      },
      "threadID": {
        "type": "string",
        "description": "Thread ID"
      }
    },
    "required": [
      "workspaceID",
      "mailboxID",
      "threadID"
    ],
    "additionalProperties": false
  }
  ```
</details>

## Output Schema

| Name          | Type     | Required | Default | Description                                    |
| ------------- | -------- | -------- | ------- | ---------------------------------------------- |
| `result.data` | `object` | Yes      |         | Provider response payload.                     |
| `result.meta` | `object` | No       |         | Additional response metadata (status, paging). |

<details>
  <summary>Show raw output schema</summary>

  ### Output JSON Schema

  ```json theme={null}
  {
    "type": "object",
    "description": "Standard tool result payload.",
    "properties": {
      "data": {
        "type": "object",
        "description": "Provider response payload.",
        "properties": {
          "contact": {
            "type": "object",
            "properties": {
              "company": {
                "type": "string"
              },
              "email": {
                "type": "string"
              },
              "firstName": {
                "type": "string"
              },
              "id": {
                "type": "string"
              },
              "lastName": {
                "type": "string"
              },
              "linkedinUrl": {
                "type": "string"
              }
            },
            "additionalProperties": false
          },
          "emails": {
            "type": "array",
            "uniqueItems": false,
            "items": {
              "type": "object",
              "properties": {
                "attachments": {
                  "type": "array",
                  "uniqueItems": false,
                  "items": {
                    "type": "object",
                    "properties": {
                      "contentId": {
                        "type": "string"
                      },
                      "contentType": {
                        "type": "string"
                      },
                      "embedded": {
                        "type": "boolean"
                      },
                      "filename": {
                        "type": "string"
                      },
                      "id": {
                        "type": "string"
                      },
                      "inline": {
                        "type": "boolean"
                      },
                      "size": {
                        "type": "integer"
                      }
                    },
                    "additionalProperties": false
                  }
                },
                "bccs": {
                  "type": "array",
                  "uniqueItems": false,
                  "items": {
                    "type": "object",
                    "properties": {
                      "email": {
                        "type": "string"
                      },
                      "name": {
                        "type": "string"
                      }
                    },
                    "additionalProperties": false
                  }
                },
                "ccs": {
                  "type": "array",
                  "uniqueItems": false,
                  "items": {
                    "type": "object",
                    "properties": {
                      "email": {
                        "type": "string"
                      },
                      "name": {
                        "type": "string"
                      }
                    },
                    "additionalProperties": false
                  }
                },
                "content": {
                  "type": "string"
                },
                "date": {
                  "type": "string"
                },
                "emailId": {
                  "type": "string"
                },
                "fromAddress": {
                  "type": "string"
                },
                "id": {
                  "type": "string"
                },
                "subject": {
                  "type": "string"
                },
                "toAddress": {
                  "type": "string"
                },
                "tos": {
                  "type": "array",
                  "uniqueItems": false,
                  "items": {
                    "type": "object",
                    "properties": {
                      "email": {
                        "type": "string"
                      },
                      "name": {
                        "type": "string"
                      }
                    },
                    "additionalProperties": false
                  }
                },
                "type": {
                  "type": "string"
                }
              },
              "additionalProperties": false
            }
          },
          "linkedinMessages": {
            "type": "array",
            "uniqueItems": false,
            "items": {
              "type": "object",
              "properties": {
                "accountId": {
                  "type": "integer"
                },
                "attachments": {
                  "type": "array",
                  "uniqueItems": false,
                  "items": {
                    "type": "object",
                    "properties": {
                      "contentType": {
                        "type": "string"
                      },
                      "filename": {
                        "type": "string"
                      },
                      "id": {
                        "type": "string"
                      },
                      "size": {
                        "type": "integer"
                      },
                      "type": {
                        "type": "string"
                      },
                      "url": {
                        "type": "string"
                      }
                    },
                    "additionalProperties": false
                  }
                },
                "date": {
                  "type": "string"
                },
                "direction": {
                  "type": "string",
                  "enum": [
                    "inbound",
                    "outbound"
                  ]
                },
                "firstName": {
                  "type": "string"
                },
                "id": {
                  "type": "string"
                },
                "lastName": {
                  "type": "string"
                },
                "linkedinUrl": {
                  "type": "string"
                },
                "message": {
                  "type": "string"
                },
                "profilePictureUrl": {
                  "type": "string"
                },
                "subject": {
                  "type": "string"
                }
              },
              "additionalProperties": false
            }
          },
          "sequence": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "name": {
                "type": "string"
              },
              "product": {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "string"
                  },
                  "internalName": {
                    "type": "string"
                  },
                  "translations": {
                    "type": "array",
                    "uniqueItems": false,
                    "items": {
                      "type": "object",
                      "properties": {
                        "costOfInaction": {
                          "type": "string"
                        },
                        "idealCustomerProfile": {
                          "type": "string"
                        },
                        "industry": {
                          "type": "string"
                        },
                        "language": {
                          "type": "string",
                          "enum": [
                            "russian",
                            "ukrainian",
                            "finnish",
                            "american_english",
                            "british_english",
                            "french",
                            "spanish",
                            "polish",
                            "romanian",
                            "german",
                            "lithuanian",
                            "dutch",
                            "latvian",
                            "italian",
                            "czech",
                            "hungarian",
                            "japanese",
                            "brazilian_portugese",
                            "swedish",
                            "danish",
                            "norwegian",
                            "estonian"
                          ]
                        },
                        "name": {
                          "type": "string"
                        },
                        "pain": {
                          "type": "string"
                        },
                        "proofPoints": {
                          "type": "string"
                        },
                        "solution": {
                          "type": "string"
                        }
                      },
                      "additionalProperties": false
                    }
                  }
                },
                "additionalProperties": false
              },
              "status": {
                "type": "string",
                "enum": [
                  "active",
                  "draft",
                  "paused",
                  "deleted",
                  "completed",
                  "video_pending"
                ]
              }
            },
            "additionalProperties": false
          }
        },
        "additionalProperties": false
      },
      "meta": {
        "type": "object",
        "description": "Additional response metadata (status, paging).",
        "additionalProperties": true
      }
    },
    "required": [
      "data"
    ],
    "additionalProperties": false
  }
  ```
</details>

## Advanced: Direct CLI

<Info>
  Use direct execution for single payload debugging.
</Info>

```bash theme={null}
deepline tools execute salesforge_get_workspaces_workspaceid_mailboxes_mailboxid_threads_threadid --payload '{
  "workspaceID": "string",
  "mailboxID": "string",
  "threadID": "string"
}' --json
```

### CLI flags

| Flag                        | Description                                         |
| --------------------------- | --------------------------------------------------- |
| `--json`                    | Print machine-readable output.                      |
| `--wait`                    | Wait for terminal provider status when supported.   |
| `--debug`                   | Enable wait mode with additional status/log output. |
| `--wait-timeout SECONDS`    | Max seconds to wait in wait mode.                   |
| `--poll-interval SECONDS`   | Polling interval in seconds during wait mode.       |
| `--timeout SECONDS`         | Request timeout in seconds.                         |
| `--connect-timeout SECONDS` | Connection timeout in seconds.                      |

## Cost

* Pricing model: `fixed` (per call).
* Estimated Deepline credits: `0` per pricing unit.
* Provider-native pricing may still exist outside Deepline credit billing.
* Billing mode: `no_bill`.
