GET
https://api.sfox.com/v1/enterprise/eddq/requests
Returns a list of requests for all your users that are required to complete EDD.
Query Parameters
Filters the EDD requests for a specific user based on their user_id
.
Response Body
The unique, sFOX-generated ID of the EDD request.
The unique ID of the user shared between sFOX and you.
The ID of the type of EDDQ (Enhanced Due Diligence Questionnaire)
The name of the EDDQ based on the ddq_id
. Possible values:
The completion status of the EDDQ.
The date that the EDDQ request was added.
The date that the EDDQ request was most recently updated.
Responses
200: OK
{
"data": [
{
"id": 1,
"user_id": "187ce1a6-dd9d-4a6a-9a79-71425584e3ba",
"ddq_id": 1,
"required_form": "EDDQ - Individual",
"status": "IN_REVIEW",
"date_added": "2024-03-20T00:16:52.000Z",
"date_updated": "2024-03-20T00:16:52.000Z"
},
{
"id": 6,
"user_id": "testing",
"ddq_id": 1,
"required_form": "EDDQ - Individual",
"status": "REVIEWED",
"date_added": "2024-03-29T16:55:55.000Z",
"date_updated": "2024-03-29T16:55:55.000Z"
},
{
"id": 8,
"user_id": "clelele",
"ddq_id": 1,
"required_form": "EDDQ - Individual",
"status": "REQUESTED",
"date_added": "2024-04-03T17:57:25.000Z",
"date_updated": "2024-04-03T17:57:25.000Z"
}
]
}
Example Requests
curl -X GET \
-H "Authorization: Bearer ${ENTERPRISE_API_KEY}" \
'https://api.staging.sfox.com/v1/enterprise/eddq/requests'
const axios = require('axios');
let config = {
method: 'get',
maxBodyLength: Infinity,
url: 'https://api.staging.sfox.com/v1/enterprise/eddq/requests',
headers: {
'Authorization': `Bearer ${process.env.ENTERPRISE_API_KEY}`,
}
};
axios.request(config)
.then((response) => {
console.log(response.status);
console.log(response.data);
})
.catch((error) => {
console.log(error.response.status);
console.log(error.response.data);
});
import requests
import os
response = requests.get('https://api.staging.sfox.com/v1/enterprise/eddq/requests',
headers={
'Authorization': f"Bearer {os.environ['ENTERPRISE_API_KEY']}"
})
print(response.status_code)
print(response.json())
Last updated