FruxonDocs
Agent NetworkTriggers

Sends the person a new link to a batch question's form.

For a question that went out as a form, when the person lost the link or the page says it expired. A new link goes out with the question as first sent, from the same agent the question came from. The old link stops working, and anything saved on the form is kept. Takes no body. The response's `outcome` says what happened. SENT: the new link went out. FAILED: the new link was made but the message didn't go out (`detail` has what the channel said), and the old link no longer works. TOO_SOON: the question changed less than 5 minutes ago, so nothing was sent; `retryAfter` is when it can be. NOT_OPEN: the question is answered, closed or expired, or never went out as a link, so there is no link to send. Returns 404 when the automation has no batch with this id.

POST
/v1/tenants/{tenant}/triggers/{trigger}/ledger/batches/{batch}:resendFormLink
AuthorizationBearer <token>

JWT Authorization header using the Bearer scheme. Enter 'Bearer' [space] and then your token.

In: header

Path Parameters

trigger*string

The trigger identifier.

Formatuuid
batch*string

The batch identifier.

Formatuuid
tenant*string

The tenant identifier

Response Body

curl -X POST "https://api.fruxon.com/v1/tenants/string/triggers/497f6eca-6276-4993-bfeb-53cbbbba6f08/ledger/batches/497f6eca-6276-4993-bfeb-53cbbbba6f08:resendFormLink"
{
  "outcome": "SENT",
  "retryAfter": 0,
  "detail": "string"
}
Empty
Empty
{
  "type": "string",
  "title": "string",
  "status": 0,
  "detail": "string",
  "instance": "string",
  "property1": null,
  "property2": null
}