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

Production Environment

Server Variables

Relying party's App ID (UUID)

Fields
KeyIn
Yoti-Sdk-IdHeader

Bearer token from Yoti Hub

Create an account

Auth
Headers
Content-Typestring

Define the content-type of the request payload.

Enum: application/json

Request Body

Create an account

namestring
POST /accounts
Copy
Responses
201

Created

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

Fetch an account

Auth
Path Params
accountIdstring

The account id you are operating under.

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

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}$

namestring
organisation_idstring
typeinteger
account_classinteger
is_activeboolean
401

Unauthorized

404

Specified resource not found

500

Internal server error

Response
Copy

List profiles

Auth
Path Params
accountIdstring

The account id you are operating under.

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

typeinteger

Filter by profile type

searchstring

Search term to filter profiles

maxLength: 50

idvstring

Filter by ID verification status

Enum: PRESENT,ANY,MISSING

Default: ANY

groupIdstring

Filter by group ID

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

OK

profilesarray
is_activeboolean
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}$

referencestring
display_namestring
consent_linkstring
id_verificationstring
is_id_verifiedboolean
total_countinteger
401

Unauthorized

403

Forbidden

422

Bad request

500

Internal server error

Response
Copy

Create a profile

Auth
Headers
Content-Typestring

Define the content-type of the request payload.

Enum: application/json

Path Params
accountIdstring

The account id you are operating under.

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

Enum: 1,2,3

display_namestring
referencestring
biometric_consentstring
consent_linkstring

pattern: https?://*

id_verificationstring
is_id_verifiedboolean
facestring
POST /accounts/{accountId}/profiles
Copy
Responses
201

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}$

genesis_face_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}$

display_namestring
referencestring
400

Bad request

401

Unauthorized

415

Unsupported media type

500

Internal server error

Response
Copy

Fetch a profile's details

Auth
Path Params
accountIdstring

The account id you are operating under.

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

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

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_activeboolean
referencestring
biometric_consentstring
has_biometric_consentboolean
display_namestring
groupsarray
group_idstring
labelstring
consent_linkstring
id_verificationstring
is_id_verifiedboolean
profile_typeinteger
hiddenboolean
401

Unauthorized

403

Forbidden

404

Specified resource not found

500

Internal server error

Response
Copy

Add a face to profile

Auth
Headers
Content-Typestring

Define the content-type of the request payload.

Enum: application/json

Path Params
accountIdstring

The account id you are operating under.

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

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

imagestring

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

captured_atint64

Unix timestamp of when the face was captured

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

Created

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

409

Resource already exists

415

Unsupported media type

422

No face found in image

500

Internal server error

Response
Copy

Get face in profile

Auth
Path Params
accountIdstring

The account id you are operating under.

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

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

faceIdstring

The ID of the face 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}/profiles/{profileId}/faces/{faceId}
Copy
Responses
200

OK

imagestring

minLength: 1

401

Unauthorized

500

Internal server error

Response
Copy

List contents

Auth
Path Params
accountIdstring

The account id you are operating under.

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: ADVERT,IMAGE,LIVE_VIDEO,VIDEO,WEBSITE,PROFILE,TEXT

profileIdstring

Filter by profile ID

archivestring

Include archived contents

Enum: true,false

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

OK

contentsarray
idstring
titlestring
typestring
urlstring
archivedboolean
created_atstring
public_urlstring
public_idstring
idstring
display_namestring
referencestring
hiddenboolean
total_countinteger
401

Unauthorized

404

Specified resource not found

500

Internal server error

Response
Copy

Create a record of a content

Auth
Path Params
accountIdstring

The account id you are operating under.

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 content record

urlstring

pattern: https?://*

typestring

Enum: ADVERT,IMAGE,LIVE_VIDEO,VIDEO,WEBSITE,PROFILE,TEXT

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

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

402

Account limit exceeded

403

Forbidden

500

Internal server error

Response
Copy

Fetch content

Auth
Path Params
accountIdstring

The account id you are operating under.

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

idstring
titlestring
urlstring
content_typestring
archivedboolean
created_atstring
public_idstring
public_urlstring
idstring
display_namestring
referencestring
hiddenboolean
profilesarray
idstring
is_bannedboolean
is_activeboolean
referencestring
display_namestring
groupsarray
group_idstring
labelstring
hiddenboolean
documentsarray
idstring
notestring
namestring
descriptionstring
tagsarray[string]
401

Unauthorized

403

Forbidden

404

Specified resource not found

500

Internal server error

Response
Copy

Create a group to collect profiles

Auth
Path Params
accountIdstring

The account id you are operating under.

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 group

labelstring

maxLength: 50

minLength: 1

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

Created

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

403

Forbidden

409

Reference already used

422

Too many groups created

500

Internal server error

Response
Copy

Fetch groups

Auth
Path Params
accountIdstring

The account id you are operating under.

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

groupsarray
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

403

Forbidden

404

Specified resource not found

500

Internal server error

Response
Copy

Fetch group details

Auth
Path Params
accountIdstring

The account id you are operating under.

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

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

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

403

Forbidden

404

Specified resource not found

500

Internal server error

Response
Copy

Add a profile to a group

Auth
Path Params
accountIdstring

The account id you are operating under.

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

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

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

OK

group_profiles_countinteger
400

Bad request

401

Unauthorized

403

Forbidden

404

Specified resource not found

409

Resource already exists

500

Internal server error

Response
Copy

Fetch profiles in a group

Auth
Path Params
accountIdstring

The account id you are operating under.

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

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

typeinteger

Filter by profile type

searchstring

Search term to filter profiles

maxLength: 50

idvstring

Filter by ID verification status

Enum: PRESENT,ANY,MISSING

Default: ANY

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

OK

profilesarray
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}$

typeinteger
date_of_birthstring
is_bannedboolean
is_activeboolean
referencestring
display_namestring
consent_linkstring
id_verificationstring
is_id_verifiedboolean
group_idsarray[string]
age_verification_statusstring
401

Unauthorized

403

Forbidden

404

Specified resource not found

422

Bad request

500

Internal server error

Response
Copy

Remove a profile from a group

Auth
Path Params
accountIdstring

The account id you are operating under.

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

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

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
204

No Content

No response body
401

Unauthorized

404

Specified resource not found

500

Internal server error

Response
Copy

Search for a face in a group

Auth
Path Params
accountIdstring

The account id you are operating under.

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

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

Search for a face in a group

imagestring

base64 encoding png or jpeg of the face image

liveness_level_of_assurancestring

Enum: low,medium,high

is_mobileboolean
is_laptopboolean
sicap_versionstring
secure_tokenstring
signaturestring
verificationstring
POST /accounts/{accountId}/groups/{groupId}/facesearch
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}$

transaction_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}$

tamper_reportstring
liveness_predictionstring
match_scorenumber
400

Bad request

401

Unauthorized

403

Forbidden

404

Specified resource not found

422

No face found in image

500

Internal server error

Response
Copy

Get historical face search results for a group

Auth
Path Params
accountIdstring

The account id you are operating under.

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

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}/facesearch
Copy
Responses
200

OK

resultsarray
transaction_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}$

group_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_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}$

datedate-time
match_scorenumber
sicap_versionstring
tamper_reportstring
liveness_level_of_assurancestring
liveness_predictionstring
totalinteger
400

Bad request

401

Unauthorized

403

Forbidden

500

Internal server error

Response
Copy

Fetch paged moderations

Auth
Path Params
accountIdstring

The account id you are operating under.

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

memberIdstring

Filter by assigned member

statusstring

Filter by moderation status

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

OK

moderation_detailsarray
idstring
idstring
display_namestring
referencestring
hiddenboolean
idstring
typestring
urlstring
titlestring
public_idstring
public_urlstring
created_atstring
manualstring
automatedstring
statusstring
assigned_tostring
total_countinteger
401

Unauthorized

403

Forbidden

500

Internal server error

Response
Copy

Request a resource is moderated

Auth
Headers
Content-Typestring

Define the content-type of the request payload.

Enum: application/json

Path Params
accountIdstring

The account id you are operating under.

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

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}$

moderator_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

maximum: 100

minimum: 0

unknown_facesboolean
consentboolean
id_verified_profilesboolean
id_verified_uploaderboolean
web_destinationstring
slack_destinationstring
flagged_object_categoriesarray[string]
flagged_contextsarray[string]
policiesarray
policy_idstring
policy_version_idstring
user_infostring
querystring
POST /accounts/{accountId}/moderations
Copy
Responses
202

Created

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

402

Account limit exceeded

403

Forbidden

404

Specified resource not found

500

Internal server error

Response
Copy

Request the results of a moderation request

Auth
Path Params
accountIdstring

The account id you are operating under.

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

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: ADVERT,IMAGE,LIVE_VIDEO,VIDEO,WEBSITE,PROFILE,TEXT

urlstring
face_check_resultsarray
frame_timenumber
face_topinteger
face_rightinteger
face_bottominteger
face_leftinteger
age_groupstring
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}$

profile_document_check_resultsarray
has_supplied_consentboolean
has_supplied_identityboolean
consent_documentstring
identity_documentstring
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}$

has_supplied_consentboolean
has_supplied_identityboolean
consent_documentstring
identity_documentstring
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}$

countersobject
400

Bad request

401

Unauthorized

403

Forbidden

404

Specified resource not found

500

Internal server error

Response
Copy

Fetch moderation details

Auth
Path Params
accountIdstring

The account id you are operating under.

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

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

idstring
content_typestring
urlstring
idstring
web_destinationstring
slack_destinationstring
checksarray
idstring
check_typestring
assigned_tostring
policiesarray
idstring
policy_idstring
policy_version_idstring
check_typestring
content_typestring
can_overrideboolean
age_estimationinteger
unknown_facesboolean
consentboolean
id_verified_profilesboolean
id_verified_uploaderboolean
group_idsarray[string]
flagged_object_categoriesarray[string]
flagged_contextsarray[string]
401

Unauthorized

403

Forbidden

404

Specified resource not found

500

Internal server error

Response
Copy

Request the report of a moderation request

Auth
Path Params
accountIdstring

The account id you are operating under.

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

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

requested_checksarray
typestring
warningsboolean
processing_statestring
manual_reviewsarray
review_idstring
member_idstring
usernamestring
decisionstring
reviewed_atstring
objects_check_resultsarray
object_labelstring
object_categorystring
contexts_check_resultsarray
context_labelstring
401

Unauthorized

500

Internal server error

Response
Copy

Create an appeal

Auth
Headers
Content-Typestring

Define the content-type of the request payload.

Enum: application/json

Path Params
accountIdstring

The account id you are operating under.

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
objectobject
POST /accounts/{accountId}/appeals
Copy
Responses
200

Appeal created

No response body
400

Bad request

401

Unauthorized

404

Specified resource not found

500

Internal server error

Response
Copy

Fetch an appeal

Auth
Path Params
accountIdstring

The account id you are operating under.

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

appealIdstring

The ID of the appeal 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}/appeals/{appealId}
Copy
Responses
200

Appeal details

No response body
401

Unauthorized

404

Specified resource not found

500

Internal server error

Response
Copy

Update appeal status

Auth
Headers
Content-Typestring

Define the content-type of the request payload.

Enum: application/json

Path Params
accountIdstring

The account id you are operating under.

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

appealIdstring

The ID of the appeal 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
objectobject
PUT /accounts/{accountId}/appeals/{appealId}/status
Copy
Responses
200

Status updated

No response body
400

Bad request

401

Unauthorized

404

Specified resource not found

500

Internal server error

Response
Copy

List appeal evidence

Auth
Path Params
accountIdstring

The account id you are operating under.

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

appealIdstring

The ID of the appeal 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}/appeals/{appealId}/evidence
Copy
Responses
200

Evidence list

No response body
401

Unauthorized

404

Specified resource not found

500

Internal server error

Response
Copy

List appeal activity

Auth
Path Params
accountIdstring

The account id you are operating under.

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

appealIdstring

The ID of the appeal 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}/appeals/{appealId}/activity
Copy
Responses
200

Activity list

No response body
401

Unauthorized

404

Specified resource not found

500

Internal server error

Response
Copy

List appeal comments

Auth
Path Params
accountIdstring

The account id you are operating under.

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

appealIdstring

The ID of the appeal 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}/appeals/{appealId}/comments
Copy
Responses
200

Comments list

No response body
401

Unauthorized

404

Specified resource not found

500

Internal server error

Response
Copy