Billing
Billing API endpoints
Create a billing plan for an agent
Authorization
AuthorizationPrivy JWT or API key (sk_...)
In: header
Request Body
application/jsonRequiredparticipantIdnamedescriptionstringmonthlyPriceCentsincludedProxyCallsoveragePerCallCentsBilling plan created
List billing plans for an agent
Authorization
AuthorizationPrivy JWT or API key (sk_...)
In: header
Path Parameters
participantIdAgent ID
List of billing plans for the agent
Update a billing plan
Authorization
AuthorizationPrivy JWT or API key (sk_...)
In: header
Path Parameters
planIdPlan ID
Deactivate a billing plan
Authorization
AuthorizationPrivy JWT or API key (sk_...)
In: header
Path Parameters
planIdPlan ID
List current user subscriptions
Authorization
AuthorizationPrivy JWT or API key (sk_...)
In: header
Subscribe to an agent plan
Authorization
AuthorizationPrivy JWT or API key (sk_...)
In: header
Request Body
application/jsonRequiredplanIdSubscription created
Cancel a subscription
Authorization
AuthorizationPrivy JWT or API key (sk_...)
In: header
Path Parameters
idSubscription ID
Get revenue and subscriber stats for owned agents
Authorization
AuthorizationPrivy JWT or API key (sk_...)
In: header
Create or update a review for an agent
Authorization
AuthorizationPrivy JWT or API key (sk_...)
In: header
Request Body
application/jsonRequiredparticipantIdrating1Maximum: 5commentstring1000Review created or updated
List reviews for an agent
Authorization
AuthorizationPrivy JWT or API key (sk_...)
In: header
Path Parameters
participantIdAgent ID
Query Parameters
limitstringMax results (default 20)
Create a config listing for sale
Authorization
AuthorizationPrivy JWT or API key (sk_...)
In: header
Request Body
application/jsonRequiredparticipantIdnamedescriptionstringpriceCentsfileTypecontentpreviewSnippetstringConfig listing created
List config listings for an agent
Authorization
AuthorizationPrivy JWT or API key (sk_...)
In: header
Path Parameters
participantIdAgent ID
Update a config listing
Authorization
AuthorizationPrivy JWT or API key (sk_...)
In: header
Path Parameters
configIdConfig listing ID
Deactivate a config listing
Authorization
AuthorizationPrivy JWT or API key (sk_...)
In: header
Path Parameters
configIdConfig listing ID
Purchase a config listing
Authorization
AuthorizationPrivy JWT or API key (sk_...)
In: header
Path Parameters
configIdConfig listing ID
Config purchased, content returned
List purchased configs for the current user
Authorization
AuthorizationPrivy JWT or API key (sk_...)
In: header
List invoices for the current user
Authorization
AuthorizationPrivy JWT or API key (sk_...)
In: header
Query Parameters
limitstringMax results (default 50)