Welcome to the VAAS API Reference! (v1)
Download OpenAPI specification:Download
For direct API calls, VAAS uses API keys for authentication on all API calls.
Clients must include an Authorization header with the value Basic {base64_encoded_credentials}
for every API request. The {base64_encoded_credentials} should be a base64-encoded string in the format apiTokenId:apiTokenSecret.
To obtain API keys, please contact support.
Learn more about here.
- 200 -
OK
- Request processed as expected. - 400 -
INVALID_REQUEST
- Request is not well-formed, violates schema or incorrect fields. - 401 -
NOT_AUTHORIZED
- The API key doesn't match or doesn't have permissions to perform the request. - 403 -
FORBIDDEN
- The API key's permissions doesn't match the needed permission to complete the request. - 404 -
RESOURCE_NOT_FOUND
- The requested resource doesn't exist. - 429 -
RATE_LIMIT_REACHED
- Too many requests. Blocked due to rate limiting. - 5XX - Something went wrong on VAAS' end
Executes a workflow version.
Runs the specific version of a workflow.
The execution request body is dynamic and depends on the configured entrypoint data source for the workflow you want to execute. Below are examples of different possible request bodies.
Example - Onboarding PF
{
"cpf": "87813245881",
"name": "John Due",
"phone": "8178829287",
"eamil": "[email protected]"
}
Example - Onboarding PJ
{
"cnpj": "69454356000100"
}
Example - Crypto wallet screening
{
"address": "1FfmbHfnpaZjKFvyi1okTjJJusN455paPH"
}
path Parameters
workflowId required | string |
workflowVersionId required | string |
Request Body schema: application/jsonrequired
Responses
Request samples
- Payload
{ }
Response samples
- 200
{- "output": {
- "workflowExecutionId": "string",
- "targetOfAnalysis": {
- "key": {
- "name": "string",
- "value": { }
}, - "mainLabel": {
- "name": "string",
- "value": { }
}, - "additionalLabels": [
- {
- "name": "string",
- "value": { }
}
]
}, - "result": {
- "score": {
- "value": 0,
- "label": "string"
}, - "decision": {
- "value": {
- "type": "POSITIVE"
}, - "label": "string",
- "classification": "string"
}
}, - "status": "CREATED"
}, - "error": {
- "message": "string"
}
}
Executes a workflow.
Runs a workflow on your currently deployed version.
The execution request body is dynamic and depends on the configured entrypoint data source for the workflow you want to execute. Below are examples of different possible request bodies.
Example - Onboarding PF
{
"cpf": "87813245881",
"name": "John Due",
"phone": "8178829287",
"eamil": "[email protected]"
}
Example - Onboarding PJ
{
"cnpj": "69454356000100"
}
Example - Crypto wallet screening
{
"address": "1FfmbHfnpaZjKFvyi1okTjJJusN455paPH"
}
path Parameters
workflowId required | string |
Request Body schema: application/jsonrequired
Responses
Request samples
- Payload
{ }
Response samples
- 200
{- "output": {
- "workflowExecutionId": "string",
- "targetOfAnalysis": {
- "key": {
- "name": "string",
- "value": { }
}, - "mainLabel": {
- "name": "string",
- "value": { }
}, - "additionalLabels": [
- {
- "name": "string",
- "value": { }
}
]
}, - "result": {
- "score": {
- "value": 0,
- "label": "string"
}, - "decision": {
- "value": {
- "type": "POSITIVE"
}, - "label": "string",
- "classification": "string"
}
}, - "status": "CREATED"
}, - "error": {
- "message": "string"
}
}