# Create Signer — IgniSign

> Creates a new signer entity in IgniSign. See the documentation

- Key: `ignisign-create-signer`
- Type: Action (Write)
- Version: 0.0.2
- App: IgniSign (`ignisign`) — https://pipedream.com/apps/ignisign.md
- This page (HTML): https://pipedream.com/apps/ignisign/actions/create-signer
- Hints: open-world
- Source: https://github.com/PipedreamHQ/pipedream/blob/master/components/ignisign/actions/create-signer/create-signer.mjs

## Description

Creates a new signer entity in IgniSign. [See the documentation](https://ignisign.io/docs/ignisign-api/create-signer)

## Props

| Prop | Type | Required | Description |
|---|---|---|---|
| `signerProfileId` | `string` | No | The unique identifier of the signer profile Options are loaded from the connected account. |
| `externalId` | `string` | No | An external identifier for the signer |
| `firstName` | `string` | No | The first name of the signer |
| `lastName` | `string` | No | The last name of the signer |
| `email` | `string` | Yes | The email of the signer |
| `phoneNumber` | `string` | No | The phone number of the signer |
| `nationality` | `string` | No | The nationality of the signer in ISO 3166-1 alpha-2 |
| `birthDate` | `string` | No | The birth date of the signer |
| `birthPlace` | `string` | No | The place of birth of the signer |
| `birthCountry` | `string` | No | The country of birth of the signer in ISO 3166-1 alpha-2 |

## Run it

**MCP**

```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": "ignisign",
      },
    },
  },
)

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

const { tools } = await mcp.listTools()

// listTools() hands your model this tool's input schema, so it can
// fill the arguments itself:
const result = await mcp.callTool({
  name: "ignisign-create-signer",
  arguments: {
    signerProfileId: "Signer Profile ID",
    externalId: "External ID",
  },
})
```

**TypeScript**

```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: "ignisign-create-signer",
  externalUserId: "{external_user_id}", // any stable ID for this user in your system
  configuredProps: {
    ignisign: { authProvisionId: "apn_xxxxxxx" },
    signerProfileId: "Signer Profile ID",
    externalId: "External ID",
  },
})

console.log(result)
```

**cURL**

```bash
curl -X POST https://api.pipedream.com/v1/connect/{project_id}/actions/run \
  -H "Content-Type: application/json" \
  -H "X-PD-Environment: production" \
  -H "Authorization: Bearer {access_token}" \
  -d '{
    "external_user_id": "{external_user_id}",
    "id": "ignisign-create-signer",
    "configured_props": {
      "ignisign": { "authProvisionId": "apn_xxxxxxx" },
      "signerProfileId": "Signer Profile ID",
      "externalId": "External ID"
    }
  }'
```

---

- App: https://pipedream.com/apps/ignisign.md · All apps: https://pipedream.com/apps
