Skip to content

Export all template descriptors and versions

Request

Export all template descriptors and template versions for a company. The export is in JSON format. It can be used with the import endpoint to restore templates.

Security
oauth2(Required scopes: communicator.template:read) or bearerAuth or apiKeyHeader
Query
companyIdstringrequired

The company to export templates

activeOnlyboolean

Export only active templates

Default:true
GET
/communicator/templates/export
curl -i -X GET \
  'https://sandboxapi.peach.finance/api/communicator/templates/export?companyId=string&activeOnly=true' \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>'

Responses

OK

Bodyapplication/json
Array of any
Response
[ null ]