← Sendfox (Personal Access Token)

Create contact with Sendfox (Personal Access Token) API

Pipedream makes it easy to connect APIs for Sendfox (Personal Access Token) and 900+ other apps remarkably fast.

Trigger workflow on
HTTP requests, schedules and app events
Next, do this
Create contact with the Sendfox (Personal Access Token) API
No credit card required
Into to Pipedream
Watch us build a workflow
Watch us build a workflow
7 min
Watch now ➜
Trusted by 250,000+ developers from startups to Fortune 500 companies:
Trusted by 250,000+ developers from startups to Fortune 500 companies

Developers Pipedream

Getting Started

Create a workflow to Create contact with the Sendfox (Personal Access Token) API. When you configure and deploy the workflow, it will run on Pipedream's servers 24x7 for free.

  1. Configure the Create contact action
    1. Connect your Sendfox (Personal Access Token) account
    2. Configure email
    3. Optional- Configure first_name
    4. Optional- Configure last_name
    5. Optional- Configure lists
  2. Select a trigger to run your workflow on HTTP requests, schedules or app events
  3. Deploy the workflow
  4. Send a test event to validate your setup
  5. Turn on the trigger

Integrations

Create contact with Sendfox (Personal Access Token) API on New Requests (Payload Only) from HTTP / Webhook API
HTTP / Webhook + Sendfox (Personal Access Token)
 
Try it
Create contact with Sendfox (Personal Access Token) API on New Item in Feed from RSS API
RSS + Sendfox (Personal Access Token)
 
Try it
Create contact with Sendfox (Personal Access Token) API on New Message from Discord API
Discord + Sendfox (Personal Access Token)
 
Try it
Create contact with Sendfox (Personal Access Token) API on New Message In Channels from Slack API
Slack + Sendfox (Personal Access Token)
 
Try it
Create contact with Sendfox (Personal Access Token) API on New Message in Channel from Discord Bot API
Discord Bot + Sendfox (Personal Access Token)
 
Try it

Details

This is a pre-built, open source component from Pipedream's GitHub repo. The component is developed by Pipedream and the community, and verified and maintained by Pipedream.

To contribute an update to an existing component or create a new component, create a PR on GitHub. If you're new to Pipedream component development, you can start with quickstarts for trigger span and action development, and then review the component API reference.

Create contact on Sendfox (Personal Access Token)
Description:Creates new contact
Version:0.1.1
Key:sendfox_personal_access_token-create-contact

Code

// legacy_hash_id: a_WYiebr
import { axios } from "@pipedream/platform";

export default {
  key: "sendfox_personal_access_token-create-contact",
  name: "Create contact",
  description: "Creates new contact",
  version: "0.1.1",
  type: "action",
  props: {
    sendfox_personal_access_token: {
      type: "app",
      app: "sendfox_personal_access_token",
    },
    email: {
      type: "string",
    },
    first_name: {
      type: "string",
      optional: true,
    },
    last_name: {
      type: "string",
      optional: true,
    },
    lists: {
      type: "any",
      optional: true,
    },
  },
  async run({ $ }) {
    return await axios($, {
      url: "https://api.sendfox.com/contacts",
      method: "post",
      headers: {
        Authorization: `Bearer ${this.sendfox_personal_access_token.$auth.access_token}`,
      },
      data: {
        email: this.email,
        first_name: this.first_name,
        last_name: this.last_name,
        lists: this.lists,
      },
    });
  },
};

Configuration

This component may be configured based on the props defined in the component code. Pipedream automatically prompts for input values in the UI and CLI.
LabelPropTypeDescription
Sendfox (Personal Access Token)sendfox_personal_access_tokenappThis component uses the Sendfox (Personal Access Token) app.
emailstring
first_namestring
last_namestring
listsany

Authentication

Sendfox (Personal Access Token) uses API keys for authentication. When you connect your Sendfox (Personal Access Token) account, Pipedream securely stores the keys so you can easily authenticate to Sendfox (Personal Access Token) APIs in both code and no-code steps.

To obtain a personal access token navigate to your Accounts > API and click "Create New Token".