Base path:
/paper-channel-private/v1This is an internal API. It is not exposed publicly and requires network-level access to the private Paper Channel service.Check address
GET /paper-channel-private/v1/{requestId}/check-address
Verify the existence and validity of the notification address associated with the given requestId. Returns the request identifier and the date-time until which the address record remains valid (endValidity).
If no address record is found for the requestId, the service returns 404.
Path parameters
The identifier of the paper delivery request whose address you want to verify.This must be an existing
requestId from a prepare or send request already submitted to Paper Channel.Responses
| Status | Meaning |
|---|---|
200 | Address record found. Returns validity information. |
404 | No address record found for the given requestId. |
500 | Internal server error. |
200 response — CheckAddressResponse
The request identifier, echoed back from the stored record.
The date and time (ISO 8601, UTC) until which the address record is considered valid.After this timestamp the address may no longer reflect the recipient’s current location. When the current time exceeds
endValidity, re-run the prepare phase to obtain a refreshed address.Example: 2024-09-15T23:59:59.000ZUse case: validating an address before prepare
Before starting a new delivery attempt, use this endpoint to check whether the address already held by Paper Channel is still current:Evaluate endValidity
Compare
endValidity against the current timestamp.- If
endValidityis in the future, the stored address is still valid. You can proceed directly to the send phase using the address returned by the previous prepare. - If
endValidityis in the past, or if the response is404, the address must be re-validated. Submit a new prepare request.