Skip to main content
MUTATION
uploadUserDocument(file: File!, name: String!, type: String!, userId: String!): UserDocument!

Arguments

file
File!
required

The document file.

name
String!
required

Name of the document.

type
String!
required

One of 'education' (Education), 'experience' (Experience) or 'licenses' (Licenses).

userId
String!
required

Id of the user the document belongs to.

Returns

id
String!

Id of the document.

name
String!

Name of the document.

type
String!

One of 'education' (Education), 'experience' (Experience) or 'licenses' (Licenses).

uploadedAt
DateTime!

When the document was uploaded.

url
String!

Path that downloads the file.

Mutation
Variables
Response