RMS Guide
  • Rezi RMS Introduction
  • Rezi RMS CONFIGURATIONS
    • RMS Branding
    • Login Customization
      • Custom Token Implementation
    • URL Customization
      • How to connect my custom Domain to Rezi RMS ?
      • How to customize transactional email sender?
    • Section Video Customization
    • Sample Library Customization
      • Adding Cover Letter Samples
      • Adding Resume Samples
      • Adding Sample Category
    • Various Options
      • Mobile banner "Switch to desktop"
    • Pricing & Promotion
      • Pricing option
      • Promotion
      • Upgrade User Plan from API
    • Resume review
    • WebHook
      • How to add a new WebHook ?
      • Event List
        • Resume Section Saved
  • Rezi RMS Admin
    • Account Role Types
  • Rezi RMS Integration
    • Integration
  • REZI API
    • Overview
    • Private token API
    • User
      • User object
      • GET /users
      • GET /user/:userID
      • GET /user/:userID/resumes
      • POST /user/token
    • Resume
      • Resume object
      • GET /resume/:resumeID
      • GET /resume/:resumeID/download
      • GET /resume/:resumeID/score
      • POST /user/:userID/resume
    • Plans
      • POST /user/:userID/upgrade
Powered by GitBook
On this page
  • PDF/DOCX IMPORT
  • Upload a resume file
  • JSON IMPORT
  • Upload a resume file
  1. REZI API
  2. Resume

POST /user/:userID/resume

Upload PDF/DOCX resume file or custom JSON file

PDF/DOCX IMPORT

Upload a resume file

POST https://open-api.rezi.ai/v1/user/:userID/resume

Path Parameters

Name
Type
Description

userID*

String

User ID

Headers

Name
Type
Description

Content-Type*

String

application/pdf

Content-Length*

Integer

File length

Request Body

Name
Type
Description

file*

file

file

{
    // Response
}
{
    "status": "error",
    "errorCode": "resume-upload-01",
    "errorMessage": "token unauthorized"
}
{
    "status": "error",
    "errorCode": "resume-upload-02",
    "errorMessage": "file format not supported"
}
{    
    "status": "success",
    "data": {
        "resumeID": "123456789abc"
    }
}

CURL Example:

curl --location --request POST 'https://open-api.rezi.ai/v1/user/{userID}/resume' \
--header 'Authorization: Bearer {YOUR PRIVATE TOKEN}' \
--form '=@"/path/to/file/resume.pdf"'

NODE JS (REQUEST) Example:

var request = require('request');
var fs = require('fs');
var options = {
  'method': 'POST',
  'url': 'https://open-api.rezi.ai/v1/user/{userID}/resume',
  'headers': {
    'Authorization': 'Bearer {YOUR PRIVATE TOKEN}'
  },
  formData: {
    '': {
      'value': fs.createReadStream('/path/to/file/resume.pdf'),
      'options': {
        'filename': 'resume.pdf',
        'contentType': null
      }
    }
  }
};
request(options, function (error, response) {
  if (error) throw new Error(error);
  console.log(response.body);
});

JSON IMPORT

To use JSON import, first contact your account administrator to get your custom JSON parser integrated to our system.

Upload a resume file

POST https://open-api.rezi.ai/v1/user/:userID/resume

Path Parameters

Name
Type
Description

userID*

String

User ID

Query Parameters

Name
Type
Description

type*

String

"JSON"

client

String

"your_rms_name", you need to communicate your json format to the team first

Headers

Name
Type
Description

Content-Type*

String

application/json

Content-Length*

Integer

File length

Request Body

Name
Type
Description

*

String

{
    // Response
}
{
    "status": "error",
    "errorCode": "resume-upload-01",
    "errorMessage": "token unauthorized"
}
{
    "status": "error",
    "errorCode": "resume-upload-02",
    "errorMessage": "file format not supported"
}
{    
    "status": "success",
    "data": {
        "resumeID": "123456789abc"
    }
}

CURL Example:

curl --location --request POST 'https://open-api.rezi.ai/v1/user/{userID}/resume?type=json&client=your_rms_name' \
--header 'Authorization: Bearer {YOUR PRIVATE TOKEN}' \
--header 'Content-Type: application/json' \
--data-raw '{
    "Result": {
        "Success": true,
        "ErrorMessage": ""
    },
    "Data": {
        "Student": {
           ...
        },
        "Records": [
            {...},
            {...}
        ]
    }
}'

NODE JS (REQUEST) Example:

var request = require('request');
var options = {
  'method': 'POST',
  'url': 'https://open-api.rezi.ai/v1/user/{userID}/resume?type=json&client=your_rms_name'
  'headers': {
    'Content-Type': 'application/json',
    'Authorization': 'Bearer {YOUR PRIVATE TOKEN}'
  },
  body: JSON.stringify({
    "Result": {
      "Success": true,
      "ErrorMessage": ""
    },
    "Data": {
        "Student": {
           ...
        },
        "Records": [
            {...},
            {...}
        ]
    }
  })

};
request(options, function (error, response) {
  if (error) throw new Error(error);
  console.log(response.body);
});
PreviousGET /resume/:resumeID/scoreNextPlans

Last updated 2 years ago