Skip to content
Back to skills

Api Patterns

ASecurity

Salesbuildr API fundamentals: api-key header authentication, offset-based from/size pagination, error handling, and the 500 requests per 10 minutes rate limit.

  • 48 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added October 2, 2026
ai-agentsapi

Works with

  • api

Security analysis

A100/100

Scanned October 2, 2026

npx -y skills add wyre-technology/msp-claude-plugins --skill api-patterns --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Api Patterns?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Api Patterns
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/wyre-technology-api-patterns-63f68d2a/badge)](https://www.skillsdirectory.com/skills/wyre-technology-api-patterns-63f68d2a)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: "SalesBuildr API Patterns"
description: >
  Salesbuildr API fundamentals: api-key header authentication, offset-based
  from/size pagination, error handling, and the 500 requests per 10 minutes
  rate limit.
when_to_use: >-
  When authenticating to or calling the Salesbuildr API. Use when:
  salesbuildr api, salesbuildr authentication, salesbuildr pagination,
  salesbuildr rate limit, or salesbuildr error.
---

# Salesbuildr API Patterns

## Overview

The Salesbuildr public API provides REST endpoints for managing CRM data. All requests require an API key and follow consistent patterns for pagination and error handling.

## Authentication

Every API request must include the `api-key` header:

```
Headers:
  api-key: ${SALESBUILDR_API_KEY}
  Content-Type: application/json
```

API keys are generated in the Salesbuildr portal under Settings > API Keys.

## Base URL

```
https://portal.salesbuildr.com/public-api
```

## Pagination

All list endpoints use offset-based pagination:

| Parameter | Type | Default | Max | Description |
|-----------|------|---------|-----|-------------|
| from | number | 0 | - | Starting index (0-based offset) |
| size | number | 20 | 100 | Number of results per page |

Example: To get page 2 with 25 results per page:
```
GET /companies?from=25&size=25
```

## Rate Limiting

- **Limit:** 500 requests per 10 minutes
- **Strategy:** Implement conservative request patterns
- **Backoff:** If rate limited, wait and retry with exponential backoff

## Error Handling

| Status Code | Meaning | Resolution |
|-------------|---------|------------|
| 400 | Bad Request | Check request body/parameters |
| 401 | Unauthorized | Verify API key is correct |
| 403 | Forbidden | Check API key permissions |
| 404 | Not Found | Resource doesn't exist |
| 429 | Rate Limited | Wait and retry |
| 500 | Server Error | Retry after delay |

## Common Request Patterns

### Search with filtering
```
GET /companies?search=acme&from=0&size=25
```

### Get by ID
```
GET /companies/12345
```

### Create resource
```
POST /contacts
Content-Type: application/json

{
  "first_name": "John",
  "last_name": "Doe",
  "email": "john@example.com",
  "company_id": 12345
}
```

### Update resource
```
PATCH /opportunities/12345
Content-Type: application/json

{
  "stage": "proposal",
  "value": 15000
}
```

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…