# Ashby — Pipedream Connect

> All-in-one Recruiting Software for Ambitious Teams

- API slug: `ashby` (use in MCP headers and tool keys)
- Auth: API key (Pipedream-managed)
- Categories: Human Resources
- Website: https://www.ashbyhq.com
- This page (HTML): https://pipedream.com/apps/ashby
- Tools: 11 actions · 0 triggers

## Connect via MCP (recommended)

- Endpoint: `https://remote.mcp.pipedream.net/v3`
- Headers: `Authorization: Bearer <token>` · `x-pd-project-id` · `x-pd-environment` · `x-pd-external-user-id` · `x-pd-app-slug: ashby`

```ts
import { Client } from "@modelcontextprotocol/sdk/client/index.js"
import { StreamableHTTPClientTransport } from "@modelcontextprotocol/sdk/client/streamableHttp.js"
import { PipedreamClient } from "@pipedream/sdk"

const pd = new PipedreamClient({
  projectId: process.env.PIPEDREAM_PROJECT_ID!,
  clientId: process.env.PIPEDREAM_CLIENT_ID!,
  clientSecret: process.env.PIPEDREAM_CLIENT_SECRET!,
  projectEnvironment: "production",
})

const accessToken = await pd.rawAccessToken

const transport = new StreamableHTTPClientTransport(
  new URL("https://remote.mcp.pipedream.net/v3"),
  {
    requestInit: {
      headers: {
        Authorization: `Bearer ${accessToken}`,
        "x-pd-project-id": process.env.PIPEDREAM_PROJECT_ID!,
        "x-pd-environment": "production",
        "x-pd-external-user-id": "{external_user_id}", // any stable ID for this user in your system
        "x-pd-app-slug": "ashby",
      },
    },
  },
)

const mcp = new Client({ name: "my-agent", version: "1.0.0" })
await mcp.connect(transport)

const { tools } = await mcp.listTools()

// e.g. run Create Application:
const result = await mcp.callTool({
  name: "ashby-create-application",
  arguments: {
    candidateId: "Candidate ID",
    jobId: "Job ID",
  },
})
```

Docs: [MCP guide](https://pipedream.com/docs/connect/mcp/developers.md)

## API proxy

For a Ashby endpoint with no pre-built tool, the proxy forwards your request with the connected user's credentials attached.

```bash
# The path segment is the target URL, URL-safe base64 encoded:
# https://api.ashbyhq.com/user.list

curl "https://api.pipedream.com/v1/connect/{project_id}/proxy/aHR0cHM6Ly9hcGkuYXNoYnlocS5jb20vdXNlci5saXN0?external_user_id={external_user_id}&account_id=apn_xxxxxxx" \
  -H "Authorization: Bearer {access_token}" \
  -H "x-pd-environment: production"
```

Docs: [API proxy guide](https://pipedream.com/docs/connect/api-proxy.md)

## SDK

```ts
import { PipedreamClient } from "@pipedream/sdk"

const pd = new PipedreamClient({
  projectId: process.env.PIPEDREAM_PROJECT_ID!,
  clientId: process.env.PIPEDREAM_CLIENT_ID!,
  clientSecret: process.env.PIPEDREAM_CLIENT_SECRET!,
  projectEnvironment: "production",
})

const result = await pd.actions.run({
  id: "ashby-create-application",
  externalUserId: "{external_user_id}", // any stable ID for this user in your system
  configuredProps: {
    ashby: { authProvisionId: "apn_xxxxxxx" },
    candidateId: "Candidate ID",
    jobId: "Job ID",
  },
})
```

Docs: [Managed auth guide](https://pipedream.com/docs/connect/managed-auth/quickstart.md) · [Tools guide](https://pipedream.com/docs/connect/components.md)

## Actions (11)

### `ashby-create-application` — Create Application (Write)

Considers a candidate for a job (e.g., when sourcing a candidate for a job posting). See the documentation

Full schema: https://pipedream.com/apps/ashby/actions/create-application.md

### `ashby-create-candidate` — Create Candidate (Write)

Creates a new candidate in Ashby. See the documentation

Full schema: https://pipedream.com/apps/ashby/actions/create-candidate.md

### `ashby-create-interview-schedule` — Create Interview Schedule (Write)

Creates a scheduled interview. See the documentation

Full schema: https://pipedream.com/apps/ashby/actions/create-interview-schedule.md

### `ashby-create-offer` — Create Offer (Write)

Creates a new offer. See the documentation

Full schema: https://pipedream.com/apps/ashby/actions/create-offer.md

### `ashby-get-candidate` — Get Candidate (Read-only)

Retrieves the details of a specific candidate by ID. See the documentation

Full schema: https://pipedream.com/apps/ashby/actions/get-candidate.md

### `ashby-get-candidate-resume-file` — Get Candidate Resume File (Read-only)

Retrieves the URL of a candidate's resume file. Equivalent to calling the Get Candidate and Get File URL actions in succession. See the documentation here and here

Full schema: https://pipedream.com/apps/ashby/actions/get-candidate-resume-file.md

### `ashby-get-file-url` — Get File URL (Read-only)

Retrieves the URL of a file associated with a candidate. See the documentation

Full schema: https://pipedream.com/apps/ashby/actions/get-file-url.md

### `ashby-list-applications` — List Applications (Read-only)

Retrieves a list of applications within an organization. See the documentation

Full schema: https://pipedream.com/apps/ashby/actions/list-applications.md

### `ashby-search-candidates` — Search Candidates (Read-only)

Search candidates by email and/or name. Limited to 100 results. See the documentation

Full schema: https://pipedream.com/apps/ashby/actions/search-candidates.md

### `ashby-start-offer` — Start Offer (Write)

Starts an offer and returns an offer form instance that can be filled out and submitted. See the documentation

Full schema: https://pipedream.com/apps/ashby/actions/start-offer.md

### `ashby-start-offer-process` — Start Offer Process (Write)

Starts an offer process for a candidate. See the documentation

Full schema: https://pipedream.com/apps/ashby/actions/start-offer-process.md

---

- All apps: https://pipedream.com/apps — index: https://pipedream.com/llms.txt
- Pipedream docs for agents: https://pipedream.com/docs/llms.txt
