API · v1 · stable
CODEMETA OSDeveloper Center
EN
Open console
Entity · opportunity_sources

Opportunity Source Schema

Schema ID
opportunity_source
Collection
opportunity_sources
Permissions
  • Readopportunity_source_view
  • Createopportunity_source_create
  • Editopportunity_source_edit
  • Deleteopportunity_source_delete

Fields

Opportunity Source Schema

opportunity_sources4 permissions

Schema for configurable lead sources that can be assigned to opportunities

namestringrequired

Display name of the source

1–100 characters
colorstringoptional

Hex color code for the source (e.g. #FF5733)

Patternnullable
descriptionstringoptional

Optional description of the source

max 200 charactersnullable

Standard endpoints

This resource follows the platform's generic CRUD contract. Read the conventions for pagination, idempotency, optimistic locking and audit. The most important endpoints:

  • GET /api/v1/opportunity_sources — List, paginated + filterable
  • GET /api/v1/opportunity_sources/<id> — Single entity
  • POST /api/v1/opportunity_sources — Create
  • PATCH /api/v1/opportunity_sources/<id> — Partial update
  • DELETE /api/v1/opportunity_sources/<id> — Soft delete
  • GET /api/v1/opportunity_sources/<id>/timeline — Audit + activities

Search