POST/v1/beta/programs

Create a beta program

Creates a beta program. Provide its name and slug; you can also include a description and set its status to draft, active, or closed.

  • IdempotentThe SDK sends Idempotency-Key, so a retried request is only applied once.

4 body fields

Details for the beta program to create.

namestringrequired
The name of the beta program.
slugstringrequired
The URL-friendly identifier for the beta program.
descriptionstringoptional
A description of the beta program.
statusstringoptional
The beta program status: draft, active, or closed.
Allowed:draftactiveclosed

2 status codes
201Returns the created beta program in the `data` property.
dataobjectoptional
401Returned when authentication is missing or invalid.
errorobjectoptional

Error handling

A 401 is returned when authentication is missing or invalid. name and slug are required, and status must be draft, active, or closed if provided.