post
https://sandbox.pismolabs.io/apex/v1/programs
Create a program with a client-defined external_program_id. The external_program_id must be unique within the organization and cannot be changed after the program is created. The Pismo platform generates the program_id, and responses return both IDs.
This endpoint generates a Program created event.
Notes:
- Creating with an
external_program_idthat's already in use creates nothing: the endpoint returns the response of the first creation with200, whatever the body. Use Get program to read the program's current state. - If the Pismo platform doesn't confirm the creation in time, the request fails with
504and the codeEAPX0030. Retry with the same body after theRetry-Afterdelay: the retry returns the program if Apex saved it, or creates it. If the Pismo platform created the program but didn't answer in time, the retry can create a second program, and the first one is left without an external ID.
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…