axonpush
API referenceExport destinations

POST /export-destinations

POST
/export-destinations

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/problem+json

curl -X POST "https://example.com/export-destinations" \  -H "Content-Type: application/json" \  -d '{    "endpointUrl": "http://example.com",    "envSlug": "string",    "name": "string",    "signals": [      "string"    ]  }'
{  "$schema": "https://example.com/schemas/DestinationDTO.json",  "active": true,  "createdAt": "string",  "destinationId": "string",  "endpointUrl": "string",  "envSlug": "string",  "eventTypeFilter": [    "string"  ],  "headerKeys": [    "string"  ],  "name": "string",  "orgId": "string",  "serviceName": "string",  "signals": [    "string"  ],  "updatedAt": "string"}