salesloft-upgrade-migration

Featured

Migrate between SalesLoft API versions and handle breaking changes. Use when SalesLoft announces API deprecations, upgrading OAuth flows, or transitioning from legacy endpoints. Trigger: "upgrade salesloft", "salesloft migration", "salesloft API version".

AI & Automation 2,266 stars 315 forks Updated today MIT

Install

View on GitHub

Quality Score: 99/100

Stars 20%
100
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# SalesLoft Upgrade & Migration ## Overview SalesLoft REST API is versioned at v2 with no official SDK -- migrations involve endpoint changes, auth flow updates, and response schema changes. The Cadence Import/Export API was a major addition. Key migration: SalesLoft rebranded some endpoints and added OAuth client credentials flow. ## Migration Scenarios ### Legacy API Key to OAuth 2.0 ```typescript // BEFORE: Static API key (being deprecated for partner apps) const api = axios.create({ headers: { Authorization: `Bearer ${process.env.SALESLOFT_API_KEY}` }, }); // AFTER: OAuth 2.0 with token refresh class SalesloftOAuthClient { private tokenStore: { access: string; refresh: string; expiresAt: number }; async getClient() { if (Date.now() > this.tokenStore.expiresAt * 1000 - 300_000) { await this.refreshToken(); } return axios.create({ baseURL: 'https://api.salesloft.com/v2', headers: { Authorization: `Bearer ${this.tokenStore.access}` }, }); } private async refreshToken() { const { data } = await axios.post('https://accounts.salesloft.com/oauth/token', { grant_type: 'refresh_token', refresh_token: this.tokenStore.refresh, client_id: process.env.SALESLOFT_CLIENT_ID, client_secret: process.env.SALESLOFT_CLIENT_SECRET, }); this.tokenStore = { access: data.access_token, refresh: data.refresh_token, expiresAt: Math.floor(Date.now() / 1000) + data.expires_in, }; } } ``` ##...

Details

Author
jeremylongshore
Repository
jeremylongshore/claude-code-plugins-plus-skills
Created
7 months ago
Last Updated
today
Language
Python
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category

AI & Automation Featured

salesloft-install-auth

Set up SalesLoft API authentication with OAuth 2.0 or API key. Use when configuring a new SalesLoft integration, setting up OAuth flows, or initializing API access to the SalesLoft REST API v2. Trigger: "install salesloft", "setup salesloft", "salesloft auth", "salesloft API key".

2,266 Updated today
jeremylongshore
AI & Automation Featured

salesloft-security-basics

Secure SalesLoft OAuth tokens, API keys, and webhook signatures. Use when implementing token rotation, securing webhook endpoints, or auditing SalesLoft API access controls. Trigger: "salesloft security", "salesloft secrets", "secure salesloft", "salesloft token rotation".

2,266 Updated today
jeremylongshore
AI & Automation Featured

salesloft-prod-checklist

Production readiness checklist for SalesLoft API integrations. Use when deploying SalesLoft integrations to production, preparing for launch, or validating go-live requirements. Trigger: "salesloft production", "deploy salesloft", "salesloft go-live checklist".

2,266 Updated today
jeremylongshore
AI & Automation Featured

salesloft-common-errors

Diagnose and fix SalesLoft API errors: 401, 403, 422, 429, and 5xx. Use when encountering SalesLoft errors, debugging failed requests, or troubleshooting OAuth token issues. Trigger: "salesloft error", "fix salesloft", "salesloft not working", "salesloft 429".

2,266 Updated today
jeremylongshore
AI & Automation Featured

salesloft-reference-architecture

Production architecture for SalesLoft API integrations with service layer, webhook processing, and CRM sync patterns. Use when designing new SalesLoft integrations or reviewing project structure. Trigger: "salesloft architecture", "salesloft project structure", "salesloft design".

2,266 Updated today
jeremylongshore