> For the complete documentation index, see [llms.txt](https://docs.fastn.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.fastn.ai/connectors/catalog/crm-sales/velocify.md). Agents can also search and read this documentation through its [MCP server](https://docs.fastn.ai/~gitbook/mcp).

# Velocify

Velocify is a lead management and dialing platform for high-volume sales teams. Add leads, manage agents and campaigns, and distribute leads.

![Velocify logo](https://1255842839-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3iSr2Tx8FvvuoLPncziH%2Fuploads%2Fgit-blob-f5b4d89813e8bf6aa183fbb4b8fc3f40f4997fed%2Fvelocify.png?alt=media)

|                    |                                                                          |
| ------------------ | ------------------------------------------------------------------------ |
| **Category**       | [CRM and sales](https://docs.fastn.ai/connectors/catalog/crm-sales.md)   |
| **Website**        | [velocify.com](https://velocify.com)                                     |
| **Authentication** | Username and password                                                    |
| **Slug**           | `velocify`                                                               |
| **On fastn.ai**    | [Embed Velocify in your product](https://fastn.ai/integrations/velocify) |

## Setup

Your customers enter their username and password for Velocify when they connect. Nothing else needs setting up.

## Connect in Fastn

Your customers connect Velocify from your widget. To connect an account yourself:

1. Go to **Build → Integrations → Connectors** and search for **Velocify**.
2. Select **Connect** on the Velocify card.

   <figure><img src="https://1255842839-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3iSr2Tx8FvvuoLPncziH%2Fuploads%2Fgit-blob-586dd03cdc0c6904263f58928d7a531eae2f85df%2Fconnect-search.png?alt=media" alt="The Connectors page in Fastn with ServiceNow typed in the search box and the ServiceNow card showing a Connect button"><figcaption><p>Search for the connector, then select Connect on its card. ServiceNow is shown here.</p></figcaption></figure>
3. Fill in the fields the form asks for, using the values from [Setup](#setup) above. Then select **Connect**.

   <figure><img src="https://1255842839-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3iSr2Tx8FvvuoLPncziH%2Fuploads%2Fgit-blob-51fb88ef328c525b5b11f8d7094bab11efc333b8%2Fconnect-credentials.png?alt=media" alt="The Connect ServiceNow dialog with an optional account name and the Instance, Username and Password fields, and Cancel and Connect buttons"><figcaption><p>A connect form that asks for credentials. Each connector asks for its own fields.</p></figcaption></figure>
4. Check that the connection appears under **Operate → Connections** with the status `Active`. Your workflows can now use Velocify's actions.

For more detail, see [Connect an app](https://docs.fastn.ai/build/integrations/connectors/connect-an-app.md).

## Actions

<table><thead><tr><th width="240">Action</th><th width="260">Slug</th><th>What it does</th></tr></thead><tbody><tr><td>Add Agent</td><td><code>addAgent</code></td><td>Create a new LeadManager user (agent). SOAP-only on the vendor side because the agent payload is an XML fragment, so this action posts a SOAP 1.1 envelope. Supply agentDataXml as an AddAgent document per AddAgent.Request.xsd, e.g. &#x3C;AddAgent>&#x3C;Email>a@b.com&#x3C;/Email>&#x3C;FirstName>Jane&#x3C;/FirstName>&#x3C;LastName>Doe&#x3C;/LastName>&#x3C;Position>Loan Officer&#x3C;/Position>&#x3C;WorkPhone>5551234567&#x3C;/WorkPhone>&#x3C;ReceivingLeads>true&#x3C;/ReceivingLeads>&#x3C;/AddAgent>. Other supported elements: EmailMobile, WorkPhoneExt, MobilePhone, MobilePhoneProvider, Fax, OtherPhone, OtherPhoneExt, Note, Custom1-4, SMSNotificationEnabled, CalendarStartHour, CalendarEndHour, CalendarHighLights, SaveFilterCriteria, Verified, ReceivingCalls.</td></tr><tr><td>Add Agent Role</td><td><code>addAgentRole</code></td><td>Grant a LeadManager security role to a user within a group. SOAP-only on the vendor side, so this action posts a SOAP 1.1 envelope. Supply agentDataXml as an AgentRole document per AddAgentRole.Request.xsd: &#x3C;AgentRole>&#x3C;UserEmail>a@b.com&#x3C;/UserEmail>&#x3C;Group>Sales&#x3C;/Group>&#x3C;Role>Manager&#x3C;/Role>&#x3C;/AgentRole>. Group and Role are names, not ids.</td></tr><tr><td>Add Agent To Group</td><td><code>addAgentToGroup</code></td><td>Move a LeadManager user into an agent group. SOAP-only on the vendor side, so this action posts a SOAP 1.1 envelope. Supply groupDataXml as an AddAgentToGroup document per AddAgentToGroup.Request.xsd: &#x3C;AddAgentToGroup>&#x3C;UserEmail>a@b.com&#x3C;/UserEmail>&#x3C;Group>Sales&#x3C;/Group>&#x3C;/AddAgentToGroup>. Group is the group name, not the id.</td></tr><tr><td>Add Campaign</td><td><code>addCampaign</code></td><td>Create a new campaign (lead source) in the LeadManager database. Resolve campaignTypeId with getCampaignTypes and providerId with getProviders. costPerLead feeds the Campaign Cost Assessment report. Returns an XML Response document; HTTP 200 does not imply success, read statusId and message.</td></tr><tr><td>Add Direct Mail Leads</td><td><code>addDirectMailLeads</code></td><td>Load direct mail records into Velocify. These sit in the direct mail pool and only become real leads when a recipient responds and takeDirectMailLeadByDirectMailId or takeDirectMailLeadByRefId converts them. SOAP-only on the vendor side, so this action posts a SOAP 1.1 envelope. Records are keyed by field title rather than field id.</td></tr><tr><td>Add Email Opt Out</td><td><code>addOptOut</code></td><td>Add an email address to the LeadManager opt-out list, suppressing further marketing email to it. Compliance-critical: call this whenever an unsubscribe is recorded upstream. Returns an XML Response document; read statusId and message.</td></tr><tr><td>Add Field</td><td><code>addField</code></td><td>Add a new field to the FormBuilder in the LeadManager database. Resolve fieldTypeId with getFieldTypes, visibilityTypeId with getVisibilityTypes and groupId with getFieldGroups. The new FieldId is returned and can then be used in lead reads and writes. Returns an XML Response document; read statusId and message.</td></tr><tr><td>Add Field Group</td><td><code>addFieldGroup</code></td><td>Add a new field group (lead form section) to the FormBuilder in the LeadManager database. The new FieldGroupId is returned and can then be passed as groupId to addField. Returns an XML Response document; read statusId and message.</td></tr><tr><td>Add Lead Action</td><td><code>addLeadAction</code></td><td>Log an activity (action) against an existing lead - a call attempt, email, note or any tenant-defined action type. ActionTypeIds are per-tenant; resolve them with getActionTypes, which also reports whether a note is mandatory for that action type. Logging an action is what fires any Manage Posts outbound post configured against that action. Returns an XML Response document; HTTP 200 does not imply success.</td></tr><tr><td>Add Leads</td><td><code>addLeads</code></td><td>Create one or more leads. This is the only way to create a lead through the API. Velocify exposes it over SOAP only, because the lead payload is an arbitrary XML fragment, so this action posts a SOAP 1.1 envelope. Supply leadsXml as a Leads document, e.g. &#x3C;Leads>&#x3C;Lead>&#x3C;Status StatusId="2"/>&#x3C;Campaign CampaignId="3"/>&#x3C;Agent AgentId="1"/>&#x3C;Fields>&#x3C;Field FieldId="2" Value="John"/>&#x3C;Field FieldId="4" Value="a@b.com"/>&#x3C;/Fields>&#x3C;/Lead>&#x3C;/Leads>. No child node is required; omitted Status and Campaign fall back to the tenant defaults and an omitted Agent leaves the lead unassigned. FieldIds are per-tenant - resolve them with getFields. Each lead is reported individually in the response, so a 200 can still contain per-lead failures.</td></tr></tbody></table>

<details>

<summary>View 58 more actions</summary>

<table><thead><tr><th width="240">Action</th><th width="260">Slug</th><th>What it does</th></tr></thead><tbody><tr><td>Add Leads With Form Type</td><td><code>addLeadsEx</code></td><td>Create one or more leads, with the ability to set the LeadFormType on each. Identical to addLeads apart from that. SOAP-only on the vendor side, so this action posts a SOAP 1.1 envelope. Resolve available form types with getLeadFormTypes and FieldIds with getFields. Each lead is reported individually, so a 200 can still contain per-lead failures.</td></tr><tr><td>Assign Lead Via Distribution</td><td><code>assignViaDistribution</code></td><td>Assign a lead to an agent through a Velocify distribution program, so the assignment respects the program's routing rules, shark-tank and notification behaviour rather than bypassing them. Resolve programId with getPrograms and pick an eligible agentId with getAgentsQualified or getQualifiedAgents for that program and lead. Returns an XML Response document.</td></tr><tr><td>Copy Lead</td><td><code>copyLead</code></td><td>Duplicate an existing lead, creating a new lead record from it. Note the parameter is capitalised LeadId on this operation, unlike the rest of the API. Returns an XML Response document carrying the new lead's result.</td></tr><tr><td>Deactivate Agent</td><td><code>deactivateAgent</code></td><td>Deactivate a LeadManager user by email address, revoking their access. Use disableReceiveLeads instead if you only want to stop routing new leads to them while keeping them active. Returns an XML Response document.</td></tr><tr><td>Delete Call Recordings</td><td><code>deleteCallRecordings</code></td><td>Delete Dial-IQ call recordings within an inclusive date/time range. Destructive and typically used for retention or right-to-erasure compliance. The response reports how many recordings were deleted, how many deletions failed, and whether more remain in the window - re-run until PossibleRecordingsRemaining reports none.</td></tr><tr><td>Delete SMS Opt Out</td><td><code>deleteSmsOptOut</code></td><td>Opt phone numbers back in to SMS messaging, clearing their SMS opt-outs. The WSDL declares phoneNumbers (ArrayOfString) alongside the credentials, and the vendor operation page documents it as "The Phone Numbers to Opt In to SMS Messaging". ASP.NET binds a repeated phoneNumbers query parameter to that array, so pass one phone number per repetition. Returns an XML Response document.</td></tr><tr><td>Disable Receive Leads For Agent</td><td><code>disableReceiveLeads</code></td><td>Stop routing new leads to an agent without deactivating their account, identified by email address. Typically used to take a loan officer out of distribution while they are out of office. Returns an XML Response document.</td></tr><tr><td>Get Action Types</td><td><code>getActionTypes</code></td><td>Return the action types available in the LeadManager database, each reporting whether a note is mandatory, whether it counts as a contact attempt, and which milestone and distribution program it belongs to. Resolve actionTypeId here before calling addLeadAction. Returns an XML ActionTypes document.</td></tr><tr><td>Get Agent</td><td><code>getAgent</code></td><td>Return a single user (agent) by AgentId, with contact details, position, group membership and the four custom agent fields. Returns an XML Agents document.</td></tr><tr><td>Get Agent Groups</td><td><code>getGroups</code></td><td>Return the agent groups (teams) in the LeadManager database, with their active flag. Use this to resolve groupId for getAgentsInGroup and addAgentToGroup. Returns an XML Groups document.</td></tr><tr><td>Get Agents</td><td><code>getAgents</code></td><td>Return every user (agent) in the LeadManager database, with contact details, position, group membership and the four custom agent fields. Use this to resolve AgentIds for modifyLeadAgent, assignViaDistribution and lead creation. Returns an XML Agents document.</td></tr><tr><td>Get Agents In Group</td><td><code>getAgentsInGroup</code></td><td>Return the users (agents) belonging to a specific agent group. Resolve groupId with getGroups. Returns an XML Agents document.</td></tr><tr><td>Get Agents Qualified For Lead</td><td><code>getAgentsQualified</code></td><td>Return the users available to receive a specific lead under a given distribution program. Call this before assignViaDistribution to pick a valid agent. Returns an XML Agents document.</td></tr><tr><td>Get Call History Report</td><td><code>getCallHistoryReport</code></td><td>Return every Dial-IQ call in the call history report for a date/time range, with duration, origin, segment, wait time, result, the lead and agent involved, and the recording URL. The API has no pagination, so keep the window narrow. Returns an XML Calls document.</td></tr><tr><td>Get Campaign Groups</td><td><code>getCampaignGroups</code></td><td>Return the campaign groups in the LeadManager database. Campaign groups bundle campaigns for reporting. Returns an XML CampaignsGroups document.</td></tr><tr><td>Get Campaign Types</td><td><code>getCampaignTypes</code></td><td>Return every campaign type available in LeadManager. Use this to resolve campaignTypeId before calling addCampaign. Returns an XML CampaignTypes document.</td></tr><tr><td>Get Campaigns</td><td><code>getCampaigns</code></td><td>Return the campaigns in the LeadManager database, with type, cost per lead, active flag, response code, provider and campaign group. Use this to resolve CampaignIds for lead creation and modifyLeadCampaign. Returns an XML Campaigns document.</td></tr><tr><td>Get Direct Mail Leads</td><td><code>getDirectMailLeads</code></td><td>Search the direct mail pool. Hard-capped at 50 results by the vendor, and there is no pagination, so narrow the search rather than expecting to page through. SOAP-only on the vendor side, so this action posts a SOAP 1.1 envelope. The search is expressed as SearchItem elements keyed by field title.</td></tr><tr><td>Get Distribution Audit Log</td><td><code>getDistributionAuditLog</code></td><td>Return the distribution audit trail for a lead or a call - every routing attempt, which program ran, which step fired, which agents were notified and how. Use this to diagnose why a lead went to a particular loan officer, or did not. Returns an XML DistributionAuditLog document.</td></tr><tr><td>Get Distribution Programs</td><td><code>getPrograms</code></td><td>Return the lead distribution programs in the LeadManager database, with their type and enabled flag. Distribution programs are Velocify's routing rules. Use this to resolve programId for assignViaDistribution and the qualified-agent lookups. Returns an XML Programs document.</td></tr><tr><td>Get Field Groups</td><td><code>getFieldGroups</code></td><td>Return the FormBuilder field groups in the LeadManager database. Field groups are the sections a lead form is divided into. Resolve groupId here before calling addField. Returns an XML FieldGroups document.</td></tr><tr><td>Get Field Types</td><td><code>getFieldTypes</code></td><td>Return every FormBuilder field type available in LeadManager (text, number, date, picklist and so on). Resolve fieldTypeId here before calling addField. Returns an XML FieldTypes document.</td></tr><tr><td>Get Fields</td><td><code>getFields</code></td><td>Return every FormBuilder field in the LeadManager database, with its type, group, required and visibility settings, plus the picklist items for choice fields. This is the schema-discovery call for the whole connector - FieldIds are per-tenant and every lead read and write is keyed on them. Returns an XML Fields document.</td></tr><tr><td>Get Last Created Lead</td><td><code>getLastCreatedLead</code></td><td>Return the most recently created lead in the LeadManager database. Takes no arguments beyond credentials, so it is the cheapest call for verifying that a connection works. Returns an XML Leads document.</td></tr><tr><td>Get Last Modified Lead</td><td><code>getLastModifiedLead</code></td><td>Return the most recently modified lead in the LeadManager database. Takes no arguments beyond credentials. Returns an XML Leads document.</td></tr><tr><td>Get Lead</td><td><code>getLead</code></td><td>Return a single lead by its LeadManager LeadId, with its campaign, status, owning agent, all custom field values, export markers and full activity logs (action, assignment, creation, distribution, email and status logs). Responds with an XML Leads document, not JSON. Dates are MM/DD/YYYY HH:MM:SS in server time.</td></tr><tr><td>Get Lead And Qualified Agents By Phone</td><td><code>getLeadAndQualifiedAgentsByPhone</code></td><td>Inbound-call routing primitive. Finds the most recently created lead matching a phone number, optionally stamps up to two fields on it, and returns the agents qualified to take that lead under a distribution program. Typically driven by a dialer or IVR at call pickup. Resolve programId with getPrograms, campaignId with getCampaigns and the field ids with getFields.</td></tr><tr><td>Get Lead And Qualified Agents By Phone With Lead</td><td><code>getLeadAndQualifiedAgentsByPhoneWithLead</code></td><td>Variant of getLeadAndQualifiedAgentsByPhone that returns the full lead record alongside the qualified agents. SOAP-only on the vendor side, so this action posts a SOAP 1.1 envelope. The WSDL types the fields argument as ArrayOfFieldValue, so FieldId and Value are wrapped in fields/FieldValue; the vendor contract is unbounded but this action stamps exactly one field per call.</td></tr><tr><td>Get Lead Form Types</td><td><code>getLeadFormTypes</code></td><td>Return the lead form types configured in the LeadManager database. Lead form types are the per-tenant lead layouts; addLeadsEx can set one at creation time. Returns an XML document.</td></tr><tr><td>Get Lead IDs By Create Date</td><td><code>getLeadIds</code></td><td>Return only the IDs of leads created within a date/time range, based on CreateDate. Much cheaper than getLeads for wide windows - fetch the IDs first, then call getLead per ID. Returns an XML Leads document of bare Lead elements carrying only Id.</td></tr><tr><td>Get Lead IDs By Create Date With Scope</td><td><code>getLeadIdsEx</code></td><td>Return the IDs of leads created within a date/time range, restricted by a visibility scope. Same as getLeadIds plus a scope selector, which controls whether the calling agent sees only their own leads or the wider database. Returns an XML Leads document of bare Lead elements carrying only Id.</td></tr><tr><td>Get Lead IDs Modified In Last N Minutes</td><td><code>getLeadIdsSpan</code></td><td>Return only the IDs of leads modified in the past X minutes, based on ModifyDate. The cheapest change-detection call in the API - pair it with a Fastn scheduler and fan out to getLead for the records you care about. Returns an XML Leads document of bare Lead elements carrying only Id.</td></tr><tr><td>Get Leads By Create Date</td><td><code>getLeads</code></td><td>Return full lead records created within a date/time range, based on CreateDate. The API has no pagination - the time window is the only way to bound the result set, so keep windows narrow because each lead carries its fields and full logs. Dates are interpreted in Velocify server time (PST); call getServerTime to align. Responds with an XML Leads document.</td></tr><tr><td>Get Leads By Email</td><td><code>getLeadsByEmail</code></td><td>Search for leads by email address. Use this for de-duplication before creating a lead. Returns the same XML Leads document as getLead.</td></tr><tr><td>Get Leads By Phone</td><td><code>getLeadsByPhone</code></td><td>Search for leads by phone number. Typically used for inbound-call screen pops and for de-duplication. Returns the same XML Leads document as getLead.</td></tr><tr><td>Get Leads Modified In Last N Minutes</td><td><code>getLeadsSpan</code></td><td>Return full lead records modified in the past X minutes, based on ModifyDate. This is the change-detection primitive for Velocify - the product has no webhook registration API, so pair this action with a Fastn scheduler whose interval matches fromNowMinutes to poll for lead changes. Responds with an XML Leads document.</td></tr><tr><td>Get Milestones</td><td><code>getMilestones</code></td><td>Return the lead milestones configured in the LeadManager database. Milestones group action types into funnel stages and are referenced by MilestoneId on action types. Returns an XML Milestones document.</td></tr><tr><td>Get Providers</td><td><code>getProviders</code></td><td>Return the lead provider integrations configured in the LeadManager database. Providers are the upstream lead vendors that campaigns map to. Use this to resolve providerId for addCampaign. Returns an XML Providers document.</td></tr><tr><td>Get Qualified Agents With Lead</td><td><code>getQualifiedAgents</code></td><td>Return the users qualified to receive a specific lead under a distribution program, together with the lead's own information. Differs from getAgentsQualified in that the lead record comes back alongside the agent list.</td></tr><tr><td>Get Report Results</td><td><code>getReportResults</code></td><td>Execute a custom report by id, supplying values for its template filter items, and return the rows. SOAP-only on the vendor side because the template values are an XML fragment, so this action posts a SOAP 1.1 envelope. Call getReports first to find the FilterItemIds whose IsTemplate is true. Note the vendor strips spaces from field titles in the result element names.</td></tr><tr><td>Get Report Results Without Filters</td><td><code>getReportResultsWithoutFilters</code></td><td>Execute a custom report by id and return its rows, ignoring the report's filter items. Use this for reports with no template filters; use getReportResults when the report has template values to supply. Note the vendor strips spaces from field titles in the result element names. Resolve reportId with getReports.</td></tr><tr><td>Get Reports</td><td><code>getReports</code></td><td>Return the custom reports defined in the LeadManager database, each with its filter items and select items. A filter item marked IsTemplate is one you must supply a value for when calling getReportResults. Use this to resolve reportId and discover which template values a report needs. Returns an XML Reports document.</td></tr><tr><td>Get Server Time</td><td><code>getServerTime</code></td><td>Return the current date and time from the Velocify data server, in PST. Takes no credentials. Use it to align the from/to windows of getLeads and getLeadIds, which are interpreted in server time, not UTC. Responds with XML.</td></tr><tr><td>Get Statuses</td><td><code>getStatuses</code></td><td>Return the lead statuses configured in the LeadManager database. Statuses are per-tenant; use this to resolve StatusIds before calling modifyLeadStatus or setting a status on lead creation. Returns an XML Statuses document.</td></tr><tr><td>Get Version</td><td><code>getVersion</code></td><td>Return the current version of the Velocify LeadManager web service, format x.x.x.x. Takes no credentials - useful as a reachability check for the configured base URL. Responds with an XML document, not JSON.</td></tr><tr><td>Get Visibility Types</td><td><code>getVisibilityTypes</code></td><td>Return every field visibility type available in LeadManager, which controls whether a field is shown to users. Resolve visibilityTypeId here before calling addField. Returns an XML VisibilityTypes document.</td></tr><tr><td>Modify Agent</td><td><code>modifyAgent</code></td><td>Update an existing LeadManager user (agent). SOAP-only on the vendor side, so this action posts a SOAP 1.1 envelope. Supply agentDataXml as an EditAgent document per EditAgent.Request.xsd: &#x3C;EditAgent>&#x3C;Email>current@b.com&#x3C;/Email>&#x3C;NewEmail>new@b.com&#x3C;/NewEmail>&#x3C;FirstName>Jane&#x3C;/FirstName>...&#x3C;/EditAgent>. Email identifies the agent; NewEmail changes it. Same element set as addAgent plus NewEmail.</td></tr><tr><td>Modify Agent Password</td><td><code>modifyAgentPassword</code></td><td>Set a new LeadManager password for an agent, identified by email address. Note the new password is sent as agentPassword; the password parameter remains the calling agent's own credential. Returns an XML Response document.</td></tr><tr><td>Modify Lead Agent</td><td><code>modifyLeadAgent</code></td><td>Reassign an existing lead to a different agent (owner). AgentIds are per-tenant - resolve them with getAgents. This is a direct assignment; to route through a distribution program instead, use assignViaDistribution. Returns an XML Response document; HTTP 200 does not imply success.</td></tr><tr><td>Modify Lead Campaign</td><td><code>modifyLeadCampaign</code></td><td>Move an existing lead to a different campaign. CampaignIds are per-tenant - resolve them with getCampaigns. Returns an XML Response document; HTTP 200 does not imply success, read statusId and message.</td></tr><tr><td>Modify Lead Field</td><td><code>modifyLeadField</code></td><td>Set a single custom field value on an existing lead. FieldIds are per-tenant - resolve them with getFields first, and make sure the value matches the field's data type. For multi-field updates in one call use modifyLeads instead. Returns an XML Response document; HTTP 200 does not imply success, read statusId and message.</td></tr><tr><td>Modify Lead Status</td><td><code>modifyLeadStatus</code></td><td>Change the status of an existing lead. StatusIds are per-tenant - resolve them with getStatuses. A status change is what fires any Manage Posts outbound post configured against that status in the LeadManager admin UI. Returns an XML Response document; HTTP 200 does not imply success.</td></tr><tr><td>Modify Leads</td><td><code>modifyLeads</code></td><td>Update one or more existing leads in a single call - status, campaign, owning agent, flag and any set of custom fields together. Prefer this over repeated modifyLeadField calls. SOAP-only on the vendor side, so this action posts a SOAP 1.1 envelope. The Id attribute on each Lead element is required for modification, unlike addLeads. Only the nodes you include are touched; omitted nodes are left alone.</td></tr><tr><td>Post SMS Opt Out</td><td><code>postSmsOptOut</code></td><td>Opt a phone number out of SMS messaging. Compliance-critical for TCPA. The contact id is optional on the vendor side but this action sends both; pass the lead id the number belongs to. Use deleteSmsOptOut to opt numbers back in. Returns an XML Response document.</td></tr><tr><td>Remove Campaign</td><td><code>removeCampaign</code></td><td>Delete a campaign from the LeadManager database. Destructive. Prefer setting a campaign inactive over removing it if leads still reference it. Returns an XML Response document with a Removals element; read statusId and message.</td></tr><tr><td>Remove Lead</td><td><code>removeLead</code></td><td>Delete a lead from the LeadManager database. Destructive and not reversible through the API. Returns an XML Response document with a Removals element; HTTP 200 does not imply success, read statusId and message before treating the lead as gone.</td></tr><tr><td>Take Direct Mail Lead By Direct Mail ID</td><td><code>takeDirectMailLeadByDirectMailId</code></td><td>Convert a direct mail record into a real lead using its direct mail id, assigning it to an agent. Typically called when a mail recipient calls the number on the piece. Returns an XML Response document; read statusId and message.</td></tr><tr><td>Take Direct Mail Lead By Ref ID</td><td><code>takeDirectMailLeadByRefId</code></td><td>Convert a direct mail record into a real lead using the unique reference id printed on the mail piece, assigning it to an agent. Use this when the responder quotes a ref code rather than being matched by phone. Returns an XML Response document; read statusId and message.</td></tr></tbody></table>

</details>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.fastn.ai/connectors/catalog/crm-sales/velocify.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
