Partner ApiPartner API Overview

Partner API Overview

The Partner API enables whitelabel partners to manage organizations, visitors, billing, and configuration programmatically. This documentation covers authentication, endpoints, and integration patterns.

Base URL

All Partner API requests use the following base URL:

https://api.app.bullseye.so/api/v1

Authentication

The Partner API uses API key authentication. Include your API key in the X-Partner-API-Key header with every request.

X-Partner-API-Key: your-api-key

See Authentication for details on obtaining keys and security best practices.

Rate Limiting

The Partner API enforces a rate limit of 1,000 requests per minute per partner account.

Rate limit information is returned in response headers:

HeaderDescription
X-RateLimit-LimitMaximum requests allowed per minute
X-RateLimit-RemainingRequests remaining in the current window
X-RateLimit-ResetUnix timestamp when the rate limit resets

If you exceed the limit, the API returns 429 Too Many Requests.

Error Format

Errors are returned as JSON with a consistent structure:

{
  "code": "error_code",
  "message": "Human-readable error message",
  "details": {}
}

Standard Error Codes

CodeHTTP StatusDescription
BadRequest400Invalid request parameters or body
Unauthorized401Missing or invalid API key
NotFound404Resource not found
InternalError500Server error

Response Conventions

  • Successful responses use standard HTTP status codes (200, 201, 204).
  • JSON responses use camelCase for property names.
  • Paginated endpoints return page, pageSize, and total (or equivalent) for navigation.
  • Timestamps are in ISO 8601 format (e.g., 2025-01-15T10:30:00Z).

Endpoint Groups

SectionDescription
Partner AccountPartner details, branding, and script configuration
API KeysCreate, list, and revoke API keys
OrganizationsCRUD for organizations, pixel config, and visitors
ICP ConfigsIdeal Customer Profile segmentation rules
WebhooksIdentification and billing webhook configuration
BillingCredit allocation, usage, and billing info
BrandingLogo, colors, and company name
DomainsCustom domain setup and verification
AnalyticsUsage and analytics data