post https://app1.compliancely.com/api/v1/watchlist/canada/sanction/
Request and Response Object Structures.
{
"name": string,
"webhook_urls": [string]
}
{
"success_message": string,
"data": {
"id": integer,
"created_by_user":string,
"name": string,
"status": string,
"created_at": string,
"updated_at": string,
"is_cleared": boolean
},
"success": boolean
}
Sample Requests and Responses.
{
"name": "Vladimir",
"webhook_urls": []
}
{
"success_message": "Request created successfully",
"data": {
"id": 17,
"created_by": "compliancely",
"name": "Vladimir",
"status": "Pending",
"created_at": "2023-09-18T13:10:03.811562Z",
"updated_at": "2023-09-18T13:10:03.811599Z",
"is_cleared": false
},
"success": true
}
{
"errors": [
{
"name": [
"This field may not be blank."
]
}
],
"data": null,
"success": false
}
{
"detail": "Authentication credentials were not provided."
}
{
"errors": [
"Credit limit reached! For assistance, please contact the support"
],
"data": null,
"success": false
}
{
"detail": "Invalid token."
}