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.

FlowAuthorization Code
Authorization URL
/api/v1/oauth/authorize
Token URL
/api/v1/oauth/token
FlowClient Credentials
Token URL
/api/v1/oauth/token
Scopes1
plans:write
Create and update partner plans.

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 that owns the plan. For account-level 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 owner type. ACCOUNT is an account-level plan owned by the account itself (one active plan per account). BUYING_GROUP and OPPORTUNITY plans hang off those entities. 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