Collect Additional Data API

Introduction

The Attestr back office team may occasionally need more information to complete a specific verification. In such cases, the team updates the profile with a follow-up question, and, if set up, a web hook notification is sent to the customer. Refer to the Webhooks section to configure the web hook.

INTERESTED ?

To start a chat, click the button below, and one of our available executives will assist you with questions about onboarding and commercials.

Chat With Attestr Support

API Details

Web hook notification payload

Attestr servers trigger a factx.query web hook event when a new query is posted by the back office executive. The event payload has the following structure.

TypeKeyDescriptionMin VersionMax Version
String_idUnique Query Idv1
StringprofileAssociated profile Id
Array[QueryObject]queriesArray of queries object. For QueryObject definition, refer to Get Profile APIv1
Sample Webhook Payload
Copy

Upon receiving this web hook notification, the customer should then use the Collect Additional Data API to submit response to the query. The API definition is described below.

Collect Additional Data API

TypeURL
PUThttps://api.attestr.com/api/{version}/public/factx/<profileId>/query/<queryId>

Request Header Parameters

TypeNameValue / DescriptionOptionalMin VersionMax Version
StringContent-Typeapplication/jsonRequiredv1
StringAuthorizationBasic {authToken}Requiredv1

If you do not have the authentication token, please refer to Register App to generate one.

Request Body Parameters

TypeNameDescriptionOptional (default)Min VersionMax Version
StringresponseDetailed text response to the query. Max length 16384 characters.Requiredv1
String[]documentsArray of supporting document Ids. To generate document Ids, first upload each document using Document UploadOptionalv1

Sample Request

JSON
Copy

Response Details

Http Status 200

Error Response

ParameterTypeDescription
codeNumberUnique error codes for different errors. Always available.
messageStringError message describing the error. Always Available.
detailsStringDetail error message. Available only for certain types of errors.

Error Codes

HTTP StatusError CodeError Message
4004001Malformed data or missing required parameter values
4004005Operation could not be performed due to low credits balance
40040018Invalid profile Id or you do not have access to this record
40040038Profile is archived already, operation not allowed
4014016Invalid client authorization
4034031Unauthorized access
4034035Requested service is not provisioned for your account
4034039Client's IP address is not whitelisted
4034035Requested service is not provisioned for your account
4294291Maximum account rate limit exceeded
4294292Maximum API rate limit exceeded
4294293Maximum account daily limit exceeded
4294294Maximum API daily limit exceeded
5005001Request could not be processed

Sample Error Response

JSON
Copy

INTERESTED ?

To start a chat, click the button below, and one of our available executives will assist you with questions about onboarding and commercials.

Chat With Attestr Support
Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard