Amiqus SDK REST API (1.0)
Download OpenAPI specification:Download
The Amiqus SDK API is used to undertake Amiqus requests on behalf of a data subject. All API requests require SDK Token authentication. SDK Tokens are generated using the Amiqus API, scoped to a single Record and are valid for 60 minutes.
SDK token status
Check validity of the SDK token and retrieve details of the scoped Record.
Authorizations:
Responses
Request samples
- Shell + Curl
- Node + Request
- Javascript + Xhr
- Php + Http2
curl --request GET \ --url https://id.amiqus.co/sdk/v1/status \ --header 'Authorization: Bearer REPLACE_BEARER_TOKEN'
Response samples
- 200
- 401
- 500
{- "object": "record_status",
- "id": 983434,
- "status": "pending",
- "email": "marty@example.com",
- "client": 73845,
- "created_at": "2022-05-22T08:22:12Z",
- "updated_at": "2022-05-22T08:22:12Z"
}
List all steps
List all steps on record.
Authorizations:
query Parameters
page | integer >= 1 Default: 1 Page number for pagination |
limit | integer [ 1 .. 100 ] Default: 25 Number of items per page |
Responses
Request samples
- Shell + Curl
- Node + Request
- Javascript + Xhr
- Php + Http2
curl --request GET \ --url 'https://id.amiqus.co/sdk/v1/steps?page=INTEGER_VALUE&limit=INTEGER_VALUE' \ --header 'Authorization: Bearer REPLACE_BEARER_TOKEN'
Response samples
- 200
- 401
- 500
{- "object": "paginated_list",
- "data": [
- {
- "object": "step",
- "id": 2,
- "type": "check.photo_id",
- "completed_at": "2022-05-23T08:30:10Z"
}, - {
- "object": "step",
- "id": 3,
- "type": "document.request",
- "completed_at": "2022-05-23T08:32:21Z"
}, - {
- "object": "step",
- "id": 4,
- "type": "form",
- "completed_at": "2022-05-25T10:10:14Z"
}
], - "total": 3,
- "count": 3,
- "limit": 100,
- "current_page": 1,
- "total_pages": 1,
- "links": null
}
Submit a step
Submit a step.
Authorizations:
path Parameters
id required | integer |
Request Body schema: application/json
title | string The Client's name title. Required unless provided when creating the Client. |
dob | string <date> The Client's date of birth. Required unless provided when creating the Client. |
required | Array of objects (Address Period) non-empty 12 months of address history, most recent address country must be |
privacy_policy required |
Responses
Request samples
- Payload
- Shell + Curl
- Node + Request
- Javascript + Xhr
- Php + Http2
{- "title": "miss",
- "dob": "1967-10-29",
- "address_history": [
- {
- "address": {
- "unit": "3rd Floor",
- "house_name": "Citypoint",
- "house_number": "65",
- "street_name": "Haymarket Terrace",
- "city": "Edinburgh",
- "postcode": "EH12 5HD",
- "country": "GB"
}, - "start": "2019-08-24"
}
], - "privacy_policy": true
}
Response samples
- 401
- 404
- 422
- 500
{- "error": "Unauthenticated"
}
Create an Onfido SDK token
Create an Onfido SDK token for use with a Photo ID check step (standard report type only). An Onfido SDK token allows you to embed an iOS, Android or React Native Onfido SDK into your application. Onfido SDK tokens cannot be used with the Onfido Web SDK.
Onfido SDK tokens can only be used for the Photo ID check step that the Amiqus SDK token is scoped for and are valid for 90 minutes. Tokens are only valid for use with standard Photo ID report type, the biometric report type is not currently supported.
After uploading supporting documentation using the Onfido SDK, use Submit a step to submit the Photo ID check step.
Authorizations:
Request Body schema: application/json
bundle_id required | string The bundle ID (for Android "application ID") that was set up during application development. For iOS, this is usually in the form |
Responses
Request samples
- Payload
- Shell + Curl
- Node + Request
- Javascript + Xhr
- Php + Http2
{- "bundle_id": "com.your-company.app-name"
}
Response samples
- 200
- 401
- 403
- 422
- 500
- 503
{- "sdkToken": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpYXQiOjQ5OTEzNzYwMCwiZXhwIjo0OTkxMzc2NjAsIm1hcnR5IjoiU291bmRzIHByZXR0eSBoZWF2eS4iLCJkb2MiOiJXZWlnaHQgaGFzIG5vdGhpbmcgdG8gZG8gd2l0aCBpdC4iLCLwn5GLIjoiVGhpcyBpcyBub3QgYSB2YWxpZCBTREsgVG9rZW4uIn0.j2jAeX_MpagkS7qvBjF9uYYIawP_uvEPqnftEW9wDe8",
- "flowSteps": {
- "welcome": false,
- "captureDocument": true,
- "captureFace": {
- "type": "MOTION"
}
}
}