Compliance
Refresh compliance application status
Changed onManually poll Plivo for the latest status of a compliance application. Use this as a fallback when webhooks are delayed. The frontend enforces a 60-second cooldown between refreshes.
post/compliance/applications/{id}/refresh
Request
- Base URLhttps://api.smallest.ai/atoms/v1
- URLhttps://api.smallest.ai/atoms/v1/compliance/applications/{id}/refresh
- AuthHTTP bearer
Path parameters
idstring required
The compliance application ID
Response
Application status refreshed
Example response
{
"status": true,
"data": {
"_id": "663f1a2b4c5d6e7f8a9b0c1d",
"alias": "663f1a2b-IN-production",
"status": "submitted",
"countryIso": "IN",
"numberType": "local",
"userType": "business",
"endUserName": "Acme Corp",
"endUserCountry": "IN",
"documentFileNames": [
"certificate_of_incorporation.pdf"
]
}
}Changes
- info
added the media type
application/jsonfor the response with the status - info
added the non-success response with the status
- info
- info
endpoint added
- info