Crowdee
API-Referenz

Interaktive API-Referenz

Alle Crowdee-API-Endpunkte interaktiv erkunden und testen.

GET
/v2/auth/start

Authorization

openIdConnect
OpenID Connect<token>

Response Body

Redirect to API docs after authentication

curl -X GET "https://example.com/v2/auth/start"
Empty
GET
/v2/auth/logout

Authorization

openIdConnect
OpenID Connect<token>

Response Body

Log out of the current session

application/json
  1. response
message*string
curl -X GET "https://example.com/v2/auth/logout"
{  "message": "string"}
GET
/v2/comments

Authorization

openIdConnect
OpenID Connect<token>

Response Body

The list of comments

application/json
  1. response
[index: integer]?
curl -X GET "https://example.com/v2/comments"
[  {    "id": "string",    "createdAt": "2019-08-24T14:15:22Z",    "updatedAt": "2019-08-24T14:15:22Z",    "text": "string",    "image": "string",    "time": "string",    "edited": true,    "authorId": "string",    "projectId": "string",    "fileId": "string",    "workflowId": "string",    "parentCommentId": "string",    "authorName": "string"  }]
GET
/v2/comments/:commentId

Authorization

openIdConnect
OpenID Connect<token>

Path Parameters

commentId*string
Formatcuid2

Response Body

Metadata of the comment

application/json
  1. response
id*string
Lengthlength <= 24
createdAt*|
Formatdate-time
updatedAt*|
Formatdate-time
text*string
image*string|null
time*string|null
edited*boolean
authorId*string
Lengthlength <= 24
projectId*string
Lengthlength <= 24
fileId*|
Lengthlength <= 24
workflowId*|
Lengthlength <= 24
parentCommentId*|
Lengthlength <= 24
authorName*string
curl -X GET "https://example.com/v2/comments/:commentId"
{  "id": "string",  "createdAt": "2019-08-24T14:15:22Z",  "updatedAt": "2019-08-24T14:15:22Z",  "text": "string",  "image": "string",  "time": "string",  "edited": true,  "authorId": "string",  "projectId": "string",  "fileId": "string",  "workflowId": "string",  "parentCommentId": "string",  "authorName": "string"}
PUT
/v2/comments/:commentId

Authorization

openIdConnect
OpenID Connect<token>

Path Parameters

commentId*string
Formatcuid2

Request Body

The updated comment data

application/json
  1. body
text?string
Length1 <= length
image?string|null
time?string|null
edited?boolean
parentCommentId?|
Length24 <= length <= 24

Response Body

The updated comment

application/json
  1. response
id*string
Lengthlength <= 24
createdAt*|
Formatdate-time
updatedAt*|
Formatdate-time
text*string
image*string|null
time*string|null
edited*boolean
authorId*string
Lengthlength <= 24
projectId*string
Lengthlength <= 24
fileId*|
Lengthlength <= 24
workflowId*|
Lengthlength <= 24
parentCommentId*|
Lengthlength <= 24
authorName*string
curl -X PUT "https://example.com/v2/comments/:commentId" \  -H "Content-Type: application/json" \  -d '{}'
{  "id": "string",  "createdAt": "2019-08-24T14:15:22Z",  "updatedAt": "2019-08-24T14:15:22Z",  "text": "string",  "image": "string",  "time": "string",  "edited": true,  "authorId": "string",  "projectId": "string",  "fileId": "string",  "workflowId": "string",  "parentCommentId": "string",  "authorName": "string"}
DELETE
/v2/comments/:commentId

Authorization

openIdConnect
OpenID Connect<token>

Path Parameters

commentId*string
Formatcuid2

Response Body

Metadata of the deleted comment

application/json
  1. response
id*string
Lengthlength <= 24
createdAt*|
Formatdate-time
updatedAt*|
Formatdate-time
text*string
image*string|null
time*string|null
edited*boolean
authorId*string
Lengthlength <= 24
projectId*string
Lengthlength <= 24
fileId*|
Lengthlength <= 24
workflowId*|
Lengthlength <= 24
parentCommentId*|
Lengthlength <= 24
authorName*string
curl -X DELETE "https://example.com/v2/comments/:commentId"
{  "id": "string",  "createdAt": "2019-08-24T14:15:22Z",  "updatedAt": "2019-08-24T14:15:22Z",  "text": "string",  "image": "string",  "time": "string",  "edited": true,  "authorId": "string",  "projectId": "string",  "fileId": "string",  "workflowId": "string",  "parentCommentId": "string",  "authorName": "string"}
GET
/v2/files

Authorization

openIdConnect
OpenID Connect<token>

Response Body

The list of files

application/json
  1. response
[index: integer]?
curl -X GET "https://example.com/v2/files"
[  {    "id": "string",    "createdAt": "2019-08-24T14:15:22Z",    "updatedAt": "2019-08-24T14:15:22Z",    "name": "string",    "type": "string",    "size": -2147483648,    "path": "string",    "etag": "string",    "organizationId": "string",    "uploaderId": "string",    "lastModified": "2019-08-24T14:15:22Z",    "projectId": "string",    "privacyLevel": "private",    "tags": [      "string"    ],    "metadata": "string",    "additionalInfo": "string",    "origin": "user_upload",    "originWorkflowId": "string",    "sourceFileId": "string",    "enrichmentStatus": "pending",    "placeholder": "string",    "contentHash": "string",    "folderId": "string"  }]
GET
/v2/files/:fileId

Authorization

openIdConnect
OpenID Connect<token>

Path Parameters

fileId*string
Formatcuid2

Response Body

Metadata of a file

application/json
  1. response
id*string
Lengthlength <= 24
createdAt*|
Formatdate-time
updatedAt*|
Formatdate-time
name*string
type*string
size*integer
Range-2147483648 <= value <= 2147483647
path*string
etag*string
organizationId*string
Lengthlength <= 24
uploaderId*string
Lengthlength <= 24
lastModified*|
Formatdate-time
projectId*|
Lengthlength <= 24
privacyLevel*string
Value in"private""sensitive""internal""public"
tags*array<string>|null
metadata*string|number|boolean|null||array<unknown>
additionalInfo*string|number|boolean|null||array<unknown>
origin*string
Value in"user_upload""workflow_generated"
originWorkflowId*|
Lengthlength <= 24
sourceFileId*|
Lengthlength <= 24
enrichmentStatus*|
Value in"pending""running""completed""failed"null
placeholder*string|null
contentHash*string|null
folderId*|
Lengthlength <= 24
curl -X GET "https://example.com/v2/files/:fileId"
{  "id": "string",  "createdAt": "2019-08-24T14:15:22Z",  "updatedAt": "2019-08-24T14:15:22Z",  "name": "string",  "type": "string",  "size": -2147483648,  "path": "string",  "etag": "string",  "organizationId": "string",  "uploaderId": "string",  "lastModified": "2019-08-24T14:15:22Z",  "projectId": "string",  "privacyLevel": "private",  "tags": [    "string"  ],  "metadata": "string",  "additionalInfo": "string",  "origin": "user_upload",  "originWorkflowId": "string",  "sourceFileId": "string",  "enrichmentStatus": "pending",  "placeholder": "string",  "contentHash": "string",  "folderId": "string"}
PUT
/v2/files/:fileId

Authorization

openIdConnect
OpenID Connect<token>

Path Parameters

fileId*string
Formatcuid2

Request Body

The fields to update on the file

application/json
  1. body
metadata?unknown
tags?array<string>
privacyLevel?string
Value in"private""sensitive""internal""public"
additionalInfo?unknown
folderId?|
Length24 <= length <= 24

Response Body

Updated file metadata

application/json
  1. response
id*string
Lengthlength <= 24
createdAt*|
Formatdate-time
updatedAt*|
Formatdate-time
name*string
type*string
size*integer
Range-2147483648 <= value <= 2147483647
path*string
etag*string
organizationId*string
Lengthlength <= 24
uploaderId*string
Lengthlength <= 24
lastModified*|
Formatdate-time
projectId*|
Lengthlength <= 24
privacyLevel*string
Value in"private""sensitive""internal""public"
tags*array<string>|null
metadata*string|number|boolean|null||array<unknown>
additionalInfo*string|number|boolean|null||array<unknown>
origin*string
Value in"user_upload""workflow_generated"
originWorkflowId*|
Lengthlength <= 24
sourceFileId*|
Lengthlength <= 24
enrichmentStatus*|
Value in"pending""running""completed""failed"null
placeholder*string|null
contentHash*string|null
folderId*|
Lengthlength <= 24
curl -X PUT "https://example.com/v2/files/:fileId" \  -H "Content-Type: application/json" \  -d '{}'
{  "id": "string",  "createdAt": "2019-08-24T14:15:22Z",  "updatedAt": "2019-08-24T14:15:22Z",  "name": "string",  "type": "string",  "size": -2147483648,  "path": "string",  "etag": "string",  "organizationId": "string",  "uploaderId": "string",  "lastModified": "2019-08-24T14:15:22Z",  "projectId": "string",  "privacyLevel": "private",  "tags": [    "string"  ],  "metadata": "string",  "additionalInfo": "string",  "origin": "user_upload",  "originWorkflowId": "string",  "sourceFileId": "string",  "enrichmentStatus": "pending",  "placeholder": "string",  "contentHash": "string",  "folderId": "string"}
DELETE
/v2/files/:fileId

Authorization

openIdConnect
OpenID Connect<token>

Path Parameters

fileId*string
Formatcuid2

Response Body

Metadata of a file

application/json
  1. response
id*string
Lengthlength <= 24
createdAt*|
Formatdate-time
updatedAt*|
Formatdate-time
name*string
type*string
size*integer
Range-2147483648 <= value <= 2147483647
path*string
etag*string
organizationId*string
Lengthlength <= 24
uploaderId*string
Lengthlength <= 24
lastModified*|
Formatdate-time
projectId*|
Lengthlength <= 24
privacyLevel*string
Value in"private""sensitive""internal""public"
tags*array<string>|null
metadata*string|number|boolean|null||array<unknown>
additionalInfo*string|number|boolean|null||array<unknown>
origin*string
Value in"user_upload""workflow_generated"
originWorkflowId*|
Lengthlength <= 24
sourceFileId*|
Lengthlength <= 24
enrichmentStatus*|
Value in"pending""running""completed""failed"null
placeholder*string|null
contentHash*string|null
folderId*|
Lengthlength <= 24
curl -X DELETE "https://example.com/v2/files/:fileId"
{  "id": "string",  "createdAt": "2019-08-24T14:15:22Z",  "updatedAt": "2019-08-24T14:15:22Z",  "name": "string",  "type": "string",  "size": -2147483648,  "path": "string",  "etag": "string",  "organizationId": "string",  "uploaderId": "string",  "lastModified": "2019-08-24T14:15:22Z",  "projectId": "string",  "privacyLevel": "private",  "tags": [    "string"  ],  "metadata": "string",  "additionalInfo": "string",  "origin": "user_upload",  "originWorkflowId": "string",  "sourceFileId": "string",  "enrichmentStatus": "pending",  "placeholder": "string",  "contentHash": "string",  "folderId": "string"}
GET
/v2/files/:fileId/download

Authorization

openIdConnect
OpenID Connect<token>

Path Parameters

fileId*string
Formatcuid2

Response Body

Content of a file

image/png
  1. response
curl -X GET "https://example.com/v2/files/:fileId/download"
{}
GET
/v2/files/:fileId/comments

Authorization

openIdConnect
OpenID Connect<token>

Path Parameters

fileId*string
Formatcuid2

Response Body

The list of comments

application/json
  1. response
[index: integer]?
curl -X GET "https://example.com/v2/files/:fileId/comments"
[  {    "id": "string",    "createdAt": "2019-08-24T14:15:22Z",    "updatedAt": "2019-08-24T14:15:22Z",    "text": "string",    "image": "string",    "time": "string",    "edited": true,    "authorId": "string",    "projectId": "string",    "fileId": "string",    "workflowId": "string",    "parentCommentId": "string",    "authorName": "string"  }]
POST
/v2/files/:fileId/comments

Authorization

openIdConnect
OpenID Connect<token>

Path Parameters

fileId*string
Formatcuid2

Request Body

The comment metadata

application/json
  1. body
text*string
Length1 <= length
image?string|null
time?string|null
edited?boolean
parentCommentId?|
Length24 <= length <= 24

Response Body

The created comment

application/json
  1. response
id*string
Lengthlength <= 24
createdAt*|
Formatdate-time
updatedAt*|
Formatdate-time
text*string
image*string|null
time*string|null
edited*boolean
authorId*string
Lengthlength <= 24
projectId*string
Lengthlength <= 24
fileId*|
Lengthlength <= 24
workflowId*|
Lengthlength <= 24
parentCommentId*|
Lengthlength <= 24
authorName*string
curl -X POST "https://example.com/v2/files/:fileId/comments" \  -H "Content-Type: application/json" \  -d '{    "text": "string"  }'
{  "id": "string",  "createdAt": "2019-08-24T14:15:22Z",  "updatedAt": "2019-08-24T14:15:22Z",  "text": "string",  "image": "string",  "time": "string",  "edited": true,  "authorId": "string",  "projectId": "string",  "fileId": "string",  "workflowId": "string",  "parentCommentId": "string",  "authorName": "string"}
GET
/v2/files/:fileId/workflows

Authorization

openIdConnect
OpenID Connect<token>

Path Parameters

fileId*string
Formatcuid2

Response Body

Workflows linked to the file

application/json
  1. response
[index: integer]?
curl -X GET "https://example.com/v2/files/:fileId/workflows"
[  {    "id": "string",    "createdAt": "2019-08-24T14:15:22Z",    "updatedAt": "2019-08-24T14:15:22Z",    "pipelineId": "621ef2b0-ba1d-48e5-89dc-b778e6ed42fd",    "pipelineName": "string",    "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",    "status": "in_progress",    "statusMessage": "string",    "n8nExecutionId": -2147483648,    "n8nWorkflowId": "string",    "n8nWorkflowName": "string",    "n8nWorkflowNameLong": "string",    "result": "string",    "aiInterpretation": "string",    "projectId": "string"  }]
GET
/v2/files/:fileId/presigned-url

Authorization

openIdConnect
OpenID Connect<token>

Path Parameters

fileId*string
Formatcuid2

Response Body

Presigned URL for the file

application/json
  1. response
url*string
Formaturi
curl -X GET "https://example.com/v2/files/:fileId/presigned-url"
{  "url": "http://example.com"}
PUT
/v2/folders/:folderId

Authorization

openIdConnect
OpenID Connect<token>

Path Parameters

folderId*string
Formatcuid2

Request Body

The fields to update on the folder

application/json
  1. body
name?string
Length1 <= length <= 100
parentId?|
Length24 <= length <= 24

Response Body

Updated folder

application/json
  1. response
id*string
Lengthlength <= 24
createdAt*|
Formatdate-time
updatedAt*|
Formatdate-time
name*string
organizationId*string
Lengthlength <= 24
projectId*string
Lengthlength <= 24
parentId*|
Lengthlength <= 24
createdById*string
Lengthlength <= 24
curl -X PUT "https://example.com/v2/folders/:folderId" \  -H "Content-Type: application/json" \  -d '{}'
{  "id": "string",  "createdAt": "2019-08-24T14:15:22Z",  "updatedAt": "2019-08-24T14:15:22Z",  "name": "string",  "organizationId": "string",  "projectId": "string",  "parentId": "string",  "createdById": "string"}
DELETE
/v2/folders/:folderId

Authorization

openIdConnect
OpenID Connect<token>

Path Parameters

folderId*string
Formatcuid2

Response Body

The deleted folder

application/json
  1. response
id*string
Lengthlength <= 24
createdAt*|
Formatdate-time
updatedAt*|
Formatdate-time
name*string
organizationId*string
Lengthlength <= 24
projectId*string
Lengthlength <= 24
parentId*|
Lengthlength <= 24
createdById*string
Lengthlength <= 24
curl -X DELETE "https://example.com/v2/folders/:folderId"
{  "id": "string",  "createdAt": "2019-08-24T14:15:22Z",  "updatedAt": "2019-08-24T14:15:22Z",  "name": "string",  "organizationId": "string",  "projectId": "string",  "parentId": "string",  "createdById": "string"}
GET
/v2/invitations/:invitationId

Authorization

openIdConnect
OpenID Connect<token>

Path Parameters

invitationId*string
Formatcuid2

Response Body

Invitation details

application/json
  1. response
id*string
Lengthlength <= 24
createdAt*|
Formatdate-time
updatedAt*|
Formatdate-time
inviteeEmail*string
organizationId*string
Lengthlength <= 24
role*string
Value in"viewer""user""admin""superadmin"
status*string
Value in"pending""accepted""declined""expired"
expirationDate*string
Formatdate-time
organizationName*string
curl -X GET "https://example.com/v2/invitations/:invitationId"
{  "id": "string",  "createdAt": "2019-08-24T14:15:22Z",  "updatedAt": "2019-08-24T14:15:22Z",  "inviteeEmail": "string",  "organizationId": "string",  "role": "viewer",  "status": "pending",  "expirationDate": "2019-08-24T14:15:22Z",  "organizationName": "string"}
DELETE
/v2/invitations/:invitationId

Authorization

openIdConnect
OpenID Connect<token>

Path Parameters

invitationId*string
Formatcuid2

Response Body

The deleted invitation

application/json
  1. response
id*string
Lengthlength <= 24
createdAt*|
Formatdate-time
updatedAt*|
Formatdate-time
inviteeEmail*string
organizationId*string
Lengthlength <= 24
role*string
Value in"viewer""user""admin""superadmin"
status*string
Value in"pending""accepted""declined""expired"
expirationDate*string
Formatdate-time
curl -X DELETE "https://example.com/v2/invitations/:invitationId"
{  "id": "string",  "createdAt": "2019-08-24T14:15:22Z",  "updatedAt": "2019-08-24T14:15:22Z",  "inviteeEmail": "string",  "organizationId": "string",  "role": "viewer",  "status": "pending",  "expirationDate": "2019-08-24T14:15:22Z"}
POST
/v2/invitations/:invitationId/accept

Authorization

openIdConnect
OpenID Connect<token>

Path Parameters

invitationId*string
Formatcuid2

Response Body

The created membership after accepting the invitation

application/json
  1. response
id*|
Lengthlength <= 24
createdAt*|
Formatdate-time
updatedAt*|
Formatdate-time
userId*string
Lengthlength <= 24
organizationId*string
Lengthlength <= 24
role*string
Value in"viewer""user""admin""superadmin"
isDefault*boolean
curl -X POST "https://example.com/v2/invitations/:invitationId/accept"
{  "id": "string",  "createdAt": "2019-08-24T14:15:22Z",  "updatedAt": "2019-08-24T14:15:22Z",  "userId": "string",  "organizationId": "string",  "role": "viewer",  "isDefault": true}
GET
/v2/organizations

Authorization

openIdConnect
OpenID Connect<token>

Response Body

The list of organizations

application/json
  1. response
[index: integer]?
curl -X GET "https://example.com/v2/organizations"
[  {    "id": "string",    "createdAt": "2019-08-24T14:15:22Z",    "updatedAt": "2019-08-24T14:15:22Z",    "name": "string",    "description": "string",    "balance_cents": -2147483648,    "blocked_balance_cents": -2147483648,    "modules": [      "crowdsourcing"    ],    "logo": "string",    "logoPlaceholder": "string"  }]
POST
/v2/organizations

Authorization

openIdConnect
OpenID Connect<token>

Request Body

The organization to create

application/json
  1. body
name*string
Length3 <= length <= 50
description*string
Length1 <= length <= 50

Response Body

The created organization

application/json
  1. response
id*string
Lengthlength <= 24
createdAt*|
Formatdate-time
updatedAt*|
Formatdate-time
name*string
description*string
balance_cents*integer
Range-2147483648 <= value <= 2147483647
blocked_balance_cents*integer
Range-2147483648 <= value <= 2147483647
modules*array<>
logo*string|null
logoPlaceholder*string|null
curl -X POST "https://example.com/v2/organizations" \  -H "Content-Type: application/json" \  -d '{    "name": "string",    "description": "string"  }'
{  "id": "string",  "createdAt": "2019-08-24T14:15:22Z",  "updatedAt": "2019-08-24T14:15:22Z",  "name": "string",  "description": "string",  "balance_cents": -2147483648,  "blocked_balance_cents": -2147483648,  "modules": [    "crowdsourcing"  ],  "logo": "string",  "logoPlaceholder": "string"}
GET
/v2/organizations/:organizationId

Authorization

openIdConnect
OpenID Connect<token>

Path Parameters

organizationId*string
Formatcuid2

Response Body

Metadata of an organization

application/json
  1. response
id*string
Lengthlength <= 24
createdAt*|
Formatdate-time
updatedAt*|
Formatdate-time
name*string
description*string
balance_cents*integer
Range-2147483648 <= value <= 2147483647
blocked_balance_cents*integer
Range-2147483648 <= value <= 2147483647
modules*array<>
logo*string|null
logoPlaceholder*string|null
curl -X GET "https://example.com/v2/organizations/:organizationId"
{  "id": "string",  "createdAt": "2019-08-24T14:15:22Z",  "updatedAt": "2019-08-24T14:15:22Z",  "name": "string",  "description": "string",  "balance_cents": -2147483648,  "blocked_balance_cents": -2147483648,  "modules": [    "crowdsourcing"  ],  "logo": "string",  "logoPlaceholder": "string"}
PUT
/v2/organizations/:organizationId

Authorization

openIdConnect
OpenID Connect<token>

Path Parameters

organizationId*string
Formatcuid2

Request Body

The organization fields to update

application/json
  1. body
name?string
Length3 <= length <= 50
description?string
Length1 <= length <= 50
modules?array<>

Response Body

The updated organization

application/json
  1. response
id*string
Lengthlength <= 24
createdAt*|
Formatdate-time
updatedAt*|
Formatdate-time
name*string
description*string
balance_cents*integer
Range-2147483648 <= value <= 2147483647
blocked_balance_cents*integer
Range-2147483648 <= value <= 2147483647
modules*array<>
logo*string|null
logoPlaceholder*string|null
curl -X PUT "https://example.com/v2/organizations/:organizationId" \  -H "Content-Type: application/json" \  -d '{}'
{  "id": "string",  "createdAt": "2019-08-24T14:15:22Z",  "updatedAt": "2019-08-24T14:15:22Z",  "name": "string",  "description": "string",  "balance_cents": -2147483648,  "blocked_balance_cents": -2147483648,  "modules": [    "crowdsourcing"  ],  "logo": "string",  "logoPlaceholder": "string"}
POST
/v2/organizations/:organizationId/invite

Authorization

openIdConnect
OpenID Connect<token>

Path Parameters

organizationId*string
Formatcuid2

Request Body

The invite to create

application/json
  1. body
inviteeEmail*string
Formatemail
role*string
Value in"viewer""user""admin""superadmin"

Response Body

Invitation

application/json
  1. response
id*string
Lengthlength <= 24
createdAt*|
Formatdate-time
updatedAt*|
Formatdate-time
inviteeEmail*string
organizationId*string
Lengthlength <= 24
role*string
Value in"viewer""user""admin""superadmin"
status*string
Value in"pending""accepted""declined""expired"
expirationDate*string
Formatdate-time
curl -X POST "https://example.com/v2/organizations/:organizationId/invite" \  -H "Content-Type: application/json" \  -d '{    "inviteeEmail": "user@example.com",    "role": "viewer"  }'
{  "id": "string",  "createdAt": "2019-08-24T14:15:22Z",  "updatedAt": "2019-08-24T14:15:22Z",  "inviteeEmail": "string",  "organizationId": "string",  "role": "viewer",  "status": "pending",  "expirationDate": "2019-08-24T14:15:22Z"}
PATCH
/v2/organizations/:organizationId/logo

Authorization

openIdConnect
OpenID Connect<token>

Path Parameters

organizationId*string
Formatcuid2

Request Body

multipart/form-data
  1. body
logo*file
Formatbinary

Response Body

Updated organization with logo

application/json
  1. response
id*string
Lengthlength <= 24
createdAt*|
Formatdate-time
updatedAt*|
Formatdate-time
name*string
description*string
balance_cents*integer
Range-2147483648 <= value <= 2147483647
blocked_balance_cents*integer
Range-2147483648 <= value <= 2147483647
modules*array<>
logo*string|null
logoPlaceholder*string|null
curl -X PATCH "https://example.com/v2/organizations/:organizationId/logo" \  -F logo="string"
{  "id": "string",  "createdAt": "2019-08-24T14:15:22Z",  "updatedAt": "2019-08-24T14:15:22Z",  "name": "string",  "description": "string",  "balance_cents": -2147483648,  "blocked_balance_cents": -2147483648,  "modules": [    "crowdsourcing"  ],  "logo": "string",  "logoPlaceholder": "string"}
PATCH
/v2/organizations/:organizationId/members/:userId

Authorization

openIdConnect
OpenID Connect<token>

Path Parameters

organizationId*string
Length24 <= length <= 24
userId*string
Length24 <= length <= 24

Request Body

New role for the member

application/json
  1. body
role*string
Value in"viewer""user""admin"

Response Body

Updated membership

application/json
  1. response
id*|
Lengthlength <= 24
createdAt*|
Formatdate-time
updatedAt*|
Formatdate-time
userId*string
Lengthlength <= 24
organizationId*string
Lengthlength <= 24
role*string
Value in"viewer""user""admin""superadmin"
isDefault*boolean
curl -X PATCH "https://example.com/v2/organizations/:organizationId/members/:userId" \  -H "Content-Type: application/json" \  -d '{    "role": "viewer"  }'
{  "id": "string",  "createdAt": "2019-08-24T14:15:22Z",  "updatedAt": "2019-08-24T14:15:22Z",  "userId": "string",  "organizationId": "string",  "role": "viewer",  "isDefault": true}
GET
/v2/organizations/:organizationId/billing

Authorization

openIdConnect
OpenID Connect<token>

Path Parameters

organizationId*string
Formatcuid2

Response Body

The billing info

application/json
  1. response
id*string
Lengthlength <= 24
createdAt*|
Formatdate-time
updatedAt*|
Formatdate-time
organizationId*string
Lengthlength <= 24
companyName*string|null
companyEmail*string|null
companyContactSalutation*|
Lengthlength <= 25
companyContactFirstName*string|null
companyContactLastName*string|null
companyTaxNumber*string|null
companyVatRegistrationId*string|null
personSalutation*|
Lengthlength <= 25
personFirstName*string|null
personLastName*string|null
email*string
phoneNumber*string
billingSupplement*string|null
billingStreet*string
billingZip*string
billingCity*string
billingCountryCode*string
shippingSupplement*string|null
shippingStreet*string
shippingZip*string
shippingCity*string
shippingCountryCode*string
type*string
Value in"company""person"
version*integer
Range-2147483648 <= value <= 2147483647
isComplete*boolean
curl -X GET "https://example.com/v2/organizations/:organizationId/billing"
{  "id": "string",  "createdAt": "2019-08-24T14:15:22Z",  "updatedAt": "2019-08-24T14:15:22Z",  "organizationId": "string",  "companyName": "string",  "companyEmail": "string",  "companyContactSalutation": "string",  "companyContactFirstName": "string",  "companyContactLastName": "string",  "companyTaxNumber": "string",  "companyVatRegistrationId": "string",  "personSalutation": "string",  "personFirstName": "string",  "personLastName": "string",  "email": "string",  "phoneNumber": "string",  "billingSupplement": "string",  "billingStreet": "string",  "billingZip": "string",  "billingCity": "string",  "billingCountryCode": "string",  "shippingSupplement": "string",  "shippingStreet": "string",  "shippingZip": "string",  "shippingCity": "string",  "shippingCountryCode": "string",  "type": "company",  "version": -2147483648,  "isComplete": true}
POST
/v2/organizations/:organizationId/billing

Authorization

openIdConnect
OpenID Connect<token>

Path Parameters

organizationId*string
Formatcuid2

Request Body

The billing info to create for this organization

application/json
  1. body
companyName?string|null
companyEmail?string|null
companyContactSalutation?|
Lengthlength <= 25
companyContactFirstName?string|null
companyContactLastName?string|null
companyTaxNumber?string|null
companyVatRegistrationId?string|null
personSalutation*string
Lengthlength <= 25
personFirstName*string
Length1 <= length
personLastName*string
Length1 <= length
email*string
phoneNumber*string
billingSupplement?string|null
billingStreet*string
billingZip*string
billingCity*string
billingCountryCode*string
shippingSupplement?string|null
shippingStreet*string
shippingZip*string
shippingCity*string
shippingCountryCode*string
type*"person"
Value in"person"

Response Body

The created billing info

application/json
  1. response
id*string
Lengthlength <= 24
createdAt*|
Formatdate-time
updatedAt*|
Formatdate-time
organizationId*string
Lengthlength <= 24
companyName*string|null
companyEmail*string|null
companyContactSalutation*|
Lengthlength <= 25
companyContactFirstName*string|null
companyContactLastName*string|null
companyTaxNumber*string|null
companyVatRegistrationId*string|null
personSalutation*|
Lengthlength <= 25
personFirstName*string|null
personLastName*string|null
email*string
phoneNumber*string
billingSupplement*string|null
billingStreet*string
billingZip*string
billingCity*string
billingCountryCode*string
shippingSupplement*string|null
shippingStreet*string
shippingZip*string
shippingCity*string
shippingCountryCode*string
type*string
Value in"company""person"
version*integer
Range-2147483648 <= value <= 2147483647
isComplete*boolean
curl -X POST "https://example.com/v2/organizations/:organizationId/billing" \  -H "Content-Type: application/json" \  -d '{    "personSalutation": "string",    "personFirstName": "string",    "personLastName": "string",    "email": "string",    "phoneNumber": "string",    "billingStreet": "string",    "billingZip": "string",    "billingCity": "string",    "billingCountryCode": "string",    "shippingStreet": "string",    "shippingZip": "string",    "shippingCity": "string",    "shippingCountryCode": "string",    "type": "person"  }'
{  "id": "string",  "createdAt": "2019-08-24T14:15:22Z",  "updatedAt": "2019-08-24T14:15:22Z",  "organizationId": "string",  "companyName": "string",  "companyEmail": "string",  "companyContactSalutation": "string",  "companyContactFirstName": "string",  "companyContactLastName": "string",  "companyTaxNumber": "string",  "companyVatRegistrationId": "string",  "personSalutation": "string",  "personFirstName": "string",  "personLastName": "string",  "email": "string",  "phoneNumber": "string",  "billingSupplement": "string",  "billingStreet": "string",  "billingZip": "string",  "billingCity": "string",  "billingCountryCode": "string",  "shippingSupplement": "string",  "shippingStreet": "string",  "shippingZip": "string",  "shippingCity": "string",  "shippingCountryCode": "string",  "type": "company",  "version": -2147483648,  "isComplete": true}
PUT
/v2/organizations/:organizationId/billing

Authorization

openIdConnect
OpenID Connect<token>

Path Parameters

organizationId*string
Formatcuid2

Request Body

The billing info fields to update for this organization

application/json
  1. body
companyName?string|null
companyEmail?string|null
companyContactSalutation?|
Lengthlength <= 25
companyContactFirstName?string|null
companyContactLastName?string|null
companyTaxNumber?string|null
companyVatRegistrationId?string|null
personSalutation?string
Lengthlength <= 25
personFirstName?string
Length1 <= length
personLastName?string
Length1 <= length
email?string
phoneNumber?string
billingSupplement?string|null
billingStreet?string
billingZip?string
billingCity?string
billingCountryCode?string
shippingSupplement?string|null
shippingStreet?string
shippingZip?string
shippingCity?string
shippingCountryCode?string
type*"person"
Value in"person"

Response Body

The updated billing info

application/json
  1. response
id*string
Lengthlength <= 24
createdAt*|
Formatdate-time
updatedAt*|
Formatdate-time
organizationId*string
Lengthlength <= 24
companyName*string|null
companyEmail*string|null
companyContactSalutation*|
Lengthlength <= 25
companyContactFirstName*string|null
companyContactLastName*string|null
companyTaxNumber*string|null
companyVatRegistrationId*string|null
personSalutation*|
Lengthlength <= 25
personFirstName*string|null
personLastName*string|null
email*string
phoneNumber*string
billingSupplement*string|null
billingStreet*string
billingZip*string
billingCity*string
billingCountryCode*string
shippingSupplement*string|null
shippingStreet*string
shippingZip*string
shippingCity*string
shippingCountryCode*string
type*string
Value in"company""person"
version*integer
Range-2147483648 <= value <= 2147483647
isComplete*boolean
curl -X PUT "https://example.com/v2/organizations/:organizationId/billing" \  -H "Content-Type: application/json" \  -d '{    "type": "person"  }'
{  "id": "string",  "createdAt": "2019-08-24T14:15:22Z",  "updatedAt": "2019-08-24T14:15:22Z",  "organizationId": "string",  "companyName": "string",  "companyEmail": "string",  "companyContactSalutation": "string",  "companyContactFirstName": "string",  "companyContactLastName": "string",  "companyTaxNumber": "string",  "companyVatRegistrationId": "string",  "personSalutation": "string",  "personFirstName": "string",  "personLastName": "string",  "email": "string",  "phoneNumber": "string",  "billingSupplement": "string",  "billingStreet": "string",  "billingZip": "string",  "billingCity": "string",  "billingCountryCode": "string",  "shippingSupplement": "string",  "shippingStreet": "string",  "shippingZip": "string",  "shippingCity": "string",  "shippingCountryCode": "string",  "type": "company",  "version": -2147483648,  "isComplete": true}
GET
/v2/organizations/:organizationId/users

Authorization

openIdConnect
OpenID Connect<token>

Path Parameters

organizationId*string
Formatcuid2

Response Body

the users of the organization

application/json
  1. response
[index: integer]?
curl -X GET "https://example.com/v2/organizations/:organizationId/users"
[  {    "id": "string",    "createdAt": "2019-08-24T14:15:22Z",    "updatedAt": "2019-08-24T14:15:22Z",    "sub": "string",    "name": "string",    "email": "string",    "avatar": "string",    "avatarPlaceholder": "string",    "organizationId": "string",    "role": "viewer",    "isSuperadmin": true,    "createdVia": "signup",    "locale": "string",    "timezone": "string"  }]
GET
/v2/organizations/:organizationId/invitations

Authorization

openIdConnect
OpenID Connect<token>

Path Parameters

organizationId*string
Formatcuid2

Response Body

the users of the organization

application/json
  1. response
[index: integer]?
curl -X GET "https://example.com/v2/organizations/:organizationId/invitations"
[  {    "id": "string",    "createdAt": "2019-08-24T14:15:22Z",    "updatedAt": "2019-08-24T14:15:22Z",    "inviteeEmail": "string",    "organizationId": "string",    "role": "viewer",    "status": "pending",    "expirationDate": "2019-08-24T14:15:22Z"  }]
POST
/v2/paypal/:id/create-order

Authorization

openIdConnect
OpenID Connect<token>

Path Parameters

id*string
Length24 <= length <= 24

Response Body

Created PayPal order

application/json
  1. response
orderId*string
Length5 <= length
curl -X POST "https://example.com/v2/paypal/:id/create-order"
{  "orderId": "string"}
POST
/v2/paypal/:id/capture

Authorization

openIdConnect
OpenID Connect<token>

Path Parameters

id*string
Length24 <= length <= 24

Response Body

Captured and confirmed

application/json
  1. response
ok*boolean
curl -X POST "https://example.com/v2/paypal/:id/capture"
{  "ok": true}
GET
/v2/projects

Authorization

openIdConnect
OpenID Connect<token>

Query Parameters

type?string
Value in"standard""research"
status?string
Value in"active""archived"

Response Body

The list of projects

application/json
  1. response
[index: integer]?
curl -X GET "https://example.com/v2/projects"
[  {    "id": "string",    "createdAt": "2019-08-24T14:15:22Z",    "updatedAt": "2019-08-24T14:15:22Z",    "name": "string",    "description": "string",    "organizationId": "string",    "type": "standard",    "status": "active"  }]
POST
/v2/projects

Authorization

openIdConnect
OpenID Connect<token>

Request Body

The project metadata

application/json
  1. body
name*string
Length3 <= length <= 50
description*string
Length1 <= length <= 50
type?string
Value in"standard""research"
status?string
Value in"active""archived"

Response Body

The created project

application/json
  1. response
id*string
Lengthlength <= 24
createdAt*|
Formatdate-time
updatedAt*|
Formatdate-time
name*string
description*string
organizationId*string
Lengthlength <= 24
type*string
Value in"standard""research"
status*string
Value in"active""archived"
curl -X POST "https://example.com/v2/projects" \  -H "Content-Type: application/json" \  -d '{    "name": "string",    "description": "string"  }'
{  "id": "string",  "createdAt": "2019-08-24T14:15:22Z",  "updatedAt": "2019-08-24T14:15:22Z",  "name": "string",  "description": "string",  "organizationId": "string",  "type": "standard",  "status": "active"}
GET
/v2/projects/progress

Authorization

openIdConnect
OpenID Connect<token>

Response Body

Per-project progress for every project in the active organization

application/json
  1. response
[index: integer]?
curl -X GET "https://example.com/v2/projects/progress"
[  {    "projectId": "string",    "completed": 0,    "total": 0  }]
GET
/v2/projects/stats

Authorization

openIdConnect
OpenID Connect<token>

Response Body

Org-wide file and crowd-answer totals for the projects list page

application/json
  1. response
totalProjects*number
activeProjects*number
totalFiles*number
totalCrowdAnswers*number
curl -X GET "https://example.com/v2/projects/stats"
{  "totalProjects": 0,  "activeProjects": 0,  "totalFiles": 0,  "totalCrowdAnswers": 0}
GET
/v2/projects/:projectId

Authorization

openIdConnect
OpenID Connect<token>

Path Parameters

projectId*string
Formatcuid2

Response Body

Metadata of the project

application/json
  1. response
id*string
Lengthlength <= 24
createdAt*|
Formatdate-time
updatedAt*|
Formatdate-time
name*string
description*string
organizationId*string
Lengthlength <= 24
type*string
Value in"standard""research"
status*string
Value in"active""archived"
curl -X GET "https://example.com/v2/projects/:projectId"
{  "id": "string",  "createdAt": "2019-08-24T14:15:22Z",  "updatedAt": "2019-08-24T14:15:22Z",  "name": "string",  "description": "string",  "organizationId": "string",  "type": "standard",  "status": "active"}
PUT
/v2/projects/:projectId

Authorization

openIdConnect
OpenID Connect<token>

Path Parameters

projectId*string
Formatcuid2

Request Body

The updated project data

application/json
  1. body
name?string
Length3 <= length <= 50
description?string
Length1 <= length <= 50
type?string
Value in"standard""research"
status?string
Value in"active""archived"

Response Body

The updated project

application/json
  1. response
id*string
Lengthlength <= 24
createdAt*|
Formatdate-time
updatedAt*|
Formatdate-time
name*string
description*string
organizationId*string
Lengthlength <= 24
type*string
Value in"standard""research"
status*string
Value in"active""archived"
curl -X PUT "https://example.com/v2/projects/:projectId" \  -H "Content-Type: application/json" \  -d '{}'
{  "id": "string",  "createdAt": "2019-08-24T14:15:22Z",  "updatedAt": "2019-08-24T14:15:22Z",  "name": "string",  "description": "string",  "organizationId": "string",  "type": "standard",  "status": "active"}
DELETE
/v2/projects/:projectId

Authorization

openIdConnect
OpenID Connect<token>

Path Parameters

projectId*string
Formatcuid2

Response Body

Metadata of the deleted project

application/json
  1. response
id*string
Lengthlength <= 24
createdAt*|
Formatdate-time
updatedAt*|
Formatdate-time
name*string
description*string
organizationId*string
Lengthlength <= 24
type*string
Value in"standard""research"
status*string
Value in"active""archived"
curl -X DELETE "https://example.com/v2/projects/:projectId"
{  "id": "string",  "createdAt": "2019-08-24T14:15:22Z",  "updatedAt": "2019-08-24T14:15:22Z",  "name": "string",  "description": "string",  "organizationId": "string",  "type": "standard",  "status": "active"}
PATCH
/v2/projects/:projectId/archive

Authorization

openIdConnect
OpenID Connect<token>

Path Parameters

projectId*string
Formatcuid2

Response Body

The archived project

application/json
  1. response
id*string
Lengthlength <= 24
createdAt*|
Formatdate-time
updatedAt*|
Formatdate-time
name*string
description*string
organizationId*string
Lengthlength <= 24
type*string
Value in"standard""research"
status*string
Value in"active""archived"
curl -X PATCH "https://example.com/v2/projects/:projectId/archive"
{  "id": "string",  "createdAt": "2019-08-24T14:15:22Z",  "updatedAt": "2019-08-24T14:15:22Z",  "name": "string",  "description": "string",  "organizationId": "string",  "type": "standard",  "status": "active"}
PATCH
/v2/projects/:projectId/restore

Authorization

openIdConnect
OpenID Connect<token>

Path Parameters

projectId*string
Formatcuid2

Response Body

The restored project

application/json
  1. response
id*string
Lengthlength <= 24
createdAt*|
Formatdate-time
updatedAt*|
Formatdate-time
name*string
description*string
organizationId*string
Lengthlength <= 24
type*string
Value in"standard""research"
status*string
Value in"active""archived"
curl -X PATCH "https://example.com/v2/projects/:projectId/restore"
{  "id": "string",  "createdAt": "2019-08-24T14:15:22Z",  "updatedAt": "2019-08-24T14:15:22Z",  "name": "string",  "description": "string",  "organizationId": "string",  "type": "standard",  "status": "active"}
GET
/v2/projects/:projectId/workflows

Authorization

openIdConnect
OpenID Connect<token>

Path Parameters

projectId*string
Formatcuid2

Query Parameters

pipelineId?string
Formatuuid

Response Body

The list of workflows

application/json
  1. response
[index: integer]?
curl -X GET "https://example.com/v2/projects/:projectId/workflows"
[  {    "id": "string",    "createdAt": "2019-08-24T14:15:22Z",    "updatedAt": "2019-08-24T14:15:22Z",    "pipelineId": "621ef2b0-ba1d-48e5-89dc-b778e6ed42fd",    "pipelineName": "string",    "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",    "status": "in_progress",    "statusMessage": "string",    "n8nExecutionId": -2147483648,    "n8nWorkflowId": "string",    "n8nWorkflowName": "string",    "n8nWorkflowNameLong": "string",    "result": "string",    "aiInterpretation": "string",    "projectId": "string"  }]
POST
/v2/projects/:projectId/workflows

Authorization

openIdConnect
OpenID Connect<token>

Path Parameters

projectId*string
Formatcuid2

Request Body

The workflow metadata

application/json
  1. body
pipelineId*string
Formatuuid
pipelineName*string
uuid*string
Formatuuid
n8nExecutionId*integer
Range1 <= value <= 2147483647
n8nWorkflowId*string
Length5 <= length <= 100
n8nWorkflowName*string
Length5 <= length <= 100
n8nWorkflowNameLong*string
Length5 <= length <= 100
fileIds*array<>

Response Body

The created workflow

application/json
  1. response
id*string
Lengthlength <= 24
createdAt*|
Formatdate-time
updatedAt*|
Formatdate-time
pipelineId*string
Formatuuid
pipelineName*string
uuid*string
Formatuuid
status*string
Value in"in_progress""finished""no_result""error"
statusMessage*string|null
n8nExecutionId*integer
Range-2147483648 <= value <= 2147483647
n8nWorkflowId*string
n8nWorkflowName*string
n8nWorkflowNameLong*string
result*string|null
aiInterpretation*string|null
projectId*string
Lengthlength <= 24
curl -X POST "https://example.com/v2/projects/:projectId/workflows" \  -H "Content-Type: application/json" \  -d '{    "pipelineId": "621ef2b0-ba1d-48e5-89dc-b778e6ed42fd",    "pipelineName": "string",    "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",    "n8nExecutionId": 1,    "n8nWorkflowId": "string",    "n8nWorkflowName": "string",    "n8nWorkflowNameLong": "string",    "fileIds": [      "stringstringstringstring"    ]  }'
{  "id": "string",  "createdAt": "2019-08-24T14:15:22Z",  "updatedAt": "2019-08-24T14:15:22Z",  "pipelineId": "621ef2b0-ba1d-48e5-89dc-b778e6ed42fd",  "pipelineName": "string",  "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",  "status": "in_progress",  "statusMessage": "string",  "n8nExecutionId": -2147483648,  "n8nWorkflowId": "string",  "n8nWorkflowName": "string",  "n8nWorkflowNameLong": "string",  "result": "string",  "aiInterpretation": "string",  "projectId": "string"}
GET
/v2/projects/:projectId/files

Authorization

openIdConnect
OpenID Connect<token>

Path Parameters

projectId*string
Formatcuid2

Response Body

List of files belonging to the project

application/json
  1. response
[index: integer]?
curl -X GET "https://example.com/v2/projects/:projectId/files"
[  {    "id": "string",    "createdAt": "2019-08-24T14:15:22Z",    "updatedAt": "2019-08-24T14:15:22Z",    "name": "string",    "type": "string",    "size": -2147483648,    "path": "string",    "etag": "string",    "organizationId": "string",    "uploaderId": "string",    "lastModified": "2019-08-24T14:15:22Z",    "projectId": "string",    "privacyLevel": "private",    "tags": [      "string"    ],    "metadata": "string",    "additionalInfo": "string",    "origin": "user_upload",    "originWorkflowId": "string",    "sourceFileId": "string",    "enrichmentStatus": "pending",    "placeholder": "string",    "contentHash": "string",    "folderId": "string"  }]
POST
/v2/projects/:projectId/files

Authorization

openIdConnect
OpenID Connect<token>

Path Parameters

projectId*string
Formatcuid2

Request Body

multipart/form-data
  1. body
file[]*|
folderId?string
Length24 <= length <= 24

Response Body

Upload one or multiple files

application/json
  1. response
[index: integer]?
curl -X POST "https://example.com/v2/projects/:projectId/files" \  -F file[]="string"
[  {    "id": "string",    "createdAt": "2019-08-24T14:15:22Z",    "updatedAt": "2019-08-24T14:15:22Z",    "name": "string",    "type": "string",    "size": -2147483648,    "path": "string",    "etag": "string",    "organizationId": "string",    "uploaderId": "string",    "lastModified": "2019-08-24T14:15:22Z",    "projectId": "string",    "privacyLevel": "private",    "tags": [      "string"    ],    "metadata": "string",    "additionalInfo": "string",    "origin": "user_upload",    "originWorkflowId": "string",    "sourceFileId": "string",    "enrichmentStatus": "pending",    "placeholder": "string",    "contentHash": "string",    "folderId": "string"  }]
GET
/v2/projects/:projectId/comments

Authorization

openIdConnect
OpenID Connect<token>

Path Parameters

projectId*string
Formatcuid2

Response Body

The list of comments

application/json
  1. response
[index: integer]?
curl -X GET "https://example.com/v2/projects/:projectId/comments"
[  {    "id": "string",    "createdAt": "2019-08-24T14:15:22Z",    "updatedAt": "2019-08-24T14:15:22Z",    "text": "string",    "image": "string",    "time": "string",    "edited": true,    "authorId": "string",    "projectId": "string",    "fileId": "string",    "workflowId": "string",    "parentCommentId": "string",    "authorName": "string"  }]
GET
/v2/projects/:projectId/folders

Authorization

openIdConnect
OpenID Connect<token>

Path Parameters

projectId*string
Formatcuid2

Response Body

List of folders belonging to the project

application/json
  1. response
[index: integer]?
curl -X GET "https://example.com/v2/projects/:projectId/folders"
[  {    "id": "string",    "createdAt": "2019-08-24T14:15:22Z",    "updatedAt": "2019-08-24T14:15:22Z",    "name": "string",    "organizationId": "string",    "projectId": "string",    "parentId": "string",    "createdById": "string"  }]
POST
/v2/projects/:projectId/folders

Authorization

openIdConnect
OpenID Connect<token>

Path Parameters

projectId*string
Formatcuid2

Request Body

The folder to create

application/json
  1. body
name*string
Length1 <= length <= 100
parentId?|
Length24 <= length <= 24

Response Body

The created folder

application/json
  1. response
id*string
Lengthlength <= 24
createdAt*|
Formatdate-time
updatedAt*|
Formatdate-time
name*string
organizationId*string
Lengthlength <= 24
projectId*string
Lengthlength <= 24
parentId*|
Lengthlength <= 24
createdById*string
Lengthlength <= 24
curl -X POST "https://example.com/v2/projects/:projectId/folders" \  -H "Content-Type: application/json" \  -d '{    "name": "string"  }'
{  "id": "string",  "createdAt": "2019-08-24T14:15:22Z",  "updatedAt": "2019-08-24T14:15:22Z",  "name": "string",  "organizationId": "string",  "projectId": "string",  "parentId": "string",  "createdById": "string"}
GET
/v2/projects/:projectId/jobs

Authorization

openIdConnect
OpenID Connect<token>

Path Parameters

projectId*string
Formatcuid2

Response Body

The list of jobs

application/json
  1. response
[index: integer]?
curl -X GET "https://example.com/v2/projects/:projectId/jobs"
[  {    "id": "string",    "createdAt": "2019-08-24T14:15:22Z",    "updatedAt": "2019-08-24T14:15:22Z",    "name": "string",    "title": "string",    "description": "string",    "status": "assignable",    "category": "survey",    "language": "en",    "surveyTemplateVersionId": "string",    "inputDataSetId": "string",    "maxAssignments": -32768,    "maxRepetitionsPerVariant": -2147483648,    "maxWorkTimeMinutes": -2147483648,    "rewardCredits": -9007199254740991,    "creditsBlocked": -9007199254740991,    "platformFeeBlocked": -9007199254740991,    "validFrom": "2019-08-24T14:15:22Z",    "validUntil": "2019-08-24T14:15:22Z",    "qualificationRequirements": "string",    "requiredPanelIds": [      "string"    ],    "verificationCode": "string",    "autoAcceptHours": -2147483648,    "forceUniqueTasks": true,    "isDryRun": true,    "dryRunAllowedEmails": [      "string"    ],    "dryRunMagicToken": "string",    "projectId": "string",    "createdById": "string",    "watcherUserIds": [      "string"    ],    "reviewerUserIds": [      "string"    ],    "noTasksReviewerNotifiedAt": "2019-08-24T14:15:22Z"  }]
POST
/v2/projects/:projectId/jobs

Authorization

openIdConnect
OpenID Connect<token>

Path Parameters

projectId*string
Formatcuid2

Request Body

The job metadata

application/json
  1. body
name*string
Length3 <= length <= 100
title*string
Length3 <= length <= 200
description*string
Length3 <= length <= 5000
category*string
Value in"survey""qualification_test""gathering"
language*string
Value in"en""de""fr""es""it""pt""nl""pl""sv""no""da""fi""ru""tr""ar""zh""ja"
surveyTemplateVersionId*string
Lengthlength <= 24
inputDataSetId?|
Lengthlength <= 24
maxAssignments?integer
Range1 <= value <= 10000
maxRepetitionsPerVariant?integer
Range1 <= value <= 10000
maxWorkTimeMinutes?|
Range1 <= value <= 1440
rewardCredits?integer
Range0 <= value <= 100000
validFrom?|
Formatdate-time
validUntil?|
Formatdate-time
qualificationRequirements?|null
requiredPanelIds?array<>
Itemsitems <= 20
verificationCode?string|null
forceUniqueTasks?boolean
isDryRun?boolean
dryRunAllowedEmails?array<string>
dryRunMagicToken?string|null
watcherUserIds?array<>
Itemsitems <= 50
reviewerUserIds?array<>
Itemsitems <= 50
noTasksReviewerNotifiedAt?|
Formatdate-time

Response Body

The created job

application/json
  1. response
id*string
Lengthlength <= 24
createdAt*|
Formatdate-time
updatedAt*|
Formatdate-time
name*string
title*string
description*string
status*string
Value in"assignable""not_assignable""no_tasks""finished""archived""paused"
category*string
Value in"survey""qualification_test""gathering"
language*string
Value in"en""de""fr""es""it""pt""nl""pl""sv""no""da""fi""ru""tr""ar""zh""ja"
surveyTemplateVersionId*string
Lengthlength <= 24
inputDataSetId*|
Lengthlength <= 24
maxAssignments*integer
Range-32768 <= value <= 32767
maxRepetitionsPerVariant*integer
Range-2147483648 <= value <= 2147483647
maxWorkTimeMinutes*|
Range-2147483648 <= value <= 2147483647
rewardCredits*integer
Range-9007199254740991 <= value <= 9007199254740991
creditsBlocked*integer
Range-9007199254740991 <= value <= 9007199254740991
platformFeeBlocked*integer
Range-9007199254740991 <= value <= 9007199254740991
validFrom*|
Formatdate-time
validUntil*|
Formatdate-time
qualificationRequirements*string|number|boolean|null||array<unknown>
requiredPanelIds*array<>
verificationCode*string|null
autoAcceptHours*|
Range-2147483648 <= value <= 2147483647
forceUniqueTasks*boolean
isDryRun*boolean
dryRunAllowedEmails*array<string>
dryRunMagicToken*string|null
projectId*string
Lengthlength <= 24
createdById*|
Lengthlength <= 24
watcherUserIds*array<>
reviewerUserIds*array<>
noTasksReviewerNotifiedAt*|
Formatdate-time
curl -X POST "https://example.com/v2/projects/:projectId/jobs" \  -H "Content-Type: application/json" \  -d '{    "name": "string",    "title": "string",    "description": "string",    "category": "survey",    "language": "en",    "surveyTemplateVersionId": "string"  }'
{  "id": "string",  "createdAt": "2019-08-24T14:15:22Z",  "updatedAt": "2019-08-24T14:15:22Z",  "name": "string",  "title": "string",  "description": "string",  "status": "assignable",  "category": "survey",  "language": "en",  "surveyTemplateVersionId": "string",  "inputDataSetId": "string",  "maxAssignments": -32768,  "maxRepetitionsPerVariant": -2147483648,  "maxWorkTimeMinutes": -2147483648,  "rewardCredits": -9007199254740991,  "creditsBlocked": -9007199254740991,  "platformFeeBlocked": -9007199254740991,  "validFrom": "2019-08-24T14:15:22Z",  "validUntil": "2019-08-24T14:15:22Z",  "qualificationRequirements": "string",  "requiredPanelIds": [    "string"  ],  "verificationCode": "string",  "autoAcceptHours": -2147483648,  "forceUniqueTasks": true,  "isDryRun": true,  "dryRunAllowedEmails": [    "string"  ],  "dryRunMagicToken": "string",  "projectId": "string",  "createdById": "string",  "watcherUserIds": [    "string"  ],  "reviewerUserIds": [    "string"  ],  "noTasksReviewerNotifiedAt": "2019-08-24T14:15:22Z"}
GET
/v2/projects/:projectId/dossier

Authorization

openIdConnect
OpenID Connect<token>

Path Parameters

projectId*string
Formatcuid2

Response Body

The dossier of workflows grouped by pipelineId

application/json
  1. response
[index: integer]?array<any>
curl -X GET "https://example.com/v2/projects/:projectId/dossier"
[  [    "string",    [      {        "id": "string",        "createdAt": "2019-08-24T14:15:22Z",        "updatedAt": "2019-08-24T14:15:22Z",        "pipelineId": "621ef2b0-ba1d-48e5-89dc-b778e6ed42fd",        "pipelineName": "string",        "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",        "status": "in_progress",        "statusMessage": "string",        "n8nExecutionId": -2147483648,        "n8nWorkflowId": "string",        "n8nWorkflowName": "string",        "n8nWorkflowNameLong": "string",        "result": "string",        "aiInterpretation": "string",        "projectId": "string"      }    ]  ]]
GET
/v2/projects/:projectId/survey-templates

Authorization

openIdConnect
OpenID Connect<token>

Path Parameters

projectId*string
Formatcuid2

Response Body

Survey templates for this project

application/json
  1. response
[index: integer]?
curl -X GET "https://example.com/v2/projects/:projectId/survey-templates"
[  {    "id": "string",    "createdAt": "2019-08-24T14:15:22Z",    "updatedAt": "2019-08-24T14:15:22Z",    "name": "string",    "description": "string",    "scope": "project",    "language": "en",    "projectId": "string",    "organizationId": "string",    "latestVersion": {      "id": "string",      "createdAt": "2019-08-24T14:15:22Z",      "templateId": "string",      "versionNumber": -2147483648,      "surveyJs": "string",      "authorId": "string"    }  }]
POST
/v2/projects/:projectId/survey-templates

Authorization

openIdConnect
OpenID Connect<token>

Path Parameters

projectId*string
Formatcuid2

Request Body

New survey template with initial content

application/json
  1. body
name*string
description?string|null
scope?string
Value in"project""organization""public"
language*string
Value in"en""de""fr""es""it""pt""nl""pl""sv""no""da""fi""ru""tr""ar""zh""ja"
surveyJs*

Response Body

Created survey template

application/json
  1. response
id*string
Lengthlength <= 24
createdAt*|
Formatdate-time
updatedAt*|
Formatdate-time
name*string
description*string|null
scope*string
Value in"project""organization""public"
language*string
Value in"en""de""fr""es""it""pt""nl""pl""sv""no""da""fi""ru""tr""ar""zh""ja"
projectId*string
Lengthlength <= 24
organizationId*string
Lengthlength <= 24
latestVersion*|null
curl -X POST "https://example.com/v2/projects/:projectId/survey-templates" \  -H "Content-Type: application/json" \  -d '{    "name": "string",    "language": "en",    "surveyJs": {      "property1": null,      "property2": null    }  }'
{  "id": "string",  "createdAt": "2019-08-24T14:15:22Z",  "updatedAt": "2019-08-24T14:15:22Z",  "name": "string",  "description": "string",  "scope": "project",  "language": "en",  "projectId": "string",  "organizationId": "string",  "latestVersion": {    "id": "string",    "createdAt": "2019-08-24T14:15:22Z",    "templateId": "string",    "versionNumber": -2147483648,    "surveyJs": "string",    "authorId": "string"  }}
GET
/v2/projects/:projectId/verification-contexts

Authorization

openIdConnect
OpenID Connect<token>

Path Parameters

projectId*string
Formatcuid2

Response Body

Verification contexts for this project

application/json
  1. response
[index: integer]?
curl -X GET "https://example.com/v2/projects/:projectId/verification-contexts"
[  {    "id": "string",    "createdAt": "2019-08-24T14:15:22Z",    "updatedAt": "2019-08-24T14:15:22Z",    "name": "string",    "description": "string",    "projectId": "string",    "organizationId": "string",    "contextData": "string",    "isDefault": true  }]
POST
/v2/projects/:projectId/verification-contexts

Authorization

openIdConnect
OpenID Connect<token>

Path Parameters

projectId*string
Formatcuid2

Request Body

New verification context

application/json
  1. body
name*string
description?string|null
contextData*
isDefault?boolean

Response Body

Created verification context

application/json
  1. response
id*string
Lengthlength <= 24
createdAt*|
Formatdate-time
updatedAt*|
Formatdate-time
name*string
description*string|null
projectId*string
Lengthlength <= 24
organizationId*string
Lengthlength <= 24
contextData*string|number|boolean|null||array<unknown>
isDefault*boolean
curl -X POST "https://example.com/v2/projects/:projectId/verification-contexts" \  -H "Content-Type: application/json" \  -d '{    "name": "string",    "contextData": {      "property1": null,      "property2": null    }  }'
{  "id": "string",  "createdAt": "2019-08-24T14:15:22Z",  "updatedAt": "2019-08-24T14:15:22Z",  "name": "string",  "description": "string",  "projectId": "string",  "organizationId": "string",  "contextData": "string",  "isDefault": true}
GET
/v2/projects/:projectId/input-data

Authorization

openIdConnect
OpenID Connect<token>

Path Parameters

projectId*string
Formatcuid2

Response Body

Input data sets for this project

application/json
  1. response
[index: integer]?
curl -X GET "https://example.com/v2/projects/:projectId/input-data"
[  {    "id": "string",    "createdAt": "2019-08-24T14:15:22Z",    "updatedAt": "2019-08-24T14:15:22Z",    "name": "string",    "description": "string",    "scope": "project",    "language": "en",    "projectId": "string",    "organizationId": "string",    "uploaderId": "string"  }]
POST
/v2/projects/:projectId/input-data

Authorization

openIdConnect
OpenID Connect<token>

Path Parameters

projectId*string
Formatcuid2

Request Body

New input data set with lists and optional groups

application/json
  1. body
name*string
description?string|null
scope?string
Value in"project""organization"
language*string
Value in"en""de""fr""es""it""pt""nl""pl""sv""no""da""fi""ru""tr""ar""zh""ja"
lists*array<>
Items1 <= items
groups?array<>

Response Body

Created input data set

application/json
  1. response
id*string
Lengthlength <= 24
createdAt*|
Formatdate-time
updatedAt*|
Formatdate-time
name*string
description*string|null
scope*string
Value in"project""organization"
language*string
Value in"en""de""fr""es""it""pt""nl""pl""sv""no""da""fi""ru""tr""ar""zh""ja"
projectId*string
Lengthlength <= 24
organizationId*string
Lengthlength <= 24
uploaderId*|
Lengthlength <= 24
lists*array<>
groups*array<>
curl -X POST "https://example.com/v2/projects/:projectId/input-data" \  -H "Content-Type: application/json" \  -d '{    "name": "string",    "language": "en",    "lists": [      {        "name": "string",        "values": [          "string"        ]      }    ]  }'
{  "id": "string",  "createdAt": "2019-08-24T14:15:22Z",  "updatedAt": "2019-08-24T14:15:22Z",  "name": "string",  "description": "string",  "scope": "project",  "language": "en",  "projectId": "string",  "organizationId": "string",  "uploaderId": "string",  "lists": [    {      "id": "string",      "createdAt": "2019-08-24T14:15:22Z",      "updatedAt": "2019-08-24T14:15:22Z",      "name": "string",      "values": "string",      "dataSetId": "string"    }  ],  "groups": [    {      "id": "string",      "name": "string",      "lists": [        {          "id": "string",          "name": "string",          "values": "string"        }      ]    }  ]}
POST
/v2/projects/:projectId/input-data/from-csv

Authorization

openIdConnect
OpenID Connect<token>

Path Parameters

projectId*string
Formatcuid2

Request Body

multipart/form-data
  1. body
file*file
Formatbinary
description?string
scope?string
Value in"project""organization"
language*string
Value in"en""de""fr""es""it""pt""nl""pl""sv""no""da""fi""ru""tr""ar""zh""ja"

Response Body

Created input data set from CSV

application/json
  1. response
id*string
Lengthlength <= 24
createdAt*|
Formatdate-time
updatedAt*|
Formatdate-time
name*string
description*string|null
scope*string
Value in"project""organization"
language*string
Value in"en""de""fr""es""it""pt""nl""pl""sv""no""da""fi""ru""tr""ar""zh""ja"
projectId*string
Lengthlength <= 24
organizationId*string
Lengthlength <= 24
uploaderId*|
Lengthlength <= 24
lists*array<>
groups*array<>
curl -X POST "https://example.com/v2/projects/:projectId/input-data/from-csv" \  -F file="string" \  -F language="en"
{  "id": "string",  "createdAt": "2019-08-24T14:15:22Z",  "updatedAt": "2019-08-24T14:15:22Z",  "name": "string",  "description": "string",  "scope": "project",  "language": "en",  "projectId": "string",  "organizationId": "string",  "uploaderId": "string",  "lists": [    {      "id": "string",      "createdAt": "2019-08-24T14:15:22Z",      "updatedAt": "2019-08-24T14:15:22Z",      "name": "string",      "values": "string",      "dataSetId": "string"    }  ],  "groups": [    {      "id": "string",      "name": "string",      "lists": [        {          "id": "string",          "name": "string",          "values": "string"        }      ]    }  ]}
GET
/v2/projects/:projectId/pipeline-runs

Authorization

openIdConnect
OpenID Connect<token>

Path Parameters

projectId*string
Formatcuid2

Response Body

Pipeline runs for this project

application/json
  1. response
[index: integer]?
curl -X GET "https://example.com/v2/projects/:projectId/pipeline-runs"
[  {    "id": "string",    "createdAt": "2019-08-24T14:15:22Z",    "updatedAt": "2019-08-24T14:15:22Z",    "pipelineSlug": "string",    "fileId": "string",    "projectId": "string",    "organizationId": "string",    "status": "pending",    "jobId": "string",    "result": "string",    "error": "string"  }]
POST
/v2/projects/:projectId/run-pipeline

Authorization

openIdConnect
OpenID Connect<token>

Path Parameters

projectId*string
Formatcuid2

Request Body

Pipeline run request

application/json
  1. body
pipelineSlug*string
Length1 <= length <= 100
fileIds*array<>
Items1 <= items <= 50
contextId?string
Length24 <= length <= 24

Response Body

Created pipeline runs

application/json
  1. response
runs*array<>
curl -X POST "https://example.com/v2/projects/:projectId/run-pipeline" \  -H "Content-Type: application/json" \  -d '{    "pipelineSlug": "string",    "fileIds": [      "stringstringstringstring"    ]  }'
{  "runs": [    {      "id": "string",      "createdAt": "2019-08-24T14:15:22Z",      "updatedAt": "2019-08-24T14:15:22Z",      "pipelineSlug": "string",      "fileId": "string",      "projectId": "string",      "organizationId": "string",      "status": "pending",      "jobId": "string",      "result": "string",      "error": "string"    }  ]}
POST
/v2/projects/:projectId/files/:fileId/enrichment/retry

Authorization

openIdConnect
OpenID Connect<token>

Path Parameters

projectId*string
Length24 <= length <= 24
fileId*string
Length24 <= length <= 24

Response Body

Enrichment re-queued

application/json
  1. response
id*string
Lengthlength <= 24
createdAt*|
Formatdate-time
updatedAt*|
Formatdate-time
pipelineSlug*string
fileId*string
Lengthlength <= 24
projectId*|
Lengthlength <= 24
organizationId*string
Lengthlength <= 24
status*string
Value in"pending""running""completed""failed"
jobId*string|null
result*string|number|boolean|null||array<unknown>
error*string|null
curl -X POST "https://example.com/v2/projects/:projectId/files/:fileId/enrichment/retry"
{  "id": "string",  "createdAt": "2019-08-24T14:15:22Z",  "updatedAt": "2019-08-24T14:15:22Z",  "pipelineSlug": "string",  "fileId": "string",  "projectId": "string",  "organizationId": "string",  "status": "pending",  "jobId": "string",  "result": "string",  "error": "string"}
GET
/v2/projects/:projectId/verification-runs

Authorization

openIdConnect
OpenID Connect<token>

Path Parameters

projectId*string
Formatcuid2

Query Parameters

status?string
Value in"pending""running""awaiting_crowd""completed""failed"

Response Body

List of verification runs for the project

application/json
  1. response
[index: integer]?
curl -X GET "https://example.com/v2/projects/:projectId/verification-runs"
[  {    "id": "string",    "createdAt": "2019-08-24T14:15:22Z",    "updatedAt": "2019-08-24T14:15:22Z",    "pipelineSlug": "string",    "projectId": "string",    "organizationId": "string",    "contextId": "string",    "contextDataSnapshot": "string",    "status": "pending",    "jobId": "string",    "verdict": "authentic",    "confidence": "string",    "scorecard": "string",    "explanation": "string",    "report": "string",    "error": "string",    "files": [      {        "id": "string",        "name": "string",        "type": "string",        "role": "string"      }    ],    "stages": [      {        "id": "string",        "createdAt": "2019-08-24T14:15:22Z",        "updatedAt": "2019-08-24T14:15:22Z",        "verificationPipelineRunId": "string",        "stageSlug": "string",        "stageName": "string",        "stageType": "ai",        "stageOrder": -2147483648,        "status": "pending",        "verdict": "authentic",        "confidence": "string",        "stageReport": "string",        "artifacts": "string",        "crowdJobId": "string",        "jobId": "string",        "minResponses": -2147483648,        "consensusThreshold": "string",        "startedAt": "2019-08-24T14:15:22Z",        "completedAt": "2019-08-24T14:15:22Z",        "error": "string"      }    ]  }]
POST
/v2/projects/:projectId/verification-runs

Authorization

openIdConnect
OpenID Connect<token>

Path Parameters

projectId*string
Formatcuid2

Request Body

Verification run request

application/json
  1. body
pipelineSlug*string
Length1 <= length <= 100
fileIds*array<>
Itemsitems <= 50
contextId?string
Length24 <= length <= 24
contextData?

Response Body

Created verification pipeline run

application/json
  1. response
id*string
Lengthlength <= 24
createdAt*|
Formatdate-time
updatedAt*|
Formatdate-time
pipelineSlug*string
projectId*string
Lengthlength <= 24
organizationId*string
Lengthlength <= 24
contextId*|
Lengthlength <= 24
contextDataSnapshot*string|number|boolean|null||array<unknown>
status*string
Value in"pending""running""awaiting_crowd""completed""failed"
jobId*string|null
verdict*|
Value in"authentic""manipulated""synthetic""inconclusive""unverified"null
confidence*string|null
scorecard*string|number|boolean|null||array<unknown>
explanation*string|null
report*string|null
error*string|null
files*array<>
stages?array<>
curl -X POST "https://example.com/v2/projects/:projectId/verification-runs" \  -H "Content-Type: application/json" \  -d '{    "pipelineSlug": "string",    "fileIds": [      "stringstringstringstring"    ]  }'
{  "id": "string",  "createdAt": "2019-08-24T14:15:22Z",  "updatedAt": "2019-08-24T14:15:22Z",  "pipelineSlug": "string",  "projectId": "string",  "organizationId": "string",  "contextId": "string",  "contextDataSnapshot": "string",  "status": "pending",  "jobId": "string",  "verdict": "authentic",  "confidence": "string",  "scorecard": "string",  "explanation": "string",  "report": "string",  "error": "string",  "files": [    {      "id": "string",      "name": "string",      "type": "string",      "role": "string"    }  ],  "stages": [    {      "id": "string",      "createdAt": "2019-08-24T14:15:22Z",      "updatedAt": "2019-08-24T14:15:22Z",      "verificationPipelineRunId": "string",      "stageSlug": "string",      "stageName": "string",      "stageType": "ai",      "stageOrder": -2147483648,      "status": "pending",      "verdict": "authentic",      "confidence": "string",      "stageReport": "string",      "artifacts": "string",      "crowdJobId": "string",      "jobId": "string",      "minResponses": -2147483648,      "consensusThreshold": "string",      "startedAt": "2019-08-24T14:15:22Z",      "completedAt": "2019-08-24T14:15:22Z",      "error": "string"    }  ]}
GET
/v2/projects/:projectId/verification-runs/:runId

Authorization

openIdConnect
OpenID Connect<token>

Path Parameters

projectId*string
Length24 <= length <= 24
runId*string
Length24 <= length <= 24

Response Body

Verification run with stage details

application/json
  1. response
id*string
Lengthlength <= 24
createdAt*|
Formatdate-time
updatedAt*|
Formatdate-time
pipelineSlug*string
projectId*string
Lengthlength <= 24
organizationId*string
Lengthlength <= 24
contextId*|
Lengthlength <= 24
contextDataSnapshot*string|number|boolean|null||array<unknown>
status*string
Value in"pending""running""awaiting_crowd""completed""failed"
jobId*string|null
verdict*|
Value in"authentic""manipulated""synthetic""inconclusive""unverified"null
confidence*string|null
scorecard*string|number|boolean|null||array<unknown>
explanation*string|null
report*string|null
error*string|null
files*array<>
stages?array<>
curl -X GET "https://example.com/v2/projects/:projectId/verification-runs/:runId"
{  "id": "string",  "createdAt": "2019-08-24T14:15:22Z",  "updatedAt": "2019-08-24T14:15:22Z",  "pipelineSlug": "string",  "projectId": "string",  "organizationId": "string",  "contextId": "string",  "contextDataSnapshot": "string",  "status": "pending",  "jobId": "string",  "verdict": "authentic",  "confidence": "string",  "scorecard": "string",  "explanation": "string",  "report": "string",  "error": "string",  "files": [    {      "id": "string",      "name": "string",      "type": "string",      "role": "string"    }  ],  "stages": [    {      "id": "string",      "createdAt": "2019-08-24T14:15:22Z",      "updatedAt": "2019-08-24T14:15:22Z",      "verificationPipelineRunId": "string",      "stageSlug": "string",      "stageName": "string",      "stageType": "ai",      "stageOrder": -2147483648,      "status": "pending",      "verdict": "authentic",      "confidence": "string",      "stageReport": "string",      "artifacts": "string",      "crowdJobId": "string",      "jobId": "string",      "minResponses": -2147483648,      "consensusThreshold": "string",      "startedAt": "2019-08-24T14:15:22Z",      "completedAt": "2019-08-24T14:15:22Z",      "error": "string"    }  ]}
POST
/v2/projects/:projectId/verification-runs/:runId/restart

Authorization

openIdConnect
OpenID Connect<token>

Path Parameters

projectId*string
Length24 <= length <= 24
runId*string
Length24 <= length <= 24

Response Body

Restarted verification run

application/json
  1. response
id*string
Lengthlength <= 24
createdAt*|
Formatdate-time
updatedAt*|
Formatdate-time
pipelineSlug*string
projectId*string
Lengthlength <= 24
organizationId*string
Lengthlength <= 24
contextId*|
Lengthlength <= 24
contextDataSnapshot*string|number|boolean|null||array<unknown>
status*string
Value in"pending""running""awaiting_crowd""completed""failed"
jobId*string|null
verdict*|
Value in"authentic""manipulated""synthetic""inconclusive""unverified"null
confidence*string|null
scorecard*string|number|boolean|null||array<unknown>
explanation*string|null
report*string|null
error*string|null
files*array<>
stages?array<>
curl -X POST "https://example.com/v2/projects/:projectId/verification-runs/:runId/restart"
{  "id": "string",  "createdAt": "2019-08-24T14:15:22Z",  "updatedAt": "2019-08-24T14:15:22Z",  "pipelineSlug": "string",  "projectId": "string",  "organizationId": "string",  "contextId": "string",  "contextDataSnapshot": "string",  "status": "pending",  "jobId": "string",  "verdict": "authentic",  "confidence": "string",  "scorecard": "string",  "explanation": "string",  "report": "string",  "error": "string",  "files": [    {      "id": "string",      "name": "string",      "type": "string",      "role": "string"    }  ],  "stages": [    {      "id": "string",      "createdAt": "2019-08-24T14:15:22Z",      "updatedAt": "2019-08-24T14:15:22Z",      "verificationPipelineRunId": "string",      "stageSlug": "string",      "stageName": "string",      "stageType": "ai",      "stageOrder": -2147483648,      "status": "pending",      "verdict": "authentic",      "confidence": "string",      "stageReport": "string",      "artifacts": "string",      "crowdJobId": "string",      "jobId": "string",      "minResponses": -2147483648,      "consensusThreshold": "string",      "startedAt": "2019-08-24T14:15:22Z",      "completedAt": "2019-08-24T14:15:22Z",      "error": "string"    }  ]}
GET
/v2/transactions

Authorization

openIdConnect
OpenID Connect<token>

Query Parameters

status?string
Value in"pending""succeeded""failed""canceled"
type?string
Value in"charge""refund"
limit?integer
Range1 <= value <= 200
Default50
offset?|
Range0 <= value
Default0

Response Body

List of transactions

application/json
  1. response
[index: integer]?
curl -X GET "https://example.com/v2/transactions"
[  {    "id": "string",    "createdAt": "2019-08-24T14:15:22Z",    "updatedAt": "2019-08-24T14:15:22Z",    "organizationId": "string",    "userId": "string",    "type": "charge",    "status": "pending",    "currency": "str",    "amountCents": -2147483648,    "taxCents": -2147483648,    "idempotencyKey": "string",    "provider": "mock_paypal",    "providerTransactionId": "string",    "reference": "string",    "description": "string",    "metadata": "string"  }]
GET
/v2/transactions/balance

Authorization

openIdConnect
OpenID Connect<token>

Response Body

Organization balance

application/json
  1. response
balanceCents*integer
curl -X GET "https://example.com/v2/transactions/balance"
{  "balanceCents": 0}
GET
/v2/transactions/:transactionId

Authorization

openIdConnect
OpenID Connect<token>

Path Parameters

transactionId*string
Length24 <= length <= 24

Response Body

A transaction

application/json
  1. response
id*string
Lengthlength <= 24
createdAt*|
Formatdate-time
updatedAt*|
Formatdate-time
organizationId*string
Lengthlength <= 24
userId*string
Lengthlength <= 24
type*string
Value in"charge""refund"
status*string
Value in"pending""succeeded""failed""canceled"
currency*string
Lengthlength <= 3
amountCents*integer
Range-2147483648 <= value <= 2147483647
taxCents*integer
Range-2147483648 <= value <= 2147483647
idempotencyKey*|
Lengthlength <= 64
provider*|
Value in"mock_paypal""paypal"null
providerTransactionId*string|null
reference*string|null
description*string|null
metadata*string|number|boolean|null||array<unknown>
curl -X GET "https://example.com/v2/transactions/:transactionId"
{  "id": "string",  "createdAt": "2019-08-24T14:15:22Z",  "updatedAt": "2019-08-24T14:15:22Z",  "organizationId": "string",  "userId": "string",  "type": "charge",  "status": "pending",  "currency": "str",  "amountCents": -2147483648,  "taxCents": -2147483648,  "idempotencyKey": "string",  "provider": "mock_paypal",  "providerTransactionId": "string",  "reference": "string",  "description": "string",  "metadata": "string"}
POST
/v2/transactions/charge

Authorization

openIdConnect
OpenID Connect<token>

Request Body

Charge request

application/json
  1. body
amountCents*integer
Range100 <= value <= 500000
currency?"EUR"
Default"EUR"
Value in"EUR"
description?string
Lengthlength <= 200
idempotencyKey?string
Length8 <= length <= 64

Response Body

Charge started

application/json
  1. response
transactionId*string
Length24 <= length <= 24
redirectUrl*string
Length1 <= length
curl -X POST "https://example.com/v2/transactions/charge" \  -H "Content-Type: application/json" \  -d '{    "amountCents": 100  }'
{  "transactionId": "stringstringstringstring",  "redirectUrl": "string"}
POST
/v2/transactions/:transactionId/confirm

Authorization

openIdConnect
OpenID Connect<token>

Path Parameters

transactionId*string
Length24 <= length <= 24

Response Body

Charge confirmed (or already confirmed)

application/json
  1. response
id*string
Lengthlength <= 24
createdAt*|
Formatdate-time
updatedAt*|
Formatdate-time
organizationId*string
Lengthlength <= 24
userId*string
Lengthlength <= 24
type*string
Value in"charge""refund"
status*string
Value in"pending""succeeded""failed""canceled"
currency*string
Lengthlength <= 3
amountCents*integer
Range-2147483648 <= value <= 2147483647
taxCents*integer
Range-2147483648 <= value <= 2147483647
idempotencyKey*|
Lengthlength <= 64
provider*|
Value in"mock_paypal""paypal"null
providerTransactionId*string|null
reference*string|null
description*string|null
metadata*string|number|boolean|null||array<unknown>
curl -X POST "https://example.com/v2/transactions/:transactionId/confirm"
{  "id": "string",  "createdAt": "2019-08-24T14:15:22Z",  "updatedAt": "2019-08-24T14:15:22Z",  "organizationId": "string",  "userId": "string",  "type": "charge",  "status": "pending",  "currency": "str",  "amountCents": -2147483648,  "taxCents": -2147483648,  "idempotencyKey": "string",  "provider": "mock_paypal",  "providerTransactionId": "string",  "reference": "string",  "description": "string",  "metadata": "string"}
POST
/v2/transactions/:transactionId/cancel

Authorization

openIdConnect
OpenID Connect<token>

Path Parameters

transactionId*string
Length24 <= length <= 24

Response Body

Charge canceled (or already canceled)

application/json
  1. response
id*string
Lengthlength <= 24
createdAt*|
Formatdate-time
updatedAt*|
Formatdate-time
organizationId*string
Lengthlength <= 24
userId*string
Lengthlength <= 24
type*string
Value in"charge""refund"
status*string
Value in"pending""succeeded""failed""canceled"
currency*string
Lengthlength <= 3
amountCents*integer
Range-2147483648 <= value <= 2147483647
taxCents*integer
Range-2147483648 <= value <= 2147483647
idempotencyKey*|
Lengthlength <= 64
provider*|
Value in"mock_paypal""paypal"null
providerTransactionId*string|null
reference*string|null
description*string|null
metadata*string|number|boolean|null||array<unknown>
curl -X POST "https://example.com/v2/transactions/:transactionId/cancel"
{  "id": "string",  "createdAt": "2019-08-24T14:15:22Z",  "updatedAt": "2019-08-24T14:15:22Z",  "organizationId": "string",  "userId": "string",  "type": "charge",  "status": "pending",  "currency": "str",  "amountCents": -2147483648,  "taxCents": -2147483648,  "idempotencyKey": "string",  "provider": "mock_paypal",  "providerTransactionId": "string",  "reference": "string",  "description": "string",  "metadata": "string"}
POST
/v2/transactions/:transactionId/fail

Authorization

openIdConnect
OpenID Connect<token>

Path Parameters

transactionId*string
Length24 <= length <= 24

Response Body

Charge failed (or already failed)

application/json
  1. response
id*string
Lengthlength <= 24
createdAt*|
Formatdate-time
updatedAt*|
Formatdate-time
organizationId*string
Lengthlength <= 24
userId*string
Lengthlength <= 24
type*string
Value in"charge""refund"
status*string
Value in"pending""succeeded""failed""canceled"
currency*string
Lengthlength <= 3
amountCents*integer
Range-2147483648 <= value <= 2147483647
taxCents*integer
Range-2147483648 <= value <= 2147483647
idempotencyKey*|
Lengthlength <= 64
provider*|
Value in"mock_paypal""paypal"null
providerTransactionId*string|null
reference*string|null
description*string|null
metadata*string|number|boolean|null||array<unknown>
curl -X POST "https://example.com/v2/transactions/:transactionId/fail"
{  "id": "string",  "createdAt": "2019-08-24T14:15:22Z",  "updatedAt": "2019-08-24T14:15:22Z",  "organizationId": "string",  "userId": "string",  "type": "charge",  "status": "pending",  "currency": "str",  "amountCents": -2147483648,  "taxCents": -2147483648,  "idempotencyKey": "string",  "provider": "mock_paypal",  "providerTransactionId": "string",  "reference": "string",  "description": "string",  "metadata": "string"}
GET
/v2/credit-ledger

Authorization

openIdConnect
OpenID Connect<token>

Query Parameters

type?string
Value in"paypal_charge""paypal_refund""job_funded""job_refunded""job_reward_adjusted_debit""job_reward_adjusted_credit""job_extended""ai_evaluation_funded""verification_run_charged""lt_run_charged""manual_credit_grant""monitoring_run_charged""finetune_run_charged""worker_bonus"
limit?integer
Range1 <= value <= 200
Default50
offset?|
Range0 <= value
Default0

Response Body

The organization's credit ledger, newest first

application/json
  1. response
[index: integer]?
curl -X GET "https://example.com/v2/credit-ledger"
[  {    "id": "string",    "createdAt": "2019-08-24T14:15:22Z",    "updatedAt": "2019-08-24T14:15:22Z",    "organizationId": "string",    "type": "paypal_charge",    "amountCents": -2147483648,    "balanceAfterCents": -2147483648,    "referenceType": "string",    "referenceId": "string",    "description": "string",    "lexwareInvoiceId": "2ff6df09-518a-406f-a8c8-de8ff842ebb5"  }]
GET
/v2/credit-ledger/:entryId/receipt

Authorization

openIdConnect
OpenID Connect<token>

Path Parameters

entryId*string
Length24 <= length <= 24

Response Body

Redirect to the hosted invoice

curl -X GET "https://example.com/v2/credit-ledger/:entryId/receipt"
Empty
GET
/v2/admin-external-providers

Authorization

openIdConnect
OpenID Connect<token>

Response Body

External provider catalog with live aggregates

application/json
  1. response
items*array<>
curl -X GET "https://example.com/v2/admin-external-providers"
{  "items": [    {      "slug": "string",      "name": "string",      "description": "string",      "status": "active",      "capabilities": {        "create": true,        "cancel": true,        "pause": true,        "resume": true,        "syncStatus": true,        "syncCost": true,        "manageTeams": true,        "nativeMultiSubmission": true,        "reviewSubmissions": true,        "liveBalance": true      },      "panelSpecFields": [        "string"      ],      "panelSpecFieldOptions": {        "property1": [          {            "value": "string",            "labelEn": "string",            "labelDe": "string"          }        ],        "property2": [          {            "value": "string",            "labelEn": "string",            "labelDe": "string"          }        ]      },      "balanceCents": 0,      "currency": "string",      "activeExternalJobCount": 0,      "liveBalanceCents": 0,      "liveAvailableBalanceCents": 0,      "liveBalanceCurrency": "string",      "liveBalanceSyncedAt": "2019-08-24T14:15:22Z"    }  ]}
GET
/v2/admin-external-providers/:slug

Authorization

openIdConnect
OpenID Connect<token>

Path Parameters

slug*string

Response Body

External provider detail

application/json
  1. response
slug*string
name*string
description*string
status*string
Value in"active""maintenance""deprecated"
capabilities*
panelSpecFields*array<string>
panelSpecFieldOptions?
balanceCents*number
currency*string
activeExternalJobCount*number
liveBalanceCents*number|null
liveAvailableBalanceCents*number|null
liveBalanceCurrency*string|null
liveBalanceSyncedAt*|
Formatdate-time
curl -X GET "https://example.com/v2/admin-external-providers/:slug"
{  "slug": "string",  "name": "string",  "description": "string",  "status": "active",  "capabilities": {    "create": true,    "cancel": true,    "pause": true,    "resume": true,    "syncStatus": true,    "syncCost": true,    "manageTeams": true,    "nativeMultiSubmission": true,    "reviewSubmissions": true,    "liveBalance": true  },  "panelSpecFields": [    "string"  ],  "panelSpecFieldOptions": {    "property1": [      {        "value": "string",        "labelEn": "string",        "labelDe": "string"      }    ],    "property2": [      {        "value": "string",        "labelEn": "string",        "labelDe": "string"      }    ]  },  "balanceCents": 0,  "currency": "string",  "activeExternalJobCount": 0,  "liveBalanceCents": 0,  "liveAvailableBalanceCents": 0,  "liveBalanceCurrency": "string",  "liveBalanceSyncedAt": "2019-08-24T14:15:22Z"}
GET
/v2/admin-external-providers/:slug/eligible-crowd-jobs

Authorization

openIdConnect
OpenID Connect<token>

Path Parameters

slug*string

Query Parameters

organizationId*string
Length24 <= length <= 24

Response Body

Eligible crowd jobs for this organization

application/json
  1. response
items*array<>
curl -X GET "https://example.com/v2/admin-external-providers/:slug/eligible-crowd-jobs?organizationId=stringstringstringstring"
{  "items": [    {      "id": "string",      "title": "string",      "description": "string",      "category": "string",      "rewardCredits": 0,      "projectId": "string",      "projectName": "string"    }  ]}
GET
/v2/admin-external-providers/:slug/external-jobs

Authorization

openIdConnect
OpenID Connect<token>

Path Parameters

slug*string

Query Parameters

crowdJobId?string
Length24 <= length <= 24
status?string
Value in"draft""pending_creation""active""completing""completed""canceled""error"

Response Body

External jobs for this provider

application/json
  1. response
items*array<>
curl -X GET "https://example.com/v2/admin-external-providers/:slug/external-jobs"
{  "items": [    {      "id": "string",      "createdAt": "2019-08-24T14:15:22Z",      "updatedAt": "2019-08-24T14:15:22Z",      "providerSlug": "string",      "crowdJobId": "string",      "kind": "entry",      "parentExternalJobId": "string",      "targetGuestWorkerId": "string",      "targetExternalWorkerId": "string",      "status": "draft",      "externalStatusRaw": "string",      "externalReferenceId": "string",      "title": "string",      "description": "string",      "language": "en",      "panelSpecification": "string",      "correlationToken": "string",      "derivedVerificationCode": "string",      "publicJobUrl": "string",      "plannedStartAt": "2019-08-24T14:15:22Z",      "plannedEndAt": "2019-08-24T14:15:22Z",      "startedAt": "2019-08-24T14:15:22Z",      "completedAt": "2019-08-24T14:15:22Z",      "canceledAt": "2019-08-24T14:15:22Z",      "costCurrency": "str",      "estimatedCostCents": -9007199254740991,      "actualCostCents": -9007199254740991,      "lastSyncedAt": "2019-08-24T14:15:22Z",      "lastErrorMessage": "string",      "metadata": "string",      "createdByUserId": "string",      "sourceCrowdAnswerId": "string"    }  ]}
POST
/v2/admin-external-providers/:slug/external-jobs

Authorization

openIdConnect
OpenID Connect<token>

Path Parameters

slug*string

Request Body

New entry external job

application/json
  1. body
crowdJobId*string
Length24 <= length <= 24
title*string
Length1 <= length <= 500
description*string
Length1 <= length
language?string
Value in"en""de""fr""es""it""pt""nl""pl""sv""no""da""fi""ru""tr""ar""zh""ja"
panelSpecification*
plannedStartAt?|
Formatdate-time
plannedEndAt?|
Formatdate-time

Response Body

Created external job (queued for creation on the provider)

application/json
  1. response
id*string
Lengthlength <= 24
createdAt*|
Formatdate-time
updatedAt*|
Formatdate-time
providerSlug*string
crowdJobId*string
Lengthlength <= 24
kind*string
Value in"entry""individual_followup"
parentExternalJobId*|
Lengthlength <= 24
targetGuestWorkerId*|
Lengthlength <= 24
targetExternalWorkerId*string|null
status*string
Value in"draft""pending_creation""active""completing""completed""canceled""error"
externalStatusRaw*string|null
externalReferenceId*string|null
title*string
description*string
language*string
Value in"en""de""fr""es""it""pt""nl""pl""sv""no""da""fi""ru""tr""ar""zh""ja"
panelSpecification*string|number|boolean|null||array<unknown>
correlationToken*string
derivedVerificationCode*string|null
publicJobUrl*string|null
plannedStartAt*|
Formatdate-time
plannedEndAt*|
Formatdate-time
startedAt*|
Formatdate-time
completedAt*|
Formatdate-time
canceledAt*|
Formatdate-time
costCurrency*string
Lengthlength <= 3
estimatedCostCents*integer
Range-9007199254740991 <= value <= 9007199254740991
actualCostCents*|
Range-9007199254740991 <= value <= 9007199254740991
lastSyncedAt*|
Formatdate-time
lastErrorMessage*string|null
metadata*string|number|boolean|null||array<unknown>
createdByUserId*|
Lengthlength <= 24
sourceCrowdAnswerId*|
Lengthlength <= 24
curl -X POST "https://example.com/v2/admin-external-providers/:slug/external-jobs" \  -H "Content-Type: application/json" \  -d '{    "crowdJobId": "stringstringstringstring",    "title": "string",    "description": "string",    "panelSpecification": {      "participants": 1    }  }'
{  "id": "string",  "createdAt": "2019-08-24T14:15:22Z",  "updatedAt": "2019-08-24T14:15:22Z",  "providerSlug": "string",  "crowdJobId": "string",  "kind": "entry",  "parentExternalJobId": "string",  "targetGuestWorkerId": "string",  "targetExternalWorkerId": "string",  "status": "draft",  "externalStatusRaw": "string",  "externalReferenceId": "string",  "title": "string",  "description": "string",  "language": "en",  "panelSpecification": "string",  "correlationToken": "string",  "derivedVerificationCode": "string",  "publicJobUrl": "string",  "plannedStartAt": "2019-08-24T14:15:22Z",  "plannedEndAt": "2019-08-24T14:15:22Z",  "startedAt": "2019-08-24T14:15:22Z",  "completedAt": "2019-08-24T14:15:22Z",  "canceledAt": "2019-08-24T14:15:22Z",  "costCurrency": "str",  "estimatedCostCents": -9007199254740991,  "actualCostCents": -9007199254740991,  "lastSyncedAt": "2019-08-24T14:15:22Z",  "lastErrorMessage": "string",  "metadata": "string",  "createdByUserId": "string",  "sourceCrowdAnswerId": "string"}
GET
/v2/admin-external-providers/:slug/external-jobs/:externalJobId

Authorization

openIdConnect
OpenID Connect<token>

Path Parameters

slug*string
externalJobId*string
Length24 <= length <= 24

Response Body

External job detail

application/json
  1. response
id*string
Lengthlength <= 24
createdAt*|
Formatdate-time
updatedAt*|
Formatdate-time
providerSlug*string
crowdJobId*string
Lengthlength <= 24
kind*string
Value in"entry""individual_followup"
parentExternalJobId*|
Lengthlength <= 24
targetGuestWorkerId*|
Lengthlength <= 24
targetExternalWorkerId*string|null
status*string
Value in"draft""pending_creation""active""completing""completed""canceled""error"
externalStatusRaw*string|null
externalReferenceId*string|null
title*string
description*string
language*string
Value in"en""de""fr""es""it""pt""nl""pl""sv""no""da""fi""ru""tr""ar""zh""ja"
panelSpecification*string|number|boolean|null||array<unknown>
correlationToken*string
derivedVerificationCode*string|null
publicJobUrl*string|null
plannedStartAt*|
Formatdate-time
plannedEndAt*|
Formatdate-time
startedAt*|
Formatdate-time
completedAt*|
Formatdate-time
canceledAt*|
Formatdate-time
costCurrency*string
Lengthlength <= 3
estimatedCostCents*integer
Range-9007199254740991 <= value <= 9007199254740991
actualCostCents*|
Range-9007199254740991 <= value <= 9007199254740991
lastSyncedAt*|
Formatdate-time
lastErrorMessage*string|null
metadata*string|number|boolean|null||array<unknown>
createdByUserId*|
Lengthlength <= 24
sourceCrowdAnswerId*|
Lengthlength <= 24
curl -X GET "https://example.com/v2/admin-external-providers/:slug/external-jobs/:externalJobId"
{  "id": "string",  "createdAt": "2019-08-24T14:15:22Z",  "updatedAt": "2019-08-24T14:15:22Z",  "providerSlug": "string",  "crowdJobId": "string",  "kind": "entry",  "parentExternalJobId": "string",  "targetGuestWorkerId": "string",  "targetExternalWorkerId": "string",  "status": "draft",  "externalStatusRaw": "string",  "externalReferenceId": "string",  "title": "string",  "description": "string",  "language": "en",  "panelSpecification": "string",  "correlationToken": "string",  "derivedVerificationCode": "string",  "publicJobUrl": "string",  "plannedStartAt": "2019-08-24T14:15:22Z",  "plannedEndAt": "2019-08-24T14:15:22Z",  "startedAt": "2019-08-24T14:15:22Z",  "completedAt": "2019-08-24T14:15:22Z",  "canceledAt": "2019-08-24T14:15:22Z",  "costCurrency": "str",  "estimatedCostCents": -9007199254740991,  "actualCostCents": -9007199254740991,  "lastSyncedAt": "2019-08-24T14:15:22Z",  "lastErrorMessage": "string",  "metadata": "string",  "createdByUserId": "string",  "sourceCrowdAnswerId": "string"}
POST
/v2/admin-external-providers/:slug/external-jobs/:externalJobId/cancel

Authorization

openIdConnect
OpenID Connect<token>

Path Parameters

slug*string
externalJobId*string
Length24 <= length <= 24

Response Body

External job queued for cancellation

application/json
  1. response
id*string
Lengthlength <= 24
createdAt*|
Formatdate-time
updatedAt*|
Formatdate-time
providerSlug*string
crowdJobId*string
Lengthlength <= 24
kind*string
Value in"entry""individual_followup"
parentExternalJobId*|
Lengthlength <= 24
targetGuestWorkerId*|
Lengthlength <= 24
targetExternalWorkerId*string|null
status*string
Value in"draft""pending_creation""active""completing""completed""canceled""error"
externalStatusRaw*string|null
externalReferenceId*string|null
title*string
description*string
language*string
Value in"en""de""fr""es""it""pt""nl""pl""sv""no""da""fi""ru""tr""ar""zh""ja"
panelSpecification*string|number|boolean|null||array<unknown>
correlationToken*string
derivedVerificationCode*string|null
publicJobUrl*string|null
plannedStartAt*|
Formatdate-time
plannedEndAt*|
Formatdate-time
startedAt*|
Formatdate-time
completedAt*|
Formatdate-time
canceledAt*|
Formatdate-time
costCurrency*string
Lengthlength <= 3
estimatedCostCents*integer
Range-9007199254740991 <= value <= 9007199254740991
actualCostCents*|
Range-9007199254740991 <= value <= 9007199254740991
lastSyncedAt*|
Formatdate-time
lastErrorMessage*string|null
metadata*string|number|boolean|null||array<unknown>
createdByUserId*|
Lengthlength <= 24
sourceCrowdAnswerId*|
Lengthlength <= 24
curl -X POST "https://example.com/v2/admin-external-providers/:slug/external-jobs/:externalJobId/cancel"
{  "id": "string",  "createdAt": "2019-08-24T14:15:22Z",  "updatedAt": "2019-08-24T14:15:22Z",  "providerSlug": "string",  "crowdJobId": "string",  "kind": "entry",  "parentExternalJobId": "string",  "targetGuestWorkerId": "string",  "targetExternalWorkerId": "string",  "status": "draft",  "externalStatusRaw": "string",  "externalReferenceId": "string",  "title": "string",  "description": "string",  "language": "en",  "panelSpecification": "string",  "correlationToken": "string",  "derivedVerificationCode": "string",  "publicJobUrl": "string",  "plannedStartAt": "2019-08-24T14:15:22Z",  "plannedEndAt": "2019-08-24T14:15:22Z",  "startedAt": "2019-08-24T14:15:22Z",  "completedAt": "2019-08-24T14:15:22Z",  "canceledAt": "2019-08-24T14:15:22Z",  "costCurrency": "str",  "estimatedCostCents": -9007199254740991,  "actualCostCents": -9007199254740991,  "lastSyncedAt": "2019-08-24T14:15:22Z",  "lastErrorMessage": "string",  "metadata": "string",  "createdByUserId": "string",  "sourceCrowdAnswerId": "string"}
POST
/v2/admin-external-providers/:slug/external-jobs/:externalJobId/sync

Authorization

openIdConnect
OpenID Connect<token>

Path Parameters

slug*string
externalJobId*string
Length24 <= length <= 24

Response Body

External job after a manual status sync

application/json
  1. response
id*string
Lengthlength <= 24
createdAt*|
Formatdate-time
updatedAt*|
Formatdate-time
providerSlug*string
crowdJobId*string
Lengthlength <= 24
kind*string
Value in"entry""individual_followup"
parentExternalJobId*|
Lengthlength <= 24
targetGuestWorkerId*|
Lengthlength <= 24
targetExternalWorkerId*string|null
status*string
Value in"draft""pending_creation""active""completing""completed""canceled""error"
externalStatusRaw*string|null
externalReferenceId*string|null
title*string
description*string
language*string
Value in"en""de""fr""es""it""pt""nl""pl""sv""no""da""fi""ru""tr""ar""zh""ja"
panelSpecification*string|number|boolean|null||array<unknown>
correlationToken*string
derivedVerificationCode*string|null
publicJobUrl*string|null
plannedStartAt*|
Formatdate-time
plannedEndAt*|
Formatdate-time
startedAt*|
Formatdate-time
completedAt*|
Formatdate-time
canceledAt*|
Formatdate-time
costCurrency*string
Lengthlength <= 3
estimatedCostCents*integer
Range-9007199254740991 <= value <= 9007199254740991
actualCostCents*|
Range-9007199254740991 <= value <= 9007199254740991
lastSyncedAt*|
Formatdate-time
lastErrorMessage*string|null
metadata*string|number|boolean|null||array<unknown>
createdByUserId*|
Lengthlength <= 24
sourceCrowdAnswerId*|
Lengthlength <= 24
curl -X POST "https://example.com/v2/admin-external-providers/:slug/external-jobs/:externalJobId/sync"
{  "id": "string",  "createdAt": "2019-08-24T14:15:22Z",  "updatedAt": "2019-08-24T14:15:22Z",  "providerSlug": "string",  "crowdJobId": "string",  "kind": "entry",  "parentExternalJobId": "string",  "targetGuestWorkerId": "string",  "targetExternalWorkerId": "string",  "status": "draft",  "externalStatusRaw": "string",  "externalReferenceId": "string",  "title": "string",  "description": "string",  "language": "en",  "panelSpecification": "string",  "correlationToken": "string",  "derivedVerificationCode": "string",  "publicJobUrl": "string",  "plannedStartAt": "2019-08-24T14:15:22Z",  "plannedEndAt": "2019-08-24T14:15:22Z",  "startedAt": "2019-08-24T14:15:22Z",  "completedAt": "2019-08-24T14:15:22Z",  "canceledAt": "2019-08-24T14:15:22Z",  "costCurrency": "str",  "estimatedCostCents": -9007199254740991,  "actualCostCents": -9007199254740991,  "lastSyncedAt": "2019-08-24T14:15:22Z",  "lastErrorMessage": "string",  "metadata": "string",  "createdByUserId": "string",  "sourceCrowdAnswerId": "string"}
GET
/v2/admin-external-providers/:slug/external-jobs/:externalJobId/events

Authorization

openIdConnect
OpenID Connect<token>

Path Parameters

slug*string
externalJobId*string
Length24 <= length <= 24

Response Body

External job audit/event log

application/json
  1. response
items*array<>
curl -X GET "https://example.com/v2/admin-external-providers/:slug/external-jobs/:externalJobId/events"
{  "items": [    {      "id": "string",      "createdAt": "2019-08-24T14:15:22Z",      "updatedAt": "2019-08-24T14:15:22Z",      "externalJobId": "string",      "type": "created",      "payload": "string",      "actorUserId": "string"    }  ]}
GET
/v2/admin-external-providers/:slug/external-jobs/:externalJobId/workers

Authorization

openIdConnect
OpenID Connect<token>

Path Parameters

slug*string
externalJobId*string
Length24 <= length <= 24

Response Body

External workers who submitted through this external job

application/json
  1. response
items*array<>
curl -X GET "https://example.com/v2/admin-external-providers/:slug/external-jobs/:externalJobId/workers"
{  "items": [    {      "id": "string",      "createdAt": "2019-08-24T14:15:22Z",      "updatedAt": "2019-08-24T14:15:22Z",      "providerSlug": "string",      "externalWorkerId": "string",      "externalDisplayName": "string",      "guestWorkerId": "string",      "personalWhitelistTeamId": "string",      "status": "active",      "firstSeenAt": "2019-08-24T14:15:22Z",      "lastSeenAt": "2019-08-24T14:15:22Z",      "metadata": "string"    }  ]}
GET
/v2/admin-external-providers/:slug/ledger

Authorization

openIdConnect
OpenID Connect<token>

Path Parameters

slug*string

Response Body

Provider balance and ledger entries

application/json
  1. response
balanceCents*number
currency*string
items*array<>
curl -X GET "https://example.com/v2/admin-external-providers/:slug/ledger"
{  "balanceCents": 0,  "currency": "string",  "items": [    {      "id": "string",      "createdAt": "2019-08-24T14:15:22Z",      "updatedAt": "2019-08-24T14:15:22Z",      "providerSlug": "string",      "externalJobId": "string",      "type": "starting_balance",      "amountCents": -9007199254740991,      "balanceAfterCents": -9007199254740991,      "currency": "str",      "breakdown": "string",      "note": "string",      "createdByUserId": "string"    }  ]}
POST
/v2/admin-external-providers/:slug/ledger/starting-balance

Authorization

openIdConnect
OpenID Connect<token>

Path Parameters

slug*string

Request Body

Starting balance entry

application/json
  1. body
amountCents*integer
currency?string
Length3 <= length <= 3
Default"EUR"
note*string
Length1 <= length

Response Body

Recorded starting balance

application/json
  1. response
id*string
Lengthlength <= 24
createdAt*|
Formatdate-time
updatedAt*|
Formatdate-time
providerSlug*string
externalJobId*|
Lengthlength <= 24
type*string
Value in"starting_balance""balance_correction""external_job_charge""external_job_refund"
amountCents*integer
Range-9007199254740991 <= value <= 9007199254740991
balanceAfterCents*integer
Range-9007199254740991 <= value <= 9007199254740991
currency*string
Lengthlength <= 3
breakdown*string|number|boolean|null||array<unknown>
note*string|null
createdByUserId*|
Lengthlength <= 24
curl -X POST "https://example.com/v2/admin-external-providers/:slug/ledger/starting-balance" \  -H "Content-Type: application/json" \  -d '{    "amountCents": 0,    "note": "string"  }'
{  "id": "string",  "createdAt": "2019-08-24T14:15:22Z",  "updatedAt": "2019-08-24T14:15:22Z",  "providerSlug": "string",  "externalJobId": "string",  "type": "starting_balance",  "amountCents": -9007199254740991,  "balanceAfterCents": -9007199254740991,  "currency": "str",  "breakdown": "string",  "note": "string",  "createdByUserId": "string"}
POST
/v2/admin-external-providers/:slug/ledger/correction

Authorization

openIdConnect
OpenID Connect<token>

Path Parameters

slug*string

Request Body

Balance correction entry

application/json
  1. body
amountCents*integer
currency?string
Length3 <= length <= 3
Default"EUR"
note*string
Length1 <= length

Response Body

Recorded correction

application/json
  1. response
id*string
Lengthlength <= 24
createdAt*|
Formatdate-time
updatedAt*|
Formatdate-time
providerSlug*string
externalJobId*|
Lengthlength <= 24
type*string
Value in"starting_balance""balance_correction""external_job_charge""external_job_refund"
amountCents*integer
Range-9007199254740991 <= value <= 9007199254740991
balanceAfterCents*integer
Range-9007199254740991 <= value <= 9007199254740991
currency*string
Lengthlength <= 3
breakdown*string|number|boolean|null||array<unknown>
note*string|null
createdByUserId*|
Lengthlength <= 24
curl -X POST "https://example.com/v2/admin-external-providers/:slug/ledger/correction" \  -H "Content-Type: application/json" \  -d '{    "amountCents": 0,    "note": "string"  }'
{  "id": "string",  "createdAt": "2019-08-24T14:15:22Z",  "updatedAt": "2019-08-24T14:15:22Z",  "providerSlug": "string",  "externalJobId": "string",  "type": "starting_balance",  "amountCents": -9007199254740991,  "balanceAfterCents": -9007199254740991,  "currency": "str",  "breakdown": "string",  "note": "string",  "createdByUserId": "string"}
GET
/v2/users

Authorization

openIdConnect
OpenID Connect<token>

Response Body

The list of users

application/json
  1. response
[index: integer]?
curl -X GET "https://example.com/v2/users"
[  {    "id": "string",    "createdAt": "2019-08-24T14:15:22Z",    "updatedAt": "2019-08-24T14:15:22Z",    "sub": "string",    "name": "string",    "email": "string",    "avatar": "string",    "avatarPlaceholder": "string",    "organizationId": "string",    "role": "viewer",    "isSuperadmin": true,    "createdVia": "signup",    "locale": "string",    "timezone": "string"  }]
POST
/v2/users

Authorization

openIdConnect
OpenID Connect<token>

Request Body

The user to create

application/json
  1. body
sub*string
Length10 <= length <= 100
name*string
Length3 <= length <= 50
email*string
Formatemail
avatar?string|null
avatarPlaceholder?string|null
organizationId?|
Lengthlength <= 24
isSuperadmin?boolean
createdVia?|
Value in"signup""invitation""worker_signup""oidc_auto_provision"null
locale?string|null
timezone?string|null

Response Body

The created user

application/json
  1. response
id*string
Lengthlength <= 24
createdAt*|
Formatdate-time
updatedAt*|
Formatdate-time
sub*string
name*string
email*string
avatar*string|null
avatarPlaceholder*string|null
organizationId*|
Lengthlength <= 24
role*|
Value in"viewer""user""admin""superadmin"null
isSuperadmin*boolean
createdVia*|
Value in"signup""invitation""worker_signup""oidc_auto_provision"null
locale*string|null
timezone*string|null
curl -X POST "https://example.com/v2/users" \  -H "Content-Type: application/json" \  -d '{    "sub": "stringstri",    "name": "string",    "email": "user@example.com"  }'
{  "id": "string",  "createdAt": "2019-08-24T14:15:22Z",  "updatedAt": "2019-08-24T14:15:22Z",  "sub": "string",  "name": "string",  "email": "string",  "avatar": "string",  "avatarPlaceholder": "string",  "organizationId": "string",  "role": "viewer",  "isSuperadmin": true,  "createdVia": "signup",  "locale": "string",  "timezone": "string"}
GET
/v2/users/me

Authorization

openIdConnect
OpenID Connect<token>

Response Body

User profile

application/json
  1. response
id*string
Lengthlength <= 24
createdAt*|
Formatdate-time
updatedAt*|
Formatdate-time
sub*string
name*string
email*string
avatar*string|null
avatarPlaceholder*string|null
organizationId*|
Lengthlength <= 24
role*|
Value in"viewer""user""admin""superadmin"null
isSuperadmin*boolean
createdVia*|
Value in"signup""invitation""worker_signup""oidc_auto_provision"null
locale*string|null
timezone*string|null
curl -X GET "https://example.com/v2/users/me"
{  "id": "string",  "createdAt": "2019-08-24T14:15:22Z",  "updatedAt": "2019-08-24T14:15:22Z",  "sub": "string",  "name": "string",  "email": "string",  "avatar": "string",  "avatarPlaceholder": "string",  "organizationId": "string",  "role": "viewer",  "isSuperadmin": true,  "createdVia": "signup",  "locale": "string",  "timezone": "string"}
PATCH
/v2/users/me

Authorization

openIdConnect
OpenID Connect<token>

Request Body

Profile update

application/json
  1. body
name?string
Length1 <= length <= 100
timezone?string
Length1 <= length <= 100

Response Body

Updated user profile

application/json
  1. response
id*string
Lengthlength <= 24
createdAt*|
Formatdate-time
updatedAt*|
Formatdate-time
sub*string
name*string
email*string
avatar*string|null
avatarPlaceholder*string|null
organizationId*|
Lengthlength <= 24
role*|
Value in"viewer""user""admin""superadmin"null
isSuperadmin*boolean
createdVia*|
Value in"signup""invitation""worker_signup""oidc_auto_provision"null
locale*string|null
timezone*string|null
curl -X PATCH "https://example.com/v2/users/me" \  -H "Content-Type: application/json" \  -d '{}'
{  "id": "string",  "createdAt": "2019-08-24T14:15:22Z",  "updatedAt": "2019-08-24T14:15:22Z",  "sub": "string",  "name": "string",  "email": "string",  "avatar": "string",  "avatarPlaceholder": "string",  "organizationId": "string",  "role": "viewer",  "isSuperadmin": true,  "createdVia": "signup",  "locale": "string",  "timezone": "string"}
GET
/v2/users/me/registration-status

Authorization

openIdConnect
OpenID Connect<token>

Response Body

The authenticated user's email confirmation status

application/json
  1. response
status*string
Value in"pending""accepted""expired""none"
curl -X GET "https://example.com/v2/users/me/registration-status"
{  "status": "pending"}
POST
/v2/users/me/resend-confirmation

Authorization

openIdConnect
OpenID Connect<token>

Response Body

Confirmation email re-sent

application/json
  1. response
message*string
curl -X POST "https://example.com/v2/users/me/resend-confirmation"
{  "message": "string"}
PATCH
/v2/users/me/avatar

Authorization

openIdConnect
OpenID Connect<token>

Request Body

multipart/form-data
  1. body
avatar*file
Formatbinary

Response Body

Updated user with avatar

application/json
  1. response
id*string
Lengthlength <= 24
createdAt*|
Formatdate-time
updatedAt*|
Formatdate-time
sub*string
name*string
email*string
avatar*string|null
avatarPlaceholder*string|null
organizationId*|
Lengthlength <= 24
role*|
Value in"viewer""user""admin""superadmin"null
isSuperadmin*boolean
createdVia*|
Value in"signup""invitation""worker_signup""oidc_auto_provision"null
locale*string|null
timezone*string|null
curl -X PATCH "https://example.com/v2/users/me/avatar" \  -F avatar="string"
{  "id": "string",  "createdAt": "2019-08-24T14:15:22Z",  "updatedAt": "2019-08-24T14:15:22Z",  "sub": "string",  "name": "string",  "email": "string",  "avatar": "string",  "avatarPlaceholder": "string",  "organizationId": "string",  "role": "viewer",  "isSuperadmin": true,  "createdVia": "signup",  "locale": "string",  "timezone": "string"}
GET
/v2/users/:userId

Authorization

openIdConnect
OpenID Connect<token>

Path Parameters

userId*string
Formatcuid2

Response Body

User profile

application/json
  1. response
id*string
Lengthlength <= 24
createdAt*|
Formatdate-time
updatedAt*|
Formatdate-time
sub*string
name*string
email*string
avatar*string|null
avatarPlaceholder*string|null
organizationId*|
Lengthlength <= 24
role*|
Value in"viewer""user""admin""superadmin"null
isSuperadmin*boolean
createdVia*|
Value in"signup""invitation""worker_signup""oidc_auto_provision"null
locale*string|null
timezone*string|null
curl -X GET "https://example.com/v2/users/:userId"
{  "id": "string",  "createdAt": "2019-08-24T14:15:22Z",  "updatedAt": "2019-08-24T14:15:22Z",  "sub": "string",  "name": "string",  "email": "string",  "avatar": "string",  "avatarPlaceholder": "string",  "organizationId": "string",  "role": "viewer",  "isSuperadmin": true,  "createdVia": "signup",  "locale": "string",  "timezone": "string"}
DELETE
/v2/users/:userId

Authorization

openIdConnect
OpenID Connect<token>

Path Parameters

userId*string
Formatcuid2

Response Body

User profile

application/json
  1. response
id*string
Lengthlength <= 24
createdAt*|
Formatdate-time
updatedAt*|
Formatdate-time
sub*string
name*string
email*string
avatar*string|null
avatarPlaceholder*string|null
organizationId*|
Lengthlength <= 24
role*|
Value in"viewer""user""admin""superadmin"null
isSuperadmin*boolean
createdVia*|
Value in"signup""invitation""worker_signup""oidc_auto_provision"null
locale*string|null
timezone*string|null
curl -X DELETE "https://example.com/v2/users/:userId"
{  "id": "string",  "createdAt": "2019-08-24T14:15:22Z",  "updatedAt": "2019-08-24T14:15:22Z",  "sub": "string",  "name": "string",  "email": "string",  "avatar": "string",  "avatarPlaceholder": "string",  "organizationId": "string",  "role": "viewer",  "isSuperadmin": true,  "createdVia": "signup",  "locale": "string",  "timezone": "string"}
POST
/v2/users/signup

Authorization

openIdConnect
OpenID Connect<token>

Request Body

The user to create

application/json
  1. body
name*string
Length3 <= length <= 50
email*string
Formatemail
avatar?string|null
avatarPlaceholder?string|null
isSuperadmin?boolean
createdVia?|
Value in"signup""invitation""worker_signup""oidc_auto_provision"null
locale?string|null
timezone?string|null
password*string
Length8 <= length
invitationId?string
Length24 <= length <= 24

Response Body

Success

application/json
  1. response
id*string
Lengthlength <= 24
createdAt*|
Formatdate-time
updatedAt*|
Formatdate-time
sub*string
name*string
email*string
avatar*string|null
avatarPlaceholder*string|null
organizationId*|
Lengthlength <= 24
role*|
Value in"viewer""user""admin""superadmin"null
isSuperadmin*boolean
createdVia*|
Value in"signup""invitation""worker_signup""oidc_auto_provision"null
locale*string|null
timezone*string|null
curl -X POST "https://example.com/v2/users/signup" \  -H "Content-Type: application/json" \  -d '{    "name": "string",    "email": "user@example.com",    "password": "stringst"  }'
{  "id": "string",  "createdAt": "2019-08-24T14:15:22Z",  "updatedAt": "2019-08-24T14:15:22Z",  "sub": "string",  "name": "string",  "email": "string",  "avatar": "string",  "avatarPlaceholder": "string",  "organizationId": "string",  "role": "viewer",  "isSuperadmin": true,  "createdVia": "signup",  "locale": "string",  "timezone": "string"}
GET
/v2/users/verify/:registrationId

Authorization

openIdConnect
OpenID Connect<token>

Path Parameters

registrationId*string
Formatcuid2

Response Body

Updated registration

application/json
  1. response
id*string
Lengthlength <= 24
createdAt*|
Formatdate-time
updatedAt*|
Formatdate-time
authentikUserId*integer
Range-2147483648 <= value <= 2147483647
userId*|
Lengthlength <= 24
status*string
Value in"pending""accepted""expired"
expirationDate*string
Formatdate-time
curl -X GET "https://example.com/v2/users/verify/:registrationId"
{  "id": "string",  "createdAt": "2019-08-24T14:15:22Z",  "updatedAt": "2019-08-24T14:15:22Z",  "authentikUserId": -2147483648,  "userId": "string",  "status": "pending",  "expirationDate": "2019-08-24T14:15:22Z"}
POST
/v2/users/request-password-reset

Authorization

openIdConnect
OpenID Connect<token>

Request Body

Email address to send a password reset link to

application/json
  1. body
email*string
Formatemail

Response Body

A reset link was sent if an account with this email exists

application/json
  1. response
message*string
curl -X POST "https://example.com/v2/users/request-password-reset" \  -H "Content-Type: application/json" \  -d '{    "email": "user@example.com"  }'
{  "message": "string"}
POST
/v2/users/reset-password

Authorization

openIdConnect
OpenID Connect<token>

Request Body

Reset token (from the emailed link) and the new password

application/json
  1. body
token*string
Length24 <= length <= 24
password*string
Length8 <= length

Response Body

Password updated

application/json
  1. response
message*string
curl -X POST "https://example.com/v2/users/reset-password" \  -H "Content-Type: application/json" \  -d '{    "token": "stringstringstringstring",    "password": "stringst"  }'
{  "message": "string"}
PUT
/v2/users/:userId/role

Authorization

openIdConnect
OpenID Connect<token>

Path Parameters

userId*string
Formatcuid2

Request Body

New role for the user within their organization (viewer, user or admin). Superadmin is a global flag, not settable here.

application/json
  1. body
role*string
Value in"viewer""user""admin"

Response Body

Updated user

application/json
  1. response
id*string
Lengthlength <= 24
createdAt*|
Formatdate-time
updatedAt*|
Formatdate-time
sub*string
name*string
email*string
avatar*string|null
avatarPlaceholder*string|null
organizationId*|
Lengthlength <= 24
role*|
Value in"viewer""user""admin""superadmin"null
isSuperadmin*boolean
createdVia*|
Value in"signup""invitation""worker_signup""oidc_auto_provision"null
locale*string|null
timezone*string|null
curl -X PUT "https://example.com/v2/users/:userId/role" \  -H "Content-Type: application/json" \  -d '{    "role": "viewer"  }'
{  "id": "string",  "createdAt": "2019-08-24T14:15:22Z",  "updatedAt": "2019-08-24T14:15:22Z",  "sub": "string",  "name": "string",  "email": "string",  "avatar": "string",  "avatarPlaceholder": "string",  "organizationId": "string",  "role": "viewer",  "isSuperadmin": true,  "createdVia": "signup",  "locale": "string",  "timezone": "string"}
GET
/v2/users/me/organizations

Authorization

openIdConnect
OpenID Connect<token>

Response Body

List of user's organization memberships with org details

application/json
  1. response
[index: integer]?
curl -X GET "https://example.com/v2/users/me/organizations"
[  {    "id": "string",    "createdAt": "2019-08-24T14:15:22Z",    "updatedAt": "2019-08-24T14:15:22Z",    "userId": "string",    "organizationId": "string",    "role": "viewer",    "isDefault": true,    "organization": {      "id": "string",      "createdAt": "2019-08-24T14:15:22Z",      "updatedAt": "2019-08-24T14:15:22Z",      "name": "string",      "description": "string",      "balance_cents": -2147483648,      "blocked_balance_cents": -2147483648,      "modules": [        "crowdsourcing"      ],      "logo": "string",      "logoPlaceholder": "string"    }  }]
PUT
/v2/users/me/organizations/:organizationId/default

Authorization

openIdConnect
OpenID Connect<token>

Path Parameters

organizationId*string
Formatcuid2

Response Body

Default organization updated

application/json
  1. response
id*|
Lengthlength <= 24
createdAt*|
Formatdate-time
updatedAt*|
Formatdate-time
userId*string
Lengthlength <= 24
organizationId*string
Lengthlength <= 24
role*string
Value in"viewer""user""admin""superadmin"
isDefault*boolean
curl -X PUT "https://example.com/v2/users/me/organizations/:organizationId/default"
{  "id": "string",  "createdAt": "2019-08-24T14:15:22Z",  "updatedAt": "2019-08-24T14:15:22Z",  "userId": "string",  "organizationId": "string",  "role": "viewer",  "isDefault": true}
GET
/v2/users/me/api-keys

Authorization

openIdConnect
OpenID Connect<token>

Response Body

List of API keys for the authenticated user

application/json
  1. response
[index: integer]?
curl -X GET "https://example.com/v2/users/me/api-keys"
[  {    "id": "string",    "createdAt": "2019-08-24T14:15:22Z",    "updatedAt": "2019-08-24T14:15:22Z",    "userId": "string",    "name": "string",    "role": "viewer",    "expirationDate": "2019-08-24T14:15:22Z",    "state": "active",    "organizationIds": [      "stringstringstringstring"    ]  }]
POST
/v2/users/me/api-keys

Authorization

openIdConnect
OpenID Connect<token>

Request Body

Create an API key for the authenticated user

application/json
  1. body
name*string
Length1 <= length <= 100
role?|
Value in"viewer""user""admin""superadmin"null
expirationDate?|
Formatdate-time
organizationIds?array<>

Response Body

Created API key and one-time plaintext key

application/json
  1. response
apiKey*
key*string
curl -X POST "https://example.com/v2/users/me/api-keys" \  -H "Content-Type: application/json" \  -d '{    "name": "string"  }'
{  "apiKey": {    "id": "string",    "createdAt": "2019-08-24T14:15:22Z",    "updatedAt": "2019-08-24T14:15:22Z",    "userId": "string",    "name": "string",    "role": "viewer",    "expirationDate": "2019-08-24T14:15:22Z",    "state": "active",    "organizationIds": [      "stringstringstringstring"    ]  },  "key": "string"}
PATCH
/v2/users/me/api-keys/:apiKeyId

Authorization

openIdConnect
OpenID Connect<token>

Path Parameters

apiKeyId*string
Formatcuid2

Request Body

Update an existing API key

application/json
  1. body
name?string
role?|
Value in"viewer""user""admin""superadmin"null
expirationDate?|
Formatdate-time
state?string
Value in"active""expired"
organizationIds?array<>

Response Body

Updated API key

application/json
  1. response
id*string
Lengthlength <= 24
createdAt*|
Formatdate-time
updatedAt*|
Formatdate-time
userId*string
Lengthlength <= 24
name*string
role*|
Value in"viewer""user""admin""superadmin"null
expirationDate*|
Formatdate-time
state*string
Value in"active""expired"
organizationIds*array<>
curl -X PATCH "https://example.com/v2/users/me/api-keys/:apiKeyId" \  -H "Content-Type: application/json" \  -d '{}'
{  "id": "string",  "createdAt": "2019-08-24T14:15:22Z",  "updatedAt": "2019-08-24T14:15:22Z",  "userId": "string",  "name": "string",  "role": "viewer",  "expirationDate": "2019-08-24T14:15:22Z",  "state": "active",  "organizationIds": [    "stringstringstringstring"  ]}
DELETE
/v2/users/me/api-keys/:apiKeyId

Authorization

openIdConnect
OpenID Connect<token>

Path Parameters

apiKeyId*string
Formatcuid2

Response Body

Revoked API key

application/json
  1. response
id*string
Lengthlength <= 24
createdAt*|
Formatdate-time
updatedAt*|
Formatdate-time
userId*string
Lengthlength <= 24
name*string
role*|
Value in"viewer""user""admin""superadmin"null
expirationDate*|
Formatdate-time
state*string
Value in"active""expired"
organizationIds*array<>
curl -X DELETE "https://example.com/v2/users/me/api-keys/:apiKeyId"
{  "id": "string",  "createdAt": "2019-08-24T14:15:22Z",  "updatedAt": "2019-08-24T14:15:22Z",  "userId": "string",  "name": "string",  "role": "viewer",  "expirationDate": "2019-08-24T14:15:22Z",  "state": "active",  "organizationIds": [    "stringstringstringstring"  ]}
POST
/v2/users/me/api-keys/:apiKeyId/rotate

Authorization

openIdConnect
OpenID Connect<token>

Path Parameters

apiKeyId*string
Formatcuid2

Response Body

Rotated API key and one-time plaintext key

application/json
  1. response
apiKey*
key*string
curl -X POST "https://example.com/v2/users/me/api-keys/:apiKeyId/rotate"
{  "apiKey": {    "id": "string",    "createdAt": "2019-08-24T14:15:22Z",    "updatedAt": "2019-08-24T14:15:22Z",    "userId": "string",    "name": "string",    "role": "viewer",    "expirationDate": "2019-08-24T14:15:22Z",    "state": "active",    "organizationIds": [      "stringstringstringstring"    ]  },  "key": "string"}
GET
/v2/workflows

Authorization

openIdConnect
OpenID Connect<token>

Response Body

The list of workflows

application/json
  1. response
[index: integer]?
curl -X GET "https://example.com/v2/workflows"
[  {    "id": "string",    "createdAt": "2019-08-24T14:15:22Z",    "updatedAt": "2019-08-24T14:15:22Z",    "pipelineId": "621ef2b0-ba1d-48e5-89dc-b778e6ed42fd",    "pipelineName": "string",    "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",    "status": "in_progress",    "statusMessage": "string",    "n8nExecutionId": -2147483648,    "n8nWorkflowId": "string",    "n8nWorkflowName": "string",    "n8nWorkflowNameLong": "string",    "result": "string",    "aiInterpretation": "string",    "projectId": "string"  }]
GET
/v2/workflows/:workflowId

Authorization

openIdConnect
OpenID Connect<token>

Path Parameters

workflowId*string
Formatcuid2

Response Body

Metadata of the workflow

application/json
  1. response
id*string
Lengthlength <= 24
createdAt*|
Formatdate-time
updatedAt*|
Formatdate-time
pipelineId*string
Formatuuid
pipelineName*string
uuid*string
Formatuuid
status*string
Value in"in_progress""finished""no_result""error"
statusMessage*string|null
n8nExecutionId*integer
Range-2147483648 <= value <= 2147483647
n8nWorkflowId*string
n8nWorkflowName*string
n8nWorkflowNameLong*string
result*string|null
aiInterpretation*string|null
projectId*string
Lengthlength <= 24
curl -X GET "https://example.com/v2/workflows/:workflowId"
{  "id": "string",  "createdAt": "2019-08-24T14:15:22Z",  "updatedAt": "2019-08-24T14:15:22Z",  "pipelineId": "621ef2b0-ba1d-48e5-89dc-b778e6ed42fd",  "pipelineName": "string",  "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",  "status": "in_progress",  "statusMessage": "string",  "n8nExecutionId": -2147483648,  "n8nWorkflowId": "string",  "n8nWorkflowName": "string",  "n8nWorkflowNameLong": "string",  "result": "string",  "aiInterpretation": "string",  "projectId": "string"}
PUT
/v2/workflows/:workflowId

Authorization

openIdConnect
OpenID Connect<token>

Path Parameters

workflowId*string
Formatcuid2

Request Body

The updated workflow data

application/json
  1. body
pipelineId?string
Formatuuid
pipelineName?string
uuid?string
Formatuuid
status?string
Value in"in_progress""finished""no_result""error"
statusMessage?string|null
n8nExecutionId?integer
Range-2147483648 <= value <= 2147483647
n8nWorkflowId?string
n8nWorkflowName?string
n8nWorkflowNameLong?string
result?string|null
aiInterpretation?string|null

Response Body

The updated workflow

application/json
  1. response
id*string
Lengthlength <= 24
createdAt*|
Formatdate-time
updatedAt*|
Formatdate-time
pipelineId*string
Formatuuid
pipelineName*string
uuid*string
Formatuuid
status*string
Value in"in_progress""finished""no_result""error"
statusMessage*string|null
n8nExecutionId*integer
Range-2147483648 <= value <= 2147483647
n8nWorkflowId*string
n8nWorkflowName*string
n8nWorkflowNameLong*string
result*string|null
aiInterpretation*string|null
projectId*string
Lengthlength <= 24
curl -X PUT "https://example.com/v2/workflows/:workflowId" \  -H "Content-Type: application/json" \  -d '{}'
{  "id": "string",  "createdAt": "2019-08-24T14:15:22Z",  "updatedAt": "2019-08-24T14:15:22Z",  "pipelineId": "621ef2b0-ba1d-48e5-89dc-b778e6ed42fd",  "pipelineName": "string",  "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",  "status": "in_progress",  "statusMessage": "string",  "n8nExecutionId": -2147483648,  "n8nWorkflowId": "string",  "n8nWorkflowName": "string",  "n8nWorkflowNameLong": "string",  "result": "string",  "aiInterpretation": "string",  "projectId": "string"}
DELETE
/v2/workflows/:workflowId

Authorization

openIdConnect
OpenID Connect<token>

Path Parameters

workflowId*string
Formatcuid2

Response Body

Metadata of the deleted workflow

application/json
  1. response
id*string
Lengthlength <= 24
createdAt*|
Formatdate-time
updatedAt*|
Formatdate-time
pipelineId*string
Formatuuid
pipelineName*string
uuid*string
Formatuuid
status*string
Value in"in_progress""finished""no_result""error"
statusMessage*string|null
n8nExecutionId*integer
Range-2147483648 <= value <= 2147483647
n8nWorkflowId*string
n8nWorkflowName*string
n8nWorkflowNameLong*string
result*string|null
aiInterpretation*string|null
projectId*string
Lengthlength <= 24
curl -X DELETE "https://example.com/v2/workflows/:workflowId"