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
  • Upgrade the subscription plan of your user
  • Upgrade plan of your user
  1. REZI API
  2. Plans

POST /user/:userID/upgrade

Upgrade users from your backend, the simple way. You can upgrade them to Basic, Pro or lifetime and get billed monthly.

Upgrade the subscription plan of your user

This feature is only available after contacting your account manager

Call the Rezi API below with the information required.

Upgrade plan of your user

POST https://open-api.rezi.ai/v1/plan/upgrade

This endpoint allows you to upgrade an already created users. You will need to provide email of your user

Headers

Name
Type
Description

Content-type*

string

"application/json"

Authentication*

string

"Bearer PRIVATE_TOKEN_API_KEY" Authentication token to secure and track down your usage. Use this specific format with your Private API key

Request Body

Name
Type
Description

planId*

string

ID of target plan to upgrade. Those plan ID is provided by your account manager

email*

string

Email of the user your want to upgrade.

aiTokenId

string

ID of AI credits join to the upgrade. This ID is provided by your account manager

{
    "status": "success",
    "data": {
        "created": 1646034967,
        "current_period_start": 1646296033,
        "current_period_end": 1648974433,
        "status": "active",
        "plan_id": "planId_from_api"
    }
}
{
    "status": "error",
    "errorCode": "plan-upgrade-1",
    "errorMessage": "stripe error"
}
{
    "status": "error",
    "errorCode": "plan-upgrade-2",
    "errorMessage": "wrong plan ID"
}
{
    // Response
}
{
    "status": "error",
    "errorCode": "plan-upgrade-3",
    "errorMessage": "unauthorized token"
}
{
    "status": "error",
    "errorCode": "plan-upgrade-4",
    "errorMessage": "token type error"
}

PreviousPlans

Last updated 2 years ago