Skip to main content
POST
Create plan

Authorizations

Authorization
string
header
required

Partner OAuth2 flows for integration API access tokens. Claude MCP custom connectors use authorization code with PKCE S256.

Headers

X-Organization-Id
string<uuid>

Active organization UUID. Required for authenticated requests when the principal has access to multiple organizations.

Pattern: ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-5][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}$

Query Parameters

organizationId
string<uuid>

Read-only convenience alias for X-Organization-Id. Legacy subscriberId query param is also accepted.

Pattern: ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-5][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}$

Body

application/json
entityId
string<uuid>
required

Entity to attach the plan to. For account plans pass the account id (entityType=ACCOUNT or omit entityType). For personal plans set entityType=USER and entityId to the owner user id.

Pattern: ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-5][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}$
name
string
required
Required string length: 1 - 120
entityType
enum<string>

Plan attachment type. ACCOUNT resolves to the account default buying group on create (stored as BUYING_GROUP). USER is a personal ("My Plan") plan owned by a user in the organization.

Available options:
OPPORTUNITY,
BUYING_GROUP,
USER,
ACCOUNT
templateId
string<uuid>
Pattern: ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-5][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}$
description
string
Maximum string length: 32000

Response

Created plan.

plan
object
required