List Reason Codes
Reason Code API
Overview
The Reason Code API allows you to retrieve codes that are associated with various risk signals. You can filter the codes based on product names, exact names, or keywords.
Parameters
product
- Array of strings
Returns only codes for the named product. Repeat the parameter to match several products.
name
- Array of strings
Returns only the codes whose name exactly matches the value. Repeat the parameter to request several codes.
text
- String
Returns codes whose name or description contains the substring, case-insensitive. Useful for keyword search.
isActive
- Boolean
Set totrueto return only active codes, orfalseto include deprecated codes. When omitted, only active codes are returned.
Response
200
The reason code catalog was retrieved successfully.
Object Structure
- reasonCodes
- Array of objects
The list of reason codes that match the request.
- Array of objects
reasonCodes Object
- name
- String
The reason code identifier.
- String
- provider
- String
The provider that produces the code.
- String
- description
- String
Human-readable explanation of the signal.
- String
- product
- String
The product the code belongs to. Omitted when the code is not product-specific.
- String
- isActive
- Boolean
Whether the code is currently in use.
- Boolean
- releaseDate
- Date
The date the code was released (YYYY-MM-DD), when available.
- Date
- deprecatedDate
- Date
The date the code was deprecated (YYYY-MM-DD), when applicable.
- Date
- additionalNote
- String
Supplementary guidance for the code, when available.
- String
Example Request
curl --request GET \
--url https://riskos.socure.com/api/reason-codes \
--header 'accept: application/json'
Example Response
{
"reasonCodes": [
{
"name": "RXXXX",
"provider": "Socure",
"description": "Description of a risk signal.",
"product": "Email Risk",
"isActive": true,
"releaseDate": "2024-03-15"
},
{
"name": "IXXXX",
"provider": "Socure",
"description": "Description of an informational signal.",
"product": "Address Risk",
"isActive": true
}
]
}