logo
IntegrationsConnect CRM

Connect CRM

Connects a CRM by saving an encrypted API key. Records the connection time and user.

curl -X POST "https://api.sendkit.ai/v1/integrations/crm/hubspot" \
  -H "Content-Type: application/json" \
  -H "X-Api-Key: YOUR_API_KEY" \
  -d '{
  "apiKey": "pat-na1-abc123def456..."
}'
{
  "success": true,
  "data": {
    "type": "hubspot",
    "connected": true
  }
}
POST
/v1/integrations/crm/{type}
POST
API Key (header: X-Api-Key)
X-Api-Keystring
Required

Platform API key (sk_user_...) or Workspace API key (sk_...)

Platform API key (sk_user_...) or Workspace API key (sk_...)
path
typestring
Required

CRM provider type

Options: attio, hubspot, pipedrive, airtable, salesforce, supabase
Content-Typestring
Required

The media type of the request body

Options: application/json
apiKeystring
Required

CRM API key (will be encrypted before storage)

Request Preview
Response

Response will appear here after sending the request

Authentication

header
X-Api-Keystring
Required

API Key for authentication. Platform API key (sk_user_...) or Workspace API key (sk_...)

Path Parameters

typestring
Required

CRM provider type

Allowed values:attiohubspotpipedriveairtablesalesforcesupabase

Body

application/json
apiKeystring
Required

CRM API key (will be encrypted before storage)

Responses

successboolean
dataobject