Sendlane Contacts API

The Contacts API from Sendlane — 18 operation(s) for contacts.

GitHub OpenAPI
Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent with a free APIs.io key — sign in with GitHub, Google or LinkedIn. No form to fill in; signing in shares your email address with us (Privacy).
Business capability
Customer Data Management BC-420.10

Operations 26

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /contacts List contacts · Contacts #
Ask an LLM
“How do I get all my contacts?”
“Can I list contacts added within a date range?”
Tell an agent
List all contacts.
List contacts added between {from} and {to}.
GET /contacts/{contactId} Get a contact · Get Contact #
Ask an LLM
“How do I look up one contact by ID?”
“What details are stored for a single contact?”
Tell an agent
Get contact {contactId}.
Show me the profile of contact {contactId}.
DELETE /contacts/{contactId} Delete a contact · Delete Contact #
Ask an LLM
“How do I remove a contact from my account?”
“Can I delete a contact by ID?”
Tell an agent destructive · confirm first
Delete contact {contactId}.
Remove the contact {contactId} from my account.
GET /contacts/unsubscribed List unsubscribed contacts · Contacts Unsubscribed #
Ask an LLM
“Which contacts have unsubscribed?”
“Can I see contacts who opted out of email?”
Tell an agent
List contacts who unsubscribed.
Show unsubscribed contacts added between {from} and {to}.
GET /contacts/{contactId}/custom-fields List a contact's custom fields · Get Contact Custom Fields #
Ask an LLM
“What custom fields are set on a contact?”
“Can I see a contact's custom field values?”
Tell an agent
List custom fields for contact {contactId}.
Show the custom field values on contact {contactId}.
POST /contacts/{contactId}/custom-fields Set custom fields on a contact · Add Contact Custom Field #
Ask an LLM
“How do I add custom field values to a contact?”
“Can I set several custom fields on one contact at once?”
Tell an agent
Set custom fields {custom_fields} on contact {contactId}.
Add custom field values {custom_fields} to contact {contactId}.
GET /contacts/{contactId}/custom-fields/{contactCustomFieldId} Get one custom field on a contact · Get Contact Custom Field #
Ask an LLM
“How do I read a single custom field value on a contact?”
“What value does one custom field hold for a contact?”
Tell an agent
Get custom field {contactCustomFieldId} on contact {contactId}.
Show the value of custom field {contactCustomFieldId} for contact {contactId}.
DELETE /contacts/{contactId}/custom-fields/{contactCustomFieldId} Remove a custom field from a contact · Remove Custom Field from Contact #
Ask an LLM
“How do I clear one custom field value on a contact?”
“Can I remove a custom field from a contact?”
Tell an agent destructive · confirm first
Remove custom field {contactCustomFieldId} from contact {contactId}.
Clear custom field {contactCustomFieldId} on contact {contactId}.
POST /contacts/{contactId}/email-consent Set email consent for a contact · Contact Email Consent #
Ask an LLM
“How do I record a contact's email consent?”
“Can I set email consent for a contact on specific lists?”
Tell an agent
Set email consent {email_consent} for contact {contactId}.
Record email consent {email_consent} for contact {contactId} on lists {list_ids}.
GET /contacts/{contactId}/history Get a contact's activity history · Contact History #
Ask an LLM
“What has happened with a contact over time?”
“Can I filter a contact's activity history?”
Tell an agent
Show the activity history of contact {contactId}.
Show contact {contactId}'s activity history matching {filter}.
GET /contacts/{contactId}/segments List segments a contact belongs to · Contact Segments #
Ask an LLM
“Which segments is a contact in?”
“What segments include a given contact?”
Tell an agent
List segments that contain contact {contactId}.
Show which segments contact {contactId} belongs to.
GET /contacts/{contactId}/subscriptions List a contact's email subscriptions · Contact Subscriptions #
Ask an LLM
“Which email lists is a contact subscribed to?”
“What email subscriptions does a contact have?”
Tell an agent
List email subscriptions for contact {contactId}.
Show which email lists contact {contactId} subscribes to.
GET /contacts/subscriptions Search contacts by email or phone and list subscriptions · Contact Search Subscriptions #
Ask an LLM
“Can I find a contact by email and see their email subscriptions?”
“How do I look up a phone number and get the email subscriptions of the matching contact?”
Tell an agent
Find the contact with email {email} and list their email subscriptions.
Look up the phone number {phone} and show email subscriptions for the matching contact.
POST /contacts/{contactId}/sms-consent Add SMS consent to a known contact · Contact Add SMS Consent #
Ask an LLM
“How do I record SMS consent for a customer I already have in Sendlane?”
“What opt-in details are required when adding SMS consent to a contact?”
Tell an agent
Add SMS consent {sms_consent} to contact {contactId}.
Record SMS opt-in for {phone} on contact {contactId} from IP {ip_address} at {optin_date}.
POST /contacts/sms-consent Add SMS consent to a contact found by phone · Contact Search and Add SMS Consent #
Ask an LLM
“Can I add SMS consent to a contact whose phone number I have but not the contact ID?”
“What do I send to record SMS consent for a phone number?”
Tell an agent
Find the contact with phone {phone} and add SMS consent {sms_consent} for them.
Record SMS opt-in at {optin_date} to number {phone} from IP {ip_address}, referencing {optin_url}.
GET /contacts/{contactId}/tags List a contact's tags · Get Contact Tags #
Ask an LLM
“Which tags are on a contact?”
“What tags have been applied to a contact?”
Tell an agent
List tags on contact {contactId}.
Show the tags applied to contact {contactId}.
POST /contacts/{contactId}/tags Add tags to a contact · Add Contact Tag #
Ask an LLM
“How do I tag a contact?”
“Can I add several tags to a contact at once?”
Tell an agent
Add tags {tag_ids} to contact {contactId}.
Tag contact {contactId} with {tag_ids}.
GET /contacts/{contactId}/tags/{tagId} Check whether a contact has a tag · Get Contact Tag #
Ask an LLM
“Is a particular tag still applied to a contact?”
“Can I confirm a contact belongs to a specific tag?”
Tell an agent
Check whether tag {tagId} is applied to contact {contactId}.
Tell me if contact {contactId} has tag {tagId}.
DELETE /contacts/{contactId}/tags/{tagId} Remove a tag from a contact · Remove Tag from Contact #
Ask an LLM
“How do I take a tag off a contact?”
“Can I remove a single tag from a contact without deleting the contact?”
Tell an agent destructive · confirm first
Remove tag {tagId} from contact {contactId}.
Un-tag contact {contactId} so it no longer has {tagId}.
POST /contacts/{contactId}/unsubscribe Unsubscribe a contact · Contact Unsubscribe #
Ask an LLM
“How do I unsubscribe a contact from my list?”
“Can I stop a contact from receiving emails?”
Tell an agent destructive · confirm first
Unsubscribe contact {contactId}.
Opt out contact {contactId} from all emails.
GET /back-in-stock-contacts List back-in-stock contacts · Back In Stock Contacts #
Ask an LLM
“Which contacts have signed up for back-in-stock alerts?”
“Can I get the list of back-in-stock subscribers?”
Tell an agent
List all back-in-stock contacts.
Show every contact subscribed to back-in-stock alerts.
GET /back-in-stock-contacts/{contactId} Get a back-in-stock contact · Get Back In Stock Contact #
Ask an LLM
“Has a specific contact signed up for back-in-stock alerts?”
“Can I look up one back-in-stock contact by ID?”
Tell an agent
Get back-in-stock contact {contactId}.
Check whether contact {contactId} is subscribed to back-in-stock.
DELETE /back-in-stock-contacts/{contactId} Remove a back-in-stock contact · Delete Back In Stock Contact #
Ask an LLM
“How do I remove a contact from the back-in-stock list?”
“Can I delete a back-in-stock alert subscription?”
Tell an agent destructive · confirm first
Delete back-in-stock contact {contactId}.
Remove contact {contactId} from the back-in-stock list.

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/sendlane:sendlane-contacts-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

sendlane-contacts-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Reference Contacts API
  version: '2.0'
  contact:
    name: Sendlane
    url: https://sendlane.com
    email: support@sendlane.com
  description: Sendlane V2 API
servers:
- url: https://api.sendlane.com/v2
  description: Sendlane
security:
- BearerToken: []
tags:


# --- truncated at 32 KB (32 KB total) ---
# Full source: https://artifacts.apis.io/sendlane/openapi/sendlane-contacts-api-openapi.yml