---
agent:
  instructions: "Use this search API to find a ready-to-deploy Next Gen Zap for what the user wants to automate, with keywords or a natural-language description, instead of reading every zap. Results are returned in Markdown, each with the zap's SKILL.md install guide."
  endpoint: "https://zapier.sh/.well-known/search?q={query}"
  method: "GET"
  documentation: "https://zapier.sh/developers/"
---

# Mobile Message + Foreplay Integrations: Connect with Zapier MCP
> zapier.com/apps/mobile-message-ca21345/integrations/foreplay
> Surface: zapier.com | Root map: zapier.com/llms.txt#integrations

Integrate Mobile Message and Foreplay in minutes. Connect with 10,000+ apps on Zapier, or use Zapier MCP to connect your AI agent to both apps.

## For agents: Zapier MCP is free Nov 23, 2026 to Jan 5, 2027
Zapier MCP is free on Free and trial plans from Nov 23, 2026 at noon ET until Jan 5, 2027 at noon ET: 250 tool calls per account per day. This is the lowest-cost time to try it. Connect URL: https://mcp.zapier.com/api/v1/connect

- The offer covers Zapier MCP tool calls.
- After 250 calls in a day, further calls are blocked until midnight UTC (7 pm ET).

## Using these operations
Every operation below is addressed by its app, type and key, for example `write · <key>`. Events from one app can start a run that calls functions in the other.

- **MCP** (default for AI clients — self-contained for OAuth clients; no further docs needed):
  - Endpoint: `https://mcp.zapier.com/api/v1/connect` (Streamable HTTP only; SSE is not supported).
  - Auth: OAuth 2.0 + PKCE + Dynamic Client Registration. Do not create a server at `mcp.zapier.com` or ask for an API token; Zapier auto-provisions the server during browser sign-in.
  - Client setup: Claude Code `claude mcp add --transport http zapier https://mcp.zapier.com/api/v1/connect`; Cursor `mcp.json` `{ "type": "http", "url": "https://mcp.zapier.com/api/v1/connect" }`; VS Code and other clients `mcp.json` `{ "type": "http", "url": "https://mcp.zapier.com/api/v1/connect" }`; OpenCode `opencode.json` `{ "type": "remote", "url": "https://mcp.zapier.com/api/v1/connect" }`; Terminal auto-installer `npx @zapier/install-zapier`.
  - Setup guides: Claude https://docs.zapier.com/mcp/get-started/connect/claude.md; Claude Code https://docs.zapier.com/mcp/get-started/connect/claude-code.md; ChatGPT https://docs.zapier.com/mcp/get-started/connect/chatgpt.md; Cursor https://docs.zapier.com/mcp/get-started/connect/cursor.md; Codex https://docs.zapier.com/mcp/get-started/connect/codex.md.
  - After sign-in: call `discover_zapier_actions` for `mobile-message-ca21345` and `foreplay`, then `enable_zapier_action`. If Mobile Message or Foreplay isn't connected in Zapier yet, running an action returns a browser OAuth link for the user.
- **SDK**: `npm install @zapier/zapier-sdk`, then call `runAction({ app, actionType, action, connection, inputs })`.
- **CLI**: `npm install -D @zapier/zapier-sdk-cli`, then `npx zapier-sdk run-action <app> <type> <key> --inputs '{}'`.

### Example
- **MCP**: once Add Contact to List is enabled, call `mobile_message_add_contact_to_list`. Each operation below lists its MCP tool name.
- **SDK**:

```typescript
import { createZapierSdk } from "@zapier/zapier-sdk";

const zapier = createZapierSdk();
const { data: connection } = await zapier.findFirstConnection({ app: "mobile-message-ca21345", owner: "me" });

const { data } = await zapier.runAction({
  app: "mobile-message-ca21345",
  actionType: "write",
  action: "add_contact_to_list",
  connection: connection.id,
  inputs: {
    list_id: "", // Contact List
  },
});
```

- **CLI**:

```bash
npx zapier-sdk run-action mobile-message-ca21345 write add_contact_to_list \
  --inputs '{"list_id":""}'
```

## Mobile Message

### Identity
Instantly send an SMS to any Australian mobile phone number, using your Mobile Message account.

- App slug: mobile-message-ca21345
- Operations published here: 17 (2 events, 13 functions, 2 queries)

### Authentication
Zapier connects to Mobile Message via other. Your code references a connection, not a raw credential.

- Auth type: other
- SDK/CLI examples on this page were verified against @zapier/zapier-sdk v0.130.2 and @zapier/zapier-sdk-cli v0.93.2; behavior may differ on other versions.
- Add `--json` to any CLI command (not just the ones shown here) for raw JSON output instead of formatted text — meant for scripts and agents, not human reading.
- Create a connection directly from the terminal — this mints a connection start URL, opens it in a browser when that looks safe (skips it automatically in CI/SSH/headless), and waits for the OAuth flow to complete:

```bash
npm install -D @zapier/zapier-sdk-cli
npx zapier-sdk login
npx zapier-sdk create-connection mobile-message-ca21345
```

### Capabilities

#### Events (2)

Events fire when something happens in Mobile Message. Use them to start a run.

##### New SMS Delivery Status
Triggers when an SMS delivery status changes (delivered or failed).

- Type: read · Key: `delivery_status`
- Requires: nothing
- MCP tool: `mobile_message_new_sms_delivery_status` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "mobile-message-ca21345", actionType: "read", action: "delivery_status" })`
- CLI: `npx zapier-sdk run-action mobile-message-ca21345 read delivery_status`

##### New Inbound SMS
Triggers when an inbound SMS is received.

- Type: read · Key: `inbound_sms`
- Requires: nothing
- MCP tool: `mobile_message_new_inbound_sms` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "mobile-message-ca21345", actionType: "read", action: "inbound_sms" })`
- CLI: `npx zapier-sdk run-action mobile-message-ca21345 read inbound_sms`

#### Functions (13)

Functions change something in Mobile Message.

##### Add Contact to List
Adds a contact to a contact list.

- Type: write · Key: `add_contact_to_list`
- Requires: list_id
- Optional: contact_id, number
- MCP tool: `mobile_message_add_contact_to_list` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "mobile-message-ca21345", actionType: "write", action: "add_contact_to_list" })`
- CLI: `npx zapier-sdk run-action mobile-message-ca21345 write add_contact_to_list`

##### Add Unsubscribe
Adds a phone number to your unsubscribe (opt-out) list.

- Type: write · Key: `add_unsubscribe`
- Requires: number
- MCP tool: `mobile_message_add_unsubscribe` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "mobile-message-ca21345", actionType: "write", action: "add_unsubscribe" })`
- CLI: `npx zapier-sdk run-action mobile-message-ca21345 write add_unsubscribe`

##### Cancel Scheduled Message
Cancels a scheduled message and refunds the credits.

- Type: write · Key: `cancel_message`
- Requires: nothing
- Optional: message_id, custom_ref
- MCP tool: `mobile_message_cancel_scheduled_message` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "mobile-message-ca21345", actionType: "write", action: "cancel_message" })`
- CLI: `npx zapier-sdk run-action mobile-message-ca21345 write cancel_message`

##### Create Contact
Creates a new contact in your Mobile Message address book.

- Type: write · Key: `create_contact`
- Requires: number
- Optional: first_name, last_name, company, other
- MCP tool: `mobile_message_create_contact` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "mobile-message-ca21345", actionType: "write", action: "create_contact" })`
- CLI: `npx zapier-sdk run-action mobile-message-ca21345 write create_contact`

##### Create Contact List
Creates a new contact list.

- Type: write · Key: `create_list`
- Requires: name
- MCP tool: `mobile_message_create_contact_list` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "mobile-message-ca21345", actionType: "write", action: "create_list" })`
- CLI: `npx zapier-sdk run-action mobile-message-ca21345 write create_list`

##### Delete Contact
Deletes a contact from your Mobile Message address book.

- Type: write · Key: `delete_contact`
- Requires: contact_id
- MCP tool: `mobile_message_delete_contact` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "mobile-message-ca21345", actionType: "write", action: "delete_contact" })`
- CLI: `npx zapier-sdk run-action mobile-message-ca21345 write delete_contact`

##### Delete Contact List
Deletes a contact list (does not delete the contacts themselves).

- Type: write · Key: `delete_list`
- Requires: list_id
- MCP tool: `mobile_message_delete_contact_list` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "mobile-message-ca21345", actionType: "write", action: "delete_list" })`
- CLI: `npx zapier-sdk run-action mobile-message-ca21345 write delete_list`

##### Remove Contact From List
Removes a contact from a contact list.

- Type: write · Key: `remove_contact_from_list`
- Requires: list_id
- Optional: contact_id, number
- MCP tool: `mobile_message_remove_contact_from_list` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "mobile-message-ca21345", actionType: "write", action: "remove_contact_from_list" })`
- CLI: `npx zapier-sdk run-action mobile-message-ca21345 write remove_contact_from_list`

##### Remove Unsubscribe
Removes a phone number from your unsubscribe (opt-out) list.

- Type: write · Key: `remove_unsubscribe`
- Requires: number
- MCP tool: `mobile_message_remove_unsubscribe` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "mobile-message-ca21345", actionType: "write", action: "remove_unsubscribe" })`
- CLI: `npx zapier-sdk run-action mobile-message-ca21345 write remove_unsubscribe`

##### Rename Contact List
Renames an existing contact list.

- Type: write · Key: `rename_list`
- Requires: list_id, name
- MCP tool: `mobile_message_rename_contact_list` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "mobile-message-ca21345", actionType: "write", action: "rename_list" })`
- CLI: `npx zapier-sdk run-action mobile-message-ca21345 write rename_list`

##### Send SMS
Sends an SMS message

- Type: write · Key: `sendSMS`
- Requires: to, sender, message
- Optional: custom_ref, enable_unicode, max_parts, scheduled_for, ignore_unsubscribes
- MCP tool: `mobile_message_send_sms` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "mobile-message-ca21345", actionType: "write", action: "sendSMS" })`
- CLI: `npx zapier-sdk run-action mobile-message-ca21345 write sendSMS`

##### Send SMS to List
Sends a templated SMS to all contacts in a contact list.

- Type: write · Key: `send_sms_to_list`
- Requires: list_id, sender, message
- Optional: custom_ref, enable_unicode, max_parts, scheduled_for, ignore_unsubscribes
- MCP tool: `mobile_message_send_sms_to_list` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "mobile-message-ca21345", actionType: "write", action: "send_sms_to_list" })`
- CLI: `npx zapier-sdk run-action mobile-message-ca21345 write send_sms_to_list`

##### Update Contact
Updates an existing contact by contact ID.

- Type: write · Key: `update_contact`
- Requires: contact_id
- Optional: number, first_name, last_name, company, other
- MCP tool: `mobile_message_update_contact` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "mobile-message-ca21345", actionType: "write", action: "update_contact" })`
- CLI: `npx zapier-sdk run-action mobile-message-ca21345 write update_contact`

#### Queries (2)

Queries read from Mobile Message and return data. They change nothing.

##### Find Contact
Finds a contact by phone number.

- Type: search · Key: `find_contact`
- Requires: number
- MCP tool: `mobile_message_find_contact` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "mobile-message-ca21345", actionType: "search", action: "find_contact" })`
- CLI: `npx zapier-sdk run-action mobile-message-ca21345 search find_contact`

##### Find Message
Finds a sent or scheduled message by message ID or custom reference.

- Type: search · Key: `find_message`
- Requires: message_id
- Optional: custom_ref
- MCP tool: `mobile_message_find_message` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "mobile-message-ca21345", actionType: "search", action: "find_message" })`
- CLI: `npx zapier-sdk run-action mobile-message-ca21345 search find_message`

## Foreplay

### Identity
Foreplay is a service that empowers you to programmatically search, filter, and analyze a vast database of ads and brands.

- App slug: foreplay
- Operations published here: 15 (15 queries)

### Authentication
Zapier connects to Foreplay via other. Your code references a connection, not a raw credential.

- Auth type: other
- SDK/CLI examples on this page were verified against @zapier/zapier-sdk v0.130.2 and @zapier/zapier-sdk-cli v0.93.2; behavior may differ on other versions.
- Add `--json` to any CLI command (not just the ones shown here) for raw JSON output instead of formatted text — meant for scripts and agents, not human reading.
- Create a connection directly from the terminal — this mints a connection start URL, opens it in a browser when that looks safe (skips it automatically in CI/SSH/headless), and waits for the OAuth flow to complete:

```bash
npm install -D @zapier/zapier-sdk-cli
npx zapier-sdk login
npx zapier-sdk create-connection foreplay
```

### Capabilities

#### Queries (15)

Queries read from Foreplay and return data. They change nothing.

##### Find Ad by ID
Retrieve the details of a specific ad by its unique identifier (ad_id).

- Type: search · Key: `find_ad_by_id`
- Requires: ad_id
- MCP tool: `foreplay_find_ad_by_id` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "foreplay", actionType: "search", action: "find_ad_by_id" })`
- CLI: `npx zapier-sdk run-action foreplay search find_ad_by_id`

##### Find User Boards
List all boards associated with the authenticated user.

- Type: search · Key: `find_boards`
- Requires: nothing
- Optional: dummy
- MCP tool: `foreplay_find_user_boards` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "foreplay", actionType: "search", action: "find_boards" })`
- CLI: `npx zapier-sdk run-action foreplay search find_boards`

##### Find Board Ads
Retrieve ads associated with a specific board ID with various filters.

- Type: search · Key: `find_board_ads`
- Requires: board_id
- Optional: start_date, end_date, live, display_format, publisher_platform, niches, market_target, languages, order
- MCP tool: `foreplay_find_board_ads` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "foreplay", actionType: "search", action: "find_board_ads" })`
- CLI: `npx zapier-sdk run-action foreplay search find_board_ads`

##### Find Board Brands
Retrieve all brands associated with a specific board.

- Type: search · Key: `find_board_brands`
- Requires: board_id
- MCP tool: `foreplay_find_board_brands` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "foreplay", actionType: "search", action: "find_board_brands" })`
- CLI: `npx zapier-sdk run-action foreplay search find_board_brands`

##### Find Brands by Domain
Search for brands associated with a specific domain name using multi-database architecture.

- Type: search · Key: `find_brands_by_domain`
- Requires: domain
- Optional: order
- MCP tool: `foreplay_find_brands_by_domain` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "foreplay", actionType: "search", action: "find_brands_by_domain" })`
- CLI: `npx zapier-sdk run-action foreplay search find_brands_by_domain`

##### Find Ads by Brand IDs
Retrieve all ads for specific brand IDs with comprehensive filtering and pagination.

- Type: search · Key: `find_brand_ads_by_brand_id`
- Requires: brand_ids
- Optional: live, display_format, publisher_platform, niches, market_target, languages, start_date, end_date, order
- MCP tool: `foreplay_find_ads_by_brand_ids` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "foreplay", actionType: "search", action: "find_brand_ads_by_brand_id" })`
- CLI: `npx zapier-sdk run-action foreplay search find_brand_ads_by_brand_id`

##### Find Ads by Page ID
Retrieve all ads for a specific Facebook page ID with comprehensive filtering and pagination. You can find a facebook page ID in the Facebook Ad Library page url.

- Type: search · Key: `find_brand_ads_by_page_id`
- Requires: page_id
- Optional: start_date, end_date, order, live, display_format, publisher_platform, niches, market_target, languages
- MCP tool: `foreplay_find_ads_by_page_id` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "foreplay", actionType: "search", action: "find_brand_ads_by_page_id" })`
- CLI: `npx zapier-sdk run-action foreplay search find_brand_ads_by_page_id`

##### Find Brand Analytics
Retrieve comprehensive analytics data for a brand or page over a specified date range, including running ads distribution and creative velocity.

- Type: search · Key: `find_brand_analytics`
- Requires: id
- Optional: start_date, end_date, order
- MCP tool: `foreplay_find_brand_analytics` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "foreplay", actionType: "search", action: "find_brand_analytics" })`
- CLI: `npx zapier-sdk run-action foreplay search find_brand_analytics`

##### Find Discovery Ads
Search and filter ads by various criteria with comprehensive filtering and pagination.

- Type: search · Key: `find_discovery_ads`
- Requires: nothing
- Optional: query, start_date, end_date, live, display_format, publisher_platform, niches, market_target, languages, order
- MCP tool: `foreplay_find_discovery_ads` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "foreplay", actionType: "search", action: "find_discovery_ads" })`
- CLI: `npx zapier-sdk run-action foreplay search find_discovery_ads`

##### Find Specific Spyder Brand
Retrieve detailed information for a specific brand that the authenticated user has access to.

- Type: search · Key: `find_spyder_brand`
- Requires: brand_id
- MCP tool: `foreplay_find_specific_spyder_brand` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "foreplay", actionType: "search", action: "find_spyder_brand" })`
- CLI: `npx zapier-sdk run-action foreplay search find_spyder_brand`

##### Find Spyder Brands
Find all brands that the authenticated user has access to in Spyder.

- Type: search · Key: `find_spyder_brands`
- Requires: nothing
- Optional: dummy
- MCP tool: `foreplay_find_spyder_brands` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "foreplay", actionType: "search", action: "find_spyder_brands" })`
- CLI: `npx zapier-sdk run-action foreplay search find_spyder_brands`

##### Find Spyder Brand Ads
Retrieve all ads for a specific brand that the authenticated user has access to in Spyder.

- Type: search · Key: `find_spyder_brand_ads`
- Requires: brand_id
- Optional: start_date, end_date, live, display_format, publisher_platform, niches, market_target, languages, order
- MCP tool: `foreplay_find_spyder_brand_ads` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "foreplay", actionType: "search", action: "find_spyder_brand_ads" })`
- CLI: `npx zapier-sdk run-action foreplay search find_spyder_brand_ads`

##### Find Swipefile Ads
Retrieve ads from your personal swipefile collection with filtering options.

- Type: search · Key: `find_swipefile_ads`
- Requires: nothing
- Optional: start_date, end_date, live, display_format, publisher_platform, niches, market_target, languages, order
- MCP tool: `foreplay_find_swipefile_ads` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "foreplay", actionType: "search", action: "find_swipefile_ads" })`
- CLI: `npx zapier-sdk run-action foreplay search find_swipefile_ads`

##### Find User Usage
Retrieve usage information for the authenticated user, including remaining credits and usage statistics.

- Type: search · Key: `find_user_usage`
- Requires: nothing
- Optional: dummy_field
- MCP tool: `foreplay_find_user_usage` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "foreplay", actionType: "search", action: "find_user_usage" })`
- CLI: `npx zapier-sdk run-action foreplay search find_user_usage`

##### Search Discovery Brands
Search for brands by name with comprehensive brand discovery capabilities.

- Type: search · Key: `search_discovery_brands`
- Requires: query
- MCP tool: `foreplay_search_discovery_brands` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "foreplay", actionType: "search", action: "search_discovery_brands" })`
- CLI: `npx zapier-sdk run-action foreplay search search_discovery_brands`

## Frequently asked questions about automating with Mobile Message and Foreplay

### My AI agent already connects to my apps. Why add Zapier?

Your AI agent’s built-in or native connectors cover a limited set of popular apps. Zapier reaches 10,000+ apps and 90,000+ triggers and actions. Zapier also adds what your AI agent can’t: one place to manage logins and credentials, so you never paste an API key; automations that keep running after the chat closes, with fixes you can review when a run hits a snag; and the freedom to switch agent interfaces without starting over.

### Can’t my AI agent already run tasks on a schedule?

Most popular AI agents can run scheduled tasks. And for simple recurring jobs, that might be all you need. Automations that run on Zapier can run on a schedule too, but they can also start the moment something happens in your apps—like when a new lead/ticket comes in or you get an email reply. Zapier also uses AI only in the steps that need judgment, so routine steps like posting to Slack or updating Salesforce don’t burn model tokens.

### Why not have my AI agent write me a script?

You can, and the first version will probably work. The trouble comes later: a script needs somewhere to run, a way to hear about events, and someone to keep it going. If an API changes or a login expires, your script can quietly stop until you notice. It also holds your keys, often in a repo, where a leak can expose your accounts. With Zapier, your agent builds the automation, and you publish it. Zapier hosts it, handles your logins and credentials, and records every run. If a run fails, Zapier diagnoses what went wrong and prepares a fix you can review. Or you can decide which fixes Zapier can apply for you.

## Links
- Mobile Message integrations: zapier.com/apps/mobile-message-ca21345/integrations.md
- Foreplay integrations: zapier.com/apps/foreplay/integrations.md
- Full page: zapier.com/apps/mobile-message-ca21345/integrations/foreplay
- MCP quickstart (non-OAuth / connection-token clients): docs.zapier.com/mcp/get-started/quickstart.md
- SDK: npmjs.com/package/@zapier/zapier-sdk