logo
IntegrationsConnect CRM
Integrations

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" \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -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_...)
Bearer Token
Bearer Tokenstring
Required

API key as Bearer token

API key as Bearer token
path
typestring
Required

CRM provider type

Options: attio, hubspot, pipedrive, airtable, salesforce
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_...)

header
Authorizationstring
Required

Bearer token. API key as Bearer token

Path Parameters

typestring
Required

CRM provider type

Allowed values:attiohubspotpipedriveairtablesalesforce

Body

application/json
apiKeystring
Required

CRM API key (will be encrypted before storage)

Responses

successboolean
dataobject