v1
latestOpenAPI 3.1.0Copyright Pismo2026-07-247702,7523.1 MBExport and import
Export program
Export a program to a JSON file.
While this endpoint returns an immediate response, it also kicks off an asynchronous export process. You can check its progress with the Get program export record endpoint. When done, the program status changes to SUCCESS.
To download the exported file, call Download exported program.
post/programs/v1/programs/export
Request body
Example request
{
"program_id": 1010
}Response
Created
Example response
{
"id": 1,
"program_id": 1010,
"program_name": "Digital wallet program",
"program_type_id": 1,
"status": "SUCCESS",
"details": "Details of program export 484",
"file_url": "export/TN-00001/484/export.json",
"started_at": "2023-07-10 15:30:14",
"finished_at": "2023-07-10 18:31:18",
"user": "example@pismo.io"
}