Rotate an existing feedback connection's credential
Same effect as PUT, but fails with 404 if no connection exists yet. The previous credential remains valid for 24h so in-flight provider retries aren't lost.
Same effect as PUT, but fails with 404 if no connection exists yet. The previous credential remains valid for 24h so in-flight provider retries aren't lost.
In: header
Path Parameters
Request Body
application/json
Body
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
curl -X POST "https://api.sendlit.dev/settings/esps/string/feedback/rotate" \ -H "Content-Type: application/json" \ -d '{ "credential": "string" }'{
"connectionId": "string",
"espId": "string",
"provider": "string",
"webhookUrl": "string",
"hasCredential": true,
"status": "pending",
"lastReceivedAt": "string",
"lastVerifiedAt": "string",
"lastErrorCode": "string",
"createdAt": "string",
"updatedAt": "string"
}{
"error": "string"
}{
"error": "string"
}Create or rotate a user ESP's delivery-feedback connection PUT
Creates the connection (and its stable webhook URL) on first call; a later call rotates the credential without changing the URL. The provider is always the ESP's current provider, not client-writable.
Verify a feedback connection's stored credential POST
Next Page