POST/v1/beta/programs

Create a beta program

Creates a beta program with a name and slug. Supply both name and slug; you can also provide a description and status. The response contains the created beta program.

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

4 body fields

Beta program details. name and slug are required.

namestringrequired
The name of the beta program.
slugstringrequired
The beta program's slug.
descriptionstringoptional
A description of the beta program.
statusstringoptional
The program status: draft, active, or closed.
Allowed:draftactiveclosed

2 status codes
201Returns the created beta program in the `data` object.
dataobjectoptional
401Returned when the request is not authenticated.
errorobjectoptional

Error handling

A 401 is returned when the request is not authenticated. name and slug are required. If supplied, status must be draft, active, or closed.