Server
https://trust-and-safety.yoti.com

Production server

Server Variables
apiKey ApiKeyAuth

Fields
KeyIn
AuthorizationHeader

Create an account to use for moderation

Auth
Headers
Authorizationstring

Authorization token

Yoti-Sdk-Idstring

Relying party's App ID

pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$

Content-Typestring

Define the content-type of the request payload.

Enum: application/json

Request Body

Request an account

objectobject
namestring
POST /accounts
Copy
Responses
201

Created

objectobject
idstring

pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$

400

Bad request

401

Unauthorized

409

Duplicate account name error

422

Too many accounts created

500

Internal server error

Response
Copy

Retrieve an account

Auth
Headers
Authorizationstring

Authorization token

Yoti-Sdk-Idstring

Relying party's App ID

pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$

Path Params
accountIdstring

The account ID you are operating under. One SDK ID may support multiple account IDs e.g. a test account, production account etc.

pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$

GET /accounts/{accountId}
Copy
Responses
200

account response

No response body
401

Unauthorized

404

Specified resource not found

500

Internal server error

Response
Copy

Delete an account

Auth
Headers
Authorizationstring

Authorization token

Yoti-Sdk-Idstring

Relying party's App ID

pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$

Path Params
accountIdstring

The account ID you are operating under. One SDK ID may support multiple account IDs e.g. a test account, production account etc.

pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$

DELETE /accounts/{accountId}
Copy
Responses
204

account deleted

No response body
401

Unauthorized

404

Specified resource not found

500

Internal server error

Response
Copy

List the accounts pending invitiations

Auth
Headers
Authorizationstring

Authorization token

Yoti-Sdk-Idstring

Relying party's App ID

pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$

Path Params
accountIdstring

The account ID you are operating under. One SDK ID may support multiple account IDs e.g. a test account, production account etc.

pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$

GET /accounts/{accountId}/invitations
Copy
Responses
200

OK

invitationsarray
idstring

pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$

emailstring
usernamestring
adminboolean
expires_atdate-time
created_atdate-time
401

Unauthorized

404

Specified resource not found

500

Internal server error

Response
Copy

Invite a user to the account

Auth
Headers
Authorizationstring

Authorization token

Yoti-Sdk-Idstring

Relying party's App ID

pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$

Path Params
accountIdstring

The account ID you are operating under. One SDK ID may support multiple account IDs e.g. a test account, production account etc.

pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$

Request Body

Request a user joins an account

objectobject
emailstring

maxLength: 100

minLength: 7

adminboolean
POST /accounts/{accountId}/invitations
Copy
Responses
201

Created

objectobject
idstring

pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$

401

Unauthorized

404

Specified resource not found

500

Internal server error

Response
Copy

Revoke a pending invitation

Auth
Headers
Authorizationstring

Authorization token

Yoti-Sdk-Idstring

Relying party's App ID

pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$

Path Params
accountIdstring

The account ID you are operating under. One SDK ID may support multiple account IDs e.g. a test account, production account etc.

pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$

invitationIdstring

The ID of an invitation resource

pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$

DELETE /accounts/{accountId}/invitations/{invitationId}
Copy
Responses
204

Resource deleted

No response body
401

Unauthorized

404

Specified resource not found

500

Internal server error

Response
Copy

List account members

Auth
Headers
Authorizationstring

Authorization token

Yoti-Sdk-Idstring

Relying party's App ID

pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$

Path Params
accountIdstring

The account ID you are operating under. One SDK ID may support multiple account IDs e.g. a test account, production account etc.

pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$

GET /accounts/{accountId}/members
Copy
Responses
200

OK

membersarray
idstring

pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$

emailstring

maxLength: 100

usernamestring
adminboolean
scopesarray[string]
created_atdate-time
401

Unauthorized

404

Specified resource not found

500

Internal server error

Response
Copy

Fetch account member

Auth
Headers
Authorizationstring

Authorization token

Yoti-Sdk-Idstring

Relying party's App ID

pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$

Path Params
accountIdstring

The account ID you are operating under. One SDK ID may support multiple account IDs e.g. a test account, production account etc.

pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$

memberIdstring

The ID of an member resource

pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$

GET /accounts/{accountId}/members/{memberId}
Copy
Responses
200

Resource found

No response body
401

Unauthorized

404

Specified resource not found

500

Internal server error

Response
Copy

Update the scopes available to a member

Auth
Headers
Authorizationstring

Authorization token

Yoti-Sdk-Idstring

Relying party's App ID

pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$

Path Params
accountIdstring

The account ID you are operating under. One SDK ID may support multiple account IDs e.g. a test account, production account etc.

pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$

memberIdstring

The ID of an member resource

pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$

Request Body

Body to be sent when modifying an account members scopes

scopesarray[string]

Enum: contents:list,contents:manage,contents:moderate,contents:view,contents:reports:list,contents:reports:moderate,flags:manage,members:manage,moderations:manage,moderations:view,notifications:manage,notifications:view,profiles:list,profiles:manage,profiles:view,reports:view,reports:manage

PUT /accounts/{accountId}/members/{memberId}
Copy
Responses
204

Resource deleted

No response body
401

Unauthorized

404

Specified resource not found

500

Internal server error

Response
Copy

Remove account member

Auth
Headers
Authorizationstring

Authorization token

Yoti-Sdk-Idstring

Relying party's App ID

pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$

Path Params
accountIdstring

The account ID you are operating under. One SDK ID may support multiple account IDs e.g. a test account, production account etc.

pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$

memberIdstring

The ID of an member resource

pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$

DELETE /accounts/{accountId}/members/{memberId}
Copy
Responses
204

Resource deleted

No response body
401

Unauthorized

404

Specified resource not found

500

Internal server error

Response
Copy

List available scopes

Auth
Headers
Authorizationstring

Authorization token

Yoti-Sdk-Idstring

Relying party's App ID

pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$

Path Params
accountIdstring

The account ID you are operating under. One SDK ID may support multiple account IDs e.g. a test account, production account etc.

pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$

GET /accounts/{accountId}/scopes
Copy
Responses
200

List of scopes

No response body
401

Unauthorized

404

Specified resource not found

500

Internal server error

Response
Copy

Upgrade account member to admin

Auth
Headers
Authorizationstring

Authorization token

Yoti-Sdk-Idstring

Relying party's App ID

pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$

Path Params
accountIdstring

The account ID you are operating under. One SDK ID may support multiple account IDs e.g. a test account, production account etc.

pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$

Request Body

Body to be sent when converting an account member into an account admin

member_idstring

pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$

POST /accounts/{accountId}/admin
Copy
Responses
200

Member made admin

No response body
401

Unauthorized

404

Specified resource not found

500

Internal server error

Response
Copy

Downgrade account member

Auth
Headers
Authorizationstring

Authorization token

Yoti-Sdk-Idstring

Relying party's App ID

pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$

Path Params
accountIdstring

The account ID you are operating under. One SDK ID may support multiple account IDs e.g. a test account, production account etc.

pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$

memberIdstring

The ID of an member resource

pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$

DELETE /accounts/{accountId}/admin/{memberId}
Copy
Responses
204

Resource deleted

No response body
401

Unauthorized

404

Specified resource not found

500

Internal server error

Response
Copy

Add content to archive

Auth
Headers
Authorizationstring

Authorization token

Yoti-Sdk-Idstring

Relying party's App ID

pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$

Path Params
accountIdstring

The account ID you are operating under. One SDK ID may support multiple account IDs e.g. a test account, production account etc.

pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$

Request Body

Request content archived

objectobject
content_idstring

pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$

POST /accounts/{accountId}/archive/contents
Copy
Responses
204

Resource archived

No response body
401

Unauthorized

404

Specified resource not found

500

Internal server error

Response
Copy

Remove content from archive

Auth
Headers
Authorizationstring

Authorization token

Yoti-Sdk-Idstring

Relying party's App ID

pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$

Path Params
accountIdstring

The account ID you are operating under. One SDK ID may support multiple account IDs e.g. a test account, production account etc.

pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$

idstring

The ID of a resource to operate on

pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$

DELETE /accounts/{accountId}/archive/contents/{id}
Copy
Responses
204

Resource unarchived

No response body
401

Unauthorized

404

Specified resource not found

500

Internal server error

Response
Copy

List records

Auth
Headers
Authorizationstring

Authorization token

Yoti-Sdk-Idstring

Relying party's App ID

pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$

Path Params
accountIdstring

The account ID you are operating under. One SDK ID may support multiple account IDs e.g. a test account, production account etc.

pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$

GET /accounts/{accountId}/contents
Copy
Responses
201

Created

objectobject
idstring

pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$

401

Unauthorized

404

Specified resource not found

500

Internal server error

Response
Copy

Create a record of a content

Auth
Headers
Authorizationstring

Authorization token

Yoti-Sdk-Idstring

Relying party's App ID

pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$

Path Params
accountIdstring

The account ID you are operating under. One SDK ID may support multiple account IDs e.g. a test account, production account etc.

pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$

Request Body

Request content stored

objectobject
urlstring

pattern: https://*

typestring

Enum: IMAGE,VIDEO,LIVE_VIDEO

profile_idsarray[string]
uploader_idstring

pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$

titlestring

maxLength: 200

minLength: 0

POST /accounts/{accountId}/contents
Copy
Responses
201

Created

objectobject
idstring

pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$

401

Unauthorized

404

Specified resource not found

500

Internal server error

Response
Copy

Fetch content

Auth
Headers
Authorizationstring

Authorization token

Yoti-Sdk-Idstring

Relying party's App ID

pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$

Path Params
accountIdstring

The account ID you are operating under. One SDK ID may support multiple account IDs e.g. a test account, production account etc.

pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$

idstring

The ID of a resource to operate on

pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$

GET /accounts/{accountId}/contents/{id}
Copy
Responses
200

OK

No response body
401

Unauthorized

404

Specified resource not found

500

Internal server error

Response
Copy

Add a profile to content

Auth
Headers
Authorizationstring

Authorization token

Yoti-Sdk-Idstring

Relying party's App ID

pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$

Path Params
accountIdstring

The account ID you are operating under. One SDK ID may support multiple account IDs e.g. a test account, production account etc.

pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$

idstring

The ID of a resource to operate on

pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$

Request Body

Body to be sent when upholding a content report

profile_idstring

pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$

POST /accounts/{accountId}/contents/{id}/profiles
Copy
Responses
200

OK

reportsarray
idstring

pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$

content_idstring

pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$

reasonstring
resolutionstring
reviewed_atdate-time
created_atdate-time
total_countnumber
400

Bad request

401

Unauthorized

404

Specified resource not found

500

Internal server error

Response
Copy

Remove profile from content

Auth
Headers
Authorizationstring

Authorization token

Yoti-Sdk-Idstring

Relying party's App ID

pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$

Path Params
accountIdstring

The account ID you are operating under. One SDK ID may support multiple account IDs e.g. a test account, production account etc.

pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$

idstring

The ID of a resource to operate on

pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$

profileIdstring

The ID of the profile resource subject to query or modification

pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$

DELETE /accounts/{accountId}/contents/{id}/profiles/{profileId}
Copy
Responses
204

OK

reportsarray
idstring

pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$

content_idstring

pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$

reasonstring
resolutionstring
reviewed_atdate-time
created_atdate-time
total_countnumber
400

Bad request

401

Unauthorized

404

Specified resource not found

500

Internal server error

Response
Copy

Fetch a paginated list of moderation requests filtered by content id

Auth
Headers
Authorizationstring

Authorization token

Yoti-Sdk-Idstring

Relying party's App ID

pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$

Path Params
accountIdstring

The account ID you are operating under. One SDK ID may support multiple account IDs e.g. a test account, production account etc.

pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$

idstring

The ID of a resource to operate on

pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$

Query String
pageinteger

Which page of resources to fetch

minimum: 1

Default: 1

GET /accounts/{accountId}/contents/{id}/moderations
Copy
Responses
200

OK

contentsobject
content_idstring

pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$

content_typestring

Enum: IMAGE,VIDEO,LIVE_VIDEO

urlstring

pattern: https://.*

checksarray
idstring

pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$

check_typestring

Enum: UNKNOWN_FACE,AGE_ESTIMATION,BANNED_PROFILE,KNOWN_FACE

notificationsarray
destinationstring

pattern: https://*

notification_typestring

Enum: SLACK,HTTP

400

Bad request

401

Unauthorized

404

Specified resource not found

500

Internal server error

Response
Copy

Fetch reports for a specific item of content

Auth
Headers
Authorizationstring

Authorization token

Yoti-Sdk-Idstring

Relying party's App ID

pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$

Path Params
accountIdstring

The account ID you are operating under. One SDK ID may support multiple account IDs e.g. a test account, production account etc.

pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$

idstring

The ID of a resource to operate on

pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$

Query String
pageinteger

Which page of resources to fetch

minimum: 1

Default: 1

GET /accounts/{accountId}/contents/{id}/reports
Copy
Responses
200

OK

reportsarray
idstring

pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$

content_idstring

pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$

reasonstring
resolutionstring
reviewed_atdate-time
created_atdate-time
total_countnumber
401

Unauthorized

404

Specified resource not found

500

Internal server error

Response
Copy

Fetch a paginated list of moderation requests

Auth
Headers
Authorizationstring

Authorization token

Yoti-Sdk-Idstring

Relying party's App ID

pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$

Path Params
accountIdstring

The account ID you are operating under. One SDK ID may support multiple account IDs e.g. a test account, production account etc.

pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$

Query String
pageinteger

Which page of resources to fetch

minimum: 1

Default: 1

typestring

The type of content to filter by

Enum: VIDEO,LIVE_VIDEO,IMAGE

GET /accounts/{accountId}/moderations
Copy
Responses
200

OK

contentsobject
content_idstring

pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$

content_typestring

Enum: IMAGE,VIDEO,LIVE_VIDEO

urlstring

pattern: https://.*

checksarray
idstring

pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$

check_typestring

Enum: UNKNOWN_FACE,AGE_ESTIMATION,BANNED_PROFILE,KNOWN_FACE

notificationsarray
destinationstring

pattern: https://*

notification_typestring

Enum: SLACK,HTTP

400

Bad request

401

Unauthorized

404

Specified resource not found

500

Internal server error

Response
Copy

Request a resource is moderated

Auth
Headers
Authorizationstring

Authorization token

Yoti-Sdk-Idstring

Relying party's App ID

pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$

Content-Typestring

Define the content-type of the request payload.

Enum: application/json

Path Params
accountIdstring

The account ID you are operating under. One SDK ID may support multiple account IDs e.g. a test account, production account etc.

pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$

Request Body

Request moderation job

objectobject
content_idstring

pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$

profile_idsarray[string]
group_idsarray[string]
age_estimationinteger

Create a notification if unknown faces are outside of this age range

maximum: 100

minimum: 0

unknown_facesboolean

Create a notification for unknown faces

notificationsobject
web_destinationsarray[string]
slack_destinationsarray[string]
member_idstring

send the results to this member's inbox

pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$

POST /accounts/{accountId}/moderations
Copy
Responses
201

Created

objectobject
idstring

pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$

400

Bad request

401

Unauthorized

422

Content can't be reached

500

Internal server error

Response
Copy

Request an overview of a specific moderation request

Auth
Headers
Authorizationstring

Authorization token

Yoti-Sdk-Idstring

Relying party's App ID

pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$

Path Params
accountIdstring

The account ID you are operating under. One SDK ID may support multiple account IDs e.g. a test account, production account etc.

pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$

moderationIdstring

The ID of the moderation resource subject to query or modification

pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$

GET /accounts/{accountId}/moderations/{moderationId}
Copy
Responses
200

OK

contentobject
idstring
typestring
urlstring
uploaderobject
idstring
display_namestring
referencestring
profilesarray[object]
idstring
display_namestring
referencestring
groupsarray[object]
idstring
labelstring
400

Bad request

401

Unauthorized

404

Specified resource not found

500

Internal server error

Response
Copy

Request the details for a specific moderation request

Auth
Headers
Authorizationstring

Authorization token

Yoti-Sdk-Idstring

Relying party's App ID

pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$

Path Params
accountIdstring

The account ID you are operating under. One SDK ID may support multiple account IDs e.g. a test account, production account etc.

pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$

moderationIdstring

The ID of the moderation resource subject to query or modification

pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$

GET /accounts/{accountId}/moderations/{moderationId}/details
Copy
Responses
200

OK

contentsobject
content_idstring

pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$

content_typestring

Enum: IMAGE,VIDEO,LIVE_VIDEO

urlstring

pattern: https://.*

checksarray
idstring

pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$

check_typestring

Enum: UNKNOWN_FACE,AGE_ESTIMATION,BANNED_PROFILE,KNOWN_FACE

notificationsarray
destinationstring

pattern: https://*

notification_typestring

Enum: SLACK,HTTP

400

Bad request

401

Unauthorized

404

Specified resource not found

500

Internal server error

Response
Copy

DEPRECATE - Request the results of a moderation requestDeprecated

Auth
Headers
Authorizationstring

Authorization token

Yoti-Sdk-Idstring

Relying party's App ID

pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$

Path Params
accountIdstring

The account ID you are operating under. One SDK ID may support multiple account IDs e.g. a test account, production account etc.

pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$

moderationIdstring

The ID of the moderation resource subject to query or modification

pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$

GET /accounts/{accountId}/moderations/{moderationId}/results
Copy
Responses
200

OK

content_typestring

Enum: VIDEO,LIVE_VIDEO,IMAGE

urlstring
face_check_resultsarray
idstring

pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$

frame_timenumber
is_bannedboolean
age_groupstring

Enum: threshold_met,not_required,unknown,child,teenager_young,teenager_old,adult_young,adult

profile_idstring

pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$

face_topinteger
face_rightinteger
face_bottominteger
face_leftinteger
400

Bad request

401

Unauthorized

404

Specified resource not found

500

Internal server error

Response
Copy

Request the results of a moderation request

Auth
Headers
Authorizationstring

Authorization token

Yoti-Sdk-Idstring

Relying party's App ID

pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$

Path Params
accountIdstring

The account ID you are operating under. One SDK ID may support multiple account IDs e.g. a test account, production account etc.

pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$

moderationIdstring

The ID of the moderation resource subject to query or modification

pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$

GET /accounts/{accountId}/moderations/{moderationId}/report
Copy
Responses
200

OK

banned_facesboolean
unknown_facesboolean
age_groupsarray[string]

Enum: threshold_met,not_required,unknown,child,teenager_young,teenager_old,adult_young,adult

urlstring
face_check_resultsarray
idstring

pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$

frame_timenumber
is_bannedboolean
age_groupstring

Enum: threshold_met,not_required,unknown,child,teenager_young,teenager_old,adult_young,adult

profile_idstring

pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$

face_topinteger
face_rightinteger
face_bottominteger
face_leftinteger
400

Bad request

401

Unauthorized

404

Specified resource not found

500

Internal server error

Response
Copy

Request the notifications generated for a moderation

Auth
Headers
Authorizationstring

Authorization token

Yoti-Sdk-Idstring

Relying party's App ID

pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$

Path Params
accountIdstring

The account ID you are operating under. One SDK ID may support multiple account IDs e.g. a test account, production account etc.

pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$

moderationIdstring

The ID of the moderation resource subject to query or modification

pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$

Query String
pageinteger

Which page of resources to fetch

minimum: 1

Default: 1

epochinteger

starting date for a filter

GET /accounts/{accountId}/moderations/{moderationId}/notifications
Copy
Responses
200

OK

account_idstring

pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$

typestring

Enum: FACE,ACTION

created_atdate-time
dataobject
moderation_idstring

pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$

content_idstring

pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$

urlstring
content_typestring

Enum: IMAGE,VIDEO,LIVE_VIDEO

reasonsarray[string]

Enum: BANNED_PROFILE,AGE_ESTIMATION,UNKNOWN_FACE,STARTED,STOPPED

frame_timenumber
observed_atnumber
topinteger
leftinteger
bottominteger
rightinteger
age_groupstring

Enum: unknown,not_required,child,teenager_young,teenager_old,adult_young,adult,threshold_met

400

Bad request

401

Unauthorized

404

Specified resource not found

422

Pagingation out of range

500

Internal server error

Response
Copy

Stop a running moderation

Auth
Headers
Authorizationstring

Authorization token

Yoti-Sdk-Idstring

Relying party's App ID

pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$

Path Params
accountIdstring

The account ID you are operating under. One SDK ID may support multiple account IDs e.g. a test account, production account etc.

pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$

moderationIdstring

The ID of the moderation resource subject to query or modification

pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$

POST /accounts/{accountId}/moderations/{moderationId}/stop
Copy
Responses
202

accepted

No response body
400

Bad request

401

Unauthorized

404

Specified resource not found

500

Internal server error

Response
Copy

Request latest notifications

Auth
Headers
Authorizationstring

Authorization token

Yoti-Sdk-Idstring

Relying party's App ID

pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$

Path Params
accountIdstring

The account ID you are operating under. One SDK ID may support multiple account IDs e.g. a test account, production account etc.

pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$

Query String
pageinteger

Which page of resources to fetch

minimum: 1

Default: 1

epochinteger

starting date for a filter

GET /accounts/{accountId}/notifications
Copy
Responses
200

List of notifications sorted most recent to oldest

400

Bad request

401

Unauthorized

404

Specified resource not found

422

Pagingation out of range

500

Internal server error

Response
Copy

Request a specific notification

Auth
Headers
Authorizationstring

Authorization token

Yoti-Sdk-Idstring

Relying party's App ID

pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$

Path Params
accountIdstring

The account ID you are operating under. One SDK ID may support multiple account IDs e.g. a test account, production account etc.

pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$

idstring

The ID of a resource to operate on

pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$

GET /accounts/{accountId}/notifications/{id}
Copy
Responses
200

OK

401

Unauthorized

404

Specified resource not found

500

Internal server error

Response
Copy

Record a notification as incorrect

Auth
Headers
Authorizationstring

Authorization token

Yoti-Sdk-Idstring

Relying party's App ID

pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$

Path Params
accountIdstring

The account ID you are operating under. One SDK ID may support multiple account IDs e.g. a test account, production account etc.

pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$

idstring

The ID of a resource to operate on

pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$

Request Body

Create a review for a notification

commentstring

Why the review score was given

maxLength: 500

POST /accounts/{accountId}/notifications/{id}/accept
Copy
Responses
200

OK

No response body
401

Unauthorized

404

Specified resource not found

500

Internal server error

Response
Copy

Record a notification as incorrect

Auth
Headers
Authorizationstring

Authorization token

Yoti-Sdk-Idstring

Relying party's App ID

pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$

Path Params
accountIdstring

The account ID you are operating under. One SDK ID may support multiple account IDs e.g. a test account, production account etc.

pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$

idstring

The ID of a resource to operate on

pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$

Request Body

Create a review for a notification

commentstring

Why the review score was given

maxLength: 500

POST /accounts/{accountId}/notifications/{id}/dismiss
Copy
Responses
200

OK

No response body
401

Unauthorized

404

Specified resource not found

500

Internal server error

Response
Copy

Fetch pagingated list of reviews for a notification

Auth
Headers
Authorizationstring

Authorization token

Yoti-Sdk-Idstring

Relying party's App ID

pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$

Path Params
accountIdstring

The account ID you are operating under. One SDK ID may support multiple account IDs e.g. a test account, production account etc.

pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$

idstring

The ID of a resource to operate on

pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$

Query String
pageinteger

Which page of resources to fetch

minimum: 1

Default: 1

GET /accounts/{accountId}/notifications/{id}/reviews
Copy
Responses
200

OK

reviewsarray
idstring

Resource identifier for this review

pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$

notification_idstring

Which notification does this review relate to

pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$

user_idstring

Who performed this review

pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$

descriptionstring

Why the review score was given

scoreinteger

The score given to this review

maximum: 100

minimum: 0

created_atdate-time

When was this review performed

total_countnumber
401

Unauthorized

404

Specified resource not found

500

Internal server error

Response
Copy

List profiless for a given account

Auth
Headers
Authorizationstring

Authorization token

Yoti-Sdk-Idstring

Relying party's App ID

pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$

Path Params
accountIdstring

The account ID you are operating under. One SDK ID may support multiple account IDs e.g. a test account, production account etc.

pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$

Query String
pageinteger

Which page of resources to fetch

minimum: 1

Default: 1

GET /accounts/{accountId}/profiles
Copy
Responses
200

OK

profilesarray
profile_idstring

pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$

is_bannedboolean

Is the profile on the ban list

Deprecated

is_activeboolean

Is the profile active, if the profile is not active it will be deleted. Further actions will not be possible with this profile

Deprecated

activeboolean

Is the profile active, if the profile is not active it will be deleted. Further actions will not be possible with this profile

400

Bad request

401

Unauthorized

404

Specified resource not found

422

Pagingation out of range

500

Internal server error

Response
Copy

Create a profile that can contain a collection of faces

Auth
Headers
Authorizationstring

Authorization token

Yoti-Sdk-Idstring

Relying party's App ID

pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$

Content-Typestring

Define the content-type of the request payload.

Enum: application/json

Path Params
accountIdstring

The account ID you are operating under. One SDK ID may support multiple account IDs e.g. a test account, production account etc.

pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$

Request Body

Create a profile

profile_typenumber

The type of profile to be created

  • 1 searchable profiles
  • 2 non-searchable profiles

Enum: 1,2

display_namestring

How should this profile be named in a platform, for visual representation to a human

referencestring

A reference string used to identify the profile in a consistent manner, assuming the display_name may change over time

biometric_consentstring

A reference string used to identify when consent for biometric processing was obtained for the profile

consent_linkstring

A reference of the consent the user has given for the video

pattern: https?://*

id_verificationstring

A reference of the ID verification that can be linked to the profile

is_id_verifiedboolean

A flag that says if the ID was verified

facestring

base64 encoding png or jpeg of the individuals face (one face only)

POST /accounts/{accountId}/profiles
Copy
Responses
201

Created

objectobject
idstring

pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$

401

Unauthorized

404

Specified resource not found

500

Internal server error

Response
Copy

Fetch a profile's details

Auth
Headers
Authorizationstring

Authorization token

Yoti-Sdk-Idstring

Relying party's App ID

pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$

Path Params
accountIdstring

The account ID you are operating under. One SDK ID may support multiple account IDs e.g. a test account, production account etc.

pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$

profileIdstring

The ID of the profile resource subject to query or modification

pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$

GET /accounts/{accountId}/profiles/{profileId}
Copy
Responses
200

OK

profile_idstring

pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$

is_bannedboolean

Is the profile on the ban list

Deprecated

is_activeboolean

Is the profile active, if the profile is not active it will be deleted. Further actions will not be possible with this profile

Deprecated

activeboolean

Is the profile active, if the profile is not active it will be deleted. Further actions will not be possible with this profile

401

Unauthorized

404

Specified resource not found

500

Internal server error

Response
Copy

Delete a profile and all faces

Auth
Headers
Authorizationstring

Authorization token

Yoti-Sdk-Idstring

Relying party's App ID

pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$

Path Params
accountIdstring

The account ID you are operating under. One SDK ID may support multiple account IDs e.g. a test account, production account etc.

pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$

profileIdstring

The ID of the profile resource subject to query or modification

pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$

DELETE /accounts/{accountId}/profiles/{profileId}
Copy
Responses
202

OK

No response body
401

Unauthorized

404

Specified resource not found

500

Internal server error

Response
Copy

Extend the lifecycle of a profileDeprecated

Auth
Headers
Authorizationstring

Authorization token

Yoti-Sdk-Idstring

Relying party's App ID

pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$

Content-Typestring

Define the content-type of the request payload.

Enum: application/json

Path Params
accountIdstring

The account ID you are operating under. One SDK ID may support multiple account IDs e.g. a test account, production account etc.

pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$

profileIdstring

The ID of the profile resource subject to query or modification

pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$

POST /accounts/{accountId}/profiles/{profileId}/retain
Copy
Responses
202

OK

No response body
401

Unauthorized

404

Specified resource not found

500

Internal server error

Response
Copy

Get faces in profile

Auth
Headers
Authorizationstring

Authorization token

Yoti-Sdk-Idstring

Relying party's App ID

pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$

Content-Typestring

Define the content-type of the request payload.

Enum: application/json

Path Params
accountIdstring

The account ID you are operating under. One SDK ID may support multiple account IDs e.g. a test account, production account etc.

pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$

profileIdstring

The ID of the profile resource subject to query or modification

pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$

GET /accounts/{accountId}/profiles/{profileId}/faces
Copy
Responses
200

OK

No response body
400

Bad request

401

Unauthorized

404

Profile has been archived

410

Specified resource not found

500

Internal server error

Response
Copy

Add a face to profile

Auth
Headers
Authorizationstring

Authorization token

Yoti-Sdk-Idstring

Relying party's App ID

pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$

Content-Typestring

Define the content-type of the request payload.

Enum: application/json

Path Params
accountIdstring

The account ID you are operating under. One SDK ID may support multiple account IDs e.g. a test account, production account etc.

pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$

profileIdstring

The ID of the profile resource subject to query or modification

pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$

Request Body

Payload of a face to add

objectobject
imagestring

base64 encoding png or jpeg of the individuals face (one face only)

POST /accounts/{accountId}/profiles/{profileId}/faces
Copy
Responses
201

Created

objectobject
idstring

pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$

400

Bad request

401

Unauthorized

404

Profile has been archived

410

Specified resource not found

500

Internal server error

Response
Copy

Delete a face from the profile

Auth
Headers
Authorizationstring

Authorization token

Yoti-Sdk-Idstring

Relying party's App ID

pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$

Path Params
accountIdstring

The account ID you are operating under. One SDK ID may support multiple account IDs e.g. a test account, production account etc.

pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$

profileIdstring

The ID of the profile resource subject to query or modification

pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$

idstring

The ID of a resource to operate on

pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$

DELETE /accounts/{accountId}/profiles/{profileId}/faces/{id}
Copy
Responses
202

OK

No response body
401

Unauthorized

404

Profile has been archived

410

Specified resource not found

422

Must be between 1 - 10 faces per profile

500

Internal server error

Response
Copy

Get a list of Groups

Auth
Headers
Authorizationstring

Authorization token

Yoti-Sdk-Idstring

Relying party's App ID

pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$

Path Params
accountIdstring

The account ID you are operating under. One SDK ID may support multiple account IDs e.g. a test account, production account etc.

pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$

GET /accounts/{accountId}/groups
Copy
Responses
200

OK

objectobject
groupsarray[object]
idstring

pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$

labelstring
401

Unauthorized

422

Pagingation out of range

500

Internal server error

Response
Copy

Create a group to collect profiles

Auth
Headers
Authorizationstring

Authorization token

Yoti-Sdk-Idstring

Relying party's App ID

pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$

Path Params
accountIdstring

The account ID you are operating under. One SDK ID may support multiple account IDs e.g. a test account, production account etc.

pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$

Request Body

Name and description of group

objectobject
labelstring

maxLength: 50

minLength: 1

POST /accounts/{accountId}/groups
Copy
Responses
201

Created

objectobject
idstring

pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$

400

Bad request

401

Unauthorized

409

Reference already used

422

Too many groups created

500

Internal server error

Response
Copy

Get a group

Auth
Headers
Authorizationstring

Authorization token

Yoti-Sdk-Idstring

Relying party's App ID

pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$

Path Params
accountIdstring

The account ID you are operating under. One SDK ID may support multiple account IDs e.g. a test account, production account etc.

pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$

groupIdstring

The ID of the group resource subject to query or modification

pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$

GET /accounts/{accountId}/groups/{groupId}
Copy
Responses
200

OK

objectobject
idstring

pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$

labelstring
400

Bad request

401

Unauthorized

404

Specified resource not found

500

Internal server error

Response
Copy

Add a profile to a group

Auth
Headers
Authorizationstring

Authorization token

Yoti-Sdk-Idstring

Relying party's App ID

pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$

Path Params
accountIdstring

The account ID you are operating under. One SDK ID may support multiple account IDs e.g. a test account, production account etc.

pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$

groupIdstring

The ID of the group resource subject to query or modification

pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$

Request Body

Add a profile to a group

objectobject
profile_idstring

pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$

POST /accounts/{accountId}/groups/{groupId}
Copy
Responses
201

Created

objectobject
idstring

pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$

400

Bad request

401

Unauthorized

404

Specified resource not found

500

Internal server error

Response
Copy

Deletes a group

Auth
Headers
Authorizationstring

Authorization token

Yoti-Sdk-Idstring

Relying party's App ID

pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$

Path Params
accountIdstring

The account ID you are operating under. One SDK ID may support multiple account IDs e.g. a test account, production account etc.

pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$

groupIdstring

The ID of the group resource subject to query or modification

pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$

DELETE /accounts/{accountId}/groups/{groupId}
Copy
Responses
204

OK

No response body
401

Unauthorized

404

Specified resource not found

500

Internal server error

Response
Copy

Check if a face exists in a group

Auth
Headers
Authorizationstring

Authorization token

Yoti-Sdk-Idstring

Relying party's App ID

pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$

Path Params
accountIdstring

The account ID you are operating under. One SDK ID may support multiple account IDs e.g. a test account, production account etc.

pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$

groupIdstring

The ID of the group resource subject to query or modification

pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$

Request Body

Check if an image is in a group

imagestring

base64 encoding png or jpeg of the challenge object

liveness_level_of_assurancestring

Level of assurance to use when performing liveness

Enum: low,medium,high

is_mobileboolean

Was the image captured from a mobile device (required if liveness_level_of_assurance is provided)

POST /accounts/{accountId}/groups/{groupId}/challenge
Copy
Responses
200

OK

profile_idstring

The id of the matched profile

pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$

400

Bad request

401

Unauthorized

404

Specified resource not found

422

No face found in image

500

Internal server error

Response
Copy

Get historical face checks against a group

Auth
Headers
Authorizationstring

Authorization token

Yoti-Sdk-Idstring

Relying party's App ID

pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$

Path Params
accountIdstring

The account ID you are operating under. One SDK ID may support multiple account IDs e.g. a test account, production account etc.

pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$

groupIdstring

The ID of the group resource subject to query or modification

pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$

Query String
pageinteger

Which page of resources to fetch

minimum: 1

Default: 1

GET /accounts/{accountId}/groups/{groupId}/challenges
Copy
Responses
200

OK

checksarray[object]
transaction_idstring
group_idstring
profile_idstring
datestring
totalnumber
400

Bad request

401

Unauthorized

500

Internal server error

Response
Copy

Retrieve all profiles in a group

Auth
Headers
Authorizationstring

Authorization token

Yoti-Sdk-Idstring

Relying party's App ID

pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$

Path Params
accountIdstring

The account ID you are operating under. One SDK ID may support multiple account IDs e.g. a test account, production account etc.

pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$

groupIdstring

The ID of the group resource subject to query or modification

pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$

GET /accounts/{accountId}/groups/{groupId}/profiles
Copy
Responses
200

OK

objectobject
profilesarray
idstring

The of the matched profile. Empty if nothing is found

pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$

referencestring

A reference that links back to why this profile was added to the group.

display_namestring

a descriptive name for the profile

400

Bad request

401

Unauthorized

404

Specified resource not found

422

Pagingation out of range

500

Internal server error

Response
Copy

Remove a profile from a group

Auth
Headers
Authorizationstring

Authorization token

Yoti-Sdk-Idstring

Relying party's App ID

pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$

Path Params
accountIdstring

The account ID you are operating under. One SDK ID may support multiple account IDs e.g. a test account, production account etc.

pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$

profileIdstring

The ID of the profile resource subject to query or modification

pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$

groupIdstring

The ID of the group resource subject to query or modification

pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$

DELETE /accounts/{accountId}/groups/{groupId}/profiles/{profileId}
Copy
Responses
200

OK

No response body
401

Unauthorized

404

Specified resource not found

500

Internal server error

Response
Copy

Get a list of policies

Auth
Headers
Authorizationstring

Authorization token

Yoti-Sdk-Idstring

Relying party's App ID

pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$

Path Params
accountIdstring

The account ID you are operating under. One SDK ID may support multiple account IDs e.g. a test account, production account etc.

pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$

Query String
pageinteger

Which page of resources to fetch

minimum: 1

Default: 1

policystring

The type of policies to the returned

Enum: true,false,all

GET /accounts/{accountId}/policies
Copy
Responses
200

OK

policiesarray
idstring

pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$

version_idstring

pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$

versionnumber
namestring
datastring
typestring
tagsarray[string]
is_publicboolean
401

Unauthorized

422

Pagingation out of range

500

Internal server error

Response
Copy

Create a policy for an account

Auth
Headers
Authorizationstring

Authorization token

Yoti-Sdk-Idstring

Relying party's App ID

pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$

Path Params
accountIdstring

The account ID you are operating under. One SDK ID may support multiple account IDs e.g. a test account, production account etc.

pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$

Request Body

Required data for a policy

objectobject
namestring

minLength: 1

datastring

minLength: 1

typestring

Enum: DOCUMENT,LINK

tagsarray[string]
is_publicboolean
POST /accounts/{accountId}/policies
Copy
Responses
201

Created

objectobject
idstring

pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$

400

Bad request

401

Unauthorized

409

Reference already used

500

Internal server error

Response
Copy

Get policy details

Auth
Headers
Authorizationstring

Authorization token

Yoti-Sdk-Idstring

Relying party's App ID

pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$

Path Params
accountIdstring

The account ID you are operating under. One SDK ID may support multiple account IDs e.g. a test account, production account etc.

pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$

policyIdstring

The Id of a policy resource

pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$

GET /accounts/{accountId}/policies/{policyId}
Copy
Responses
200

OK

policyobject
idstring

pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$

version_idstring

pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$

versionnumber
namestring
datastring
typestring
tagsarray[string]
is_publicboolean
401

Unauthorized

500

Internal server error

Response
Copy

Delete a policy

Auth
Headers
Authorizationstring

Authorization token

Yoti-Sdk-Idstring

Relying party's App ID

pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$

Path Params
accountIdstring

The account ID you are operating under. One SDK ID may support multiple account IDs e.g. a test account, production account etc.

pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$

policyIdstring

The Id of a policy resource

pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$

DELETE /accounts/{accountId}/policies/{policyId}
Copy
Responses
204

Policy deleted

No response body
400

Bad request

404

Specified resource not found

500

Internal server error

Response
Copy

Tag a policy

Auth
Headers
Authorizationstring

Authorization token

Yoti-Sdk-Idstring

Relying party's App ID

pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$

Path Params
accountIdstring

The account ID you are operating under. One SDK ID may support multiple account IDs e.g. a test account, production account etc.

pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$

policyIdstring

The Id of a policy resource

pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$

Request Body

Request to tag a policy

objectobject
tagsarray[string]
POST /accounts/{accountId}/policies/{policyId}/tags
Copy
Responses
200

OK

idstring

pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$

versionstring
401

Unauthorized

500

Internal server error

Response
Copy

Tag a policy

Auth
Headers
Authorizationstring

Authorization token

Yoti-Sdk-Idstring

Relying party's App ID

pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$

Path Params
accountIdstring

The account ID you are operating under. One SDK ID may support multiple account IDs e.g. a test account, production account etc.

pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$

policyIdstring

The Id of a policy resource

pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$

Request Body

Request to update a policy

objectobject
namestring

minLength: 1

datastring
typestring

Enum: DOCUMENT,LINK

tagsarray[string]
POST /accounts/{accountId}/policies/{policyId}/version
Copy
Responses
200

OK

idstring

pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$

versionstring
401

Unauthorized

500

Internal server error

Response
Copy

Get policy details for a specific version

Auth
Headers
Authorizationstring

Authorization token

Yoti-Sdk-Idstring

Relying party's App ID

pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$

Path Params
accountIdstring

The account ID you are operating under. One SDK ID may support multiple account IDs e.g. a test account, production account etc.

pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$

policyIdstring

The Id of a policy resource

pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$

versioninteger

The number of the policy version

minimum: 1

GET /accounts/{accountId}/policies/{policyId}/version/{version}
Copy
Responses
200

OK

policyobject
idstring

pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$

version_idstring

pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$

versionnumber
namestring
datastring
typestring
tagsarray[string]
is_publicboolean
401

Unauthorized

500

Internal server error

Response
Copy

Open a websocket connection

Auth
Headers
Yoti-Sdk-Idstring

Relying party's App ID

pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$

Path Params
accountIdstring

The account ID you are operating under. One SDK ID may support multiple account IDs e.g. a test account, production account etc.

pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$

GET /accounts/{accountId}/sockets/connect
Copy
Responses
101

Upgrade response

No response body
Response
Copy

Authenticate a websocket connection

Auth
Headers
Authorizationstring

Authorization token

Yoti-Sdk-Idstring

Relying party's App ID

pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$

Yoti-Connection-Idstring

Websocket Connection ID, used to identify a connection

pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$

Path Params
accountIdstring

The account ID you are operating under. One SDK ID may support multiple account IDs e.g. a test account, production account etc.

pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$

GET /accounts/{accountId}/sockets/listen
Copy
Responses
202

Websocket connection authenticated

No response body
401

Unauthorized

404

Specified resource not found

500

Internal server error

Response
Copy

Hold websocket connection open, but stop receiving messages

Auth
Headers
Authorizationstring

Authorization token

Yoti-Sdk-Idstring

Relying party's App ID

pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$

Yoti-Connection-Idstring

Websocket Connection ID, used to identify a connection

pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$

Path Params
accountIdstring

The account ID you are operating under. One SDK ID may support multiple account IDs e.g. a test account, production account etc.

pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$

GET /accounts/{accountId}/sockets/mute
Copy
Responses
202

Websocket connection will no longer recieve messages

No response body
401

Unauthorized

404

Specified resource not found

500

Internal server error

Response
Copy

Begin recieving messages again

Auth
Headers
Authorizationstring

Authorization token

Yoti-Sdk-Idstring

Relying party's App ID

pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$

Yoti-Connection-Idstring

Websocket Connection ID, used to identify a connection

pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$

Path Params
accountIdstring

The account ID you are operating under. One SDK ID may support multiple account IDs e.g. a test account, production account etc.

pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$

GET /accounts/{accountId}/sockets/unmute
Copy
Responses
202

Websocket connection will begin recieving messages

No response body
401

Unauthorized

404

Specified resource not found

500

Internal server error

Response
Copy

Retrieve a list of report reasons

Auth
Headers
Authorizationstring

Authorization token

Yoti-Sdk-Idstring

Relying party's App ID

pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$

Path Params
accountIdstring

The account ID you are operating under. One SDK ID may support multiple account IDs e.g. a test account, production account etc.

pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$

Query String
typestring

The type of content to filter by

Enum: VIDEO,LIVE_VIDEO,IMAGE

GET /accounts/{accountId}/flags
Copy
Responses
200

OK

arrayarray
idstring

The id used to identify the report reason

pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$

reasonstring
400

Bad request

404

Specified resource not found

500

Internal server error

Response
Copy

Create a reason for receiving reports

Auth
Headers
Authorizationstring

Authorization token

Yoti-Sdk-Idstring

Relying party's App ID

pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$

Path Params
accountIdstring

The account ID you are operating under. One SDK ID may support multiple account IDs e.g. a test account, production account etc.

pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$

Request Body

Body to be sent when defining a reason a report is acceptable

reasonstring

maxLength: 500

content_typestring

Enum: VIDEO,IMAGE,LIVE_VIDEO

POST /accounts/{accountId}/flags
Copy
Responses
201

Created report

No response body
400

Bad request

500

Internal server error

Response
Copy

Deactivate a report reason

Auth
Headers
Authorizationstring

Authorization token

Yoti-Sdk-Idstring

Relying party's App ID

pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$

Path Params
accountIdstring

The account ID you are operating under. One SDK ID may support multiple account IDs e.g. a test account, production account etc.

pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$

reasonIdstring

The ID of a report reason resource

pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$

DELETE /accounts/{accountId}/flags/{reasonId}
Copy
Responses
204

Report deleted

No response body
400

Bad request

404

Specified resource not found

500

Internal server error

Response
Copy

List reports

Auth
Headers
Authorizationstring

Authorization token

Yoti-Sdk-Idstring

Relying party's App ID

pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$

Path Params
accountIdstring

The account ID you are operating under. One SDK ID may support multiple account IDs e.g. a test account, production account etc.

pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$

Query String
pageinteger

Which page of resources to fetch

minimum: 1

Default: 1

GET /accounts/{accountId}/reports
Copy
Responses
200

OK

reportsarray
idstring

pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$

content_idstring

pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$

reasonstring
resolutionstring
reviewed_atdate-time
created_atdate-time
total_countnumber
400

Bad request

404

Specified resource not found

500

Internal server error

Response
Copy

Audit of reports

Auth
Headers
Authorizationstring

Authorization token

Yoti-Sdk-Idstring

Relying party's App ID

pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$

Path Params
accountIdstring

The account ID you are operating under. One SDK ID may support multiple account IDs e.g. a test account, production account etc.

pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$

datestring

A date to start an audit from

pattern: ^2[0-9]{3}-[0-9]{2}-[0-9]{2}$

dayRangestring

A period in days to perform an audit

pattern: ^[1-3]*[0-9]{1}$

GET /accounts/{accountId}/reports/{date}/{dayRange}
Copy
Responses
200

OK

objectobject
auditarray[object]
content_idstring
titlestring
typestring
urlstring
reason_idstring
reasonstring
resolutionstring
countinteger
404

Specified resource not found

500

Internal server error

Response
Copy

Dismiss report after a human review

Auth
Headers
Authorizationstring

Authorization token

Yoti-Sdk-Idstring

Relying party's App ID

pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$

Path Params
accountIdstring

The account ID you are operating under. One SDK ID may support multiple account IDs e.g. a test account, production account etc.

pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$

idstring

The ID of a resource to operate on

pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$

POST /accounts/{accountId}/reports/{id}/dismiss
Copy
Responses
200

ok

No response body
400

Bad request

404

Specified resource not found

500

Internal server error

Response
Copy

Uphold a report after a human review

Auth
Headers
Authorizationstring

Authorization token

Yoti-Sdk-Idstring

Relying party's App ID

pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$

Path Params
accountIdstring

The account ID you are operating under. One SDK ID may support multiple account IDs e.g. a test account, production account etc.

pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$

idstring

The ID of a resource to operate on

pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$

POST /accounts/{accountId}/reports/{id}/accept
Copy
Responses
200

ok

No response body
400

Bad request

404

Specified resource not found

500

Internal server error

Response
Copy