cURL
curl --request GET \ --url https://api.salesbricks.com/api/v2/plans/{plan_id} \ --header 'X-SALESBRICKS-KEY: <api-key>'
{ "plan_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "plan_name": "<string>", "bricks": [ { "brick_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "brick_name": "<string>", "brick_type": "SUBSCRIPTION" } ] }
Returns the details of a plan, including its name and bricks.
API key for authentication
The ID of the plan to retrieve.
The response is of type object.
object