Amiqus SDK REST API (1.0)
Download OpenAPI specification:Download
Amiqus Engineering: developers@amiqus.co URL: https://developers.amiqus.co/sdk/sdk-api-reference.html
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:
sdk_token
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
Content type
application/json
{- "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"
}
Submit a step
Submit a step.
Authorizations:
sdk_token
path Parameters
id required | integer |
Request Body schema: application/json
One of
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
Content type
application/json
Example
{- "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
Content type
application/json
{- "error": "Unauthenticated"
}
List all steps
List all steps on record.
Authorizations:
sdk_token
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
Content type
application/json
{- "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
}