My Project
  1. ADMIN
My Project
  • Default module
    • OUTBACK APIs
      • User
        • Create User
        • Login User
        • Forgot Password
        • Validate otp
        • Reset Password
        • Social login
        • Search Post
        • Update User
        • Get Profile
        • Get User Profile for Web
        • Delete Account
        • Logout
        • Get All Users
        • Verify User
        • Follow Unfollow User
        • Get User Connections
        • Check User
        • Find Friends
        • Get All User
      • Post
        • Get Popular Categories Post
        • Add Post
        • Update Post
        • Get Post
        • Get My Post
        • Update FCM TOKEN
        • Detail Post By Id
        • Get Trending Posts
        • Get Most Viewed Post
        • get specfic user post
        • Record Fav_Unfav post
        • Get Favt Post
        • Record Views
        • All Posts Views
        • Add Comment
        • Get Comments
        • Get Collection List
        • Get Post Collection
        • Remove Collection
        • Delete Post
        • Update Sold Type
        • report post
        • update thumnail of posts
        • Convert To HLS
        • COMPRESS THUMBNAILS
        • Soft Delete Post
        • DECOMPRESS THUMBNAILS
        • Post Marked As close
        • Re-Post Ad
      • ChatRoom/Messages
        • Create Chatroom
        • Send Message
        • Get Messages
        • Get ChatRoom
        • Update block status
        • Delete Message
        • Report Chat
        • Convert Video Messages
        • Get Chatroom Block Status
      • Town Hall
        • Add townhall post
        • get town hall post
        • get specific user townhall post
        • reaction on townhall post
        • Add replies
        • get replies
        • Reaction On reply
        • get Location search
        • Report Townhall post
        • Delete TownHall Post
        • Convert Townhall Videos
      • notfication
        • message notfication
        • message notfication
      • Category
        • Update Category
        • Get Model By Makes
        • get category V2
        • Add Category
        • Add subcategory
        • Get Categories
        • Delete Category
      • PAYMENTS APIS
        • Create Setup Intent
        • Save Payment Method
        • Get Payment Methods
        • For getting test payment Id
        • testing bank tokens
        • View Balance
        • Add funds to Account
        • Add Bank Account
        • Select Default Bank Acc
        • Transfer Ammount to Connected Account
        • Transaction of User
        • Transaction Detail by Id
        • Purchase Item
        • Delete Payment Method
        • Delete Bank Account
      • System setting
        • User Count
      • Seeder
        • Seeder for adding views
      • Packages
        • Add Package
        • Get Packages
      • Apply Package
        • Apply For Package
      • Application Alert
        • Application Alert
        • Application Alert Status
        • Pre Assigned URLs
      • System Config
    • User
      • Get User
      • Get Presigned Url
      • Generate invite link
      • Verify Invite Link
      • Guest Signup
      • Trial Signup
      • Trial start
      • Trial extend
      • Get Signed URL
      • Forgot Password
      • Change Password
      • Reset Password
      • User Account Removal
      • User Account cacel subscription
      • User Account reinstated subscription
      • User Account pause subscription
      • User Account unpause subscription
      • User Subscribe sendy
    • Imagine API
      • Text to image
      • Remove Bg
      • AI Background Image
      • Enhance image
    • Profit Tracker
      • Get inventory stats
      • Get Inventory
      • Get net proft stats
    • Purchase Tool
      • Create Purchase listing tool
      • Fetch Purchase Tool List
      • Purchase listing detail
      • Item Mark as Sold
      • Edit Purchase Product Detail
      • Remove product
    • Product Analysis
      • Product Insights
      • Statistic
      • background Removal
    • Marketplace
      • Product Insights
    • FeedBack
      • Create feedback
    • Screenshot Analysis
      • Product Insights
      • Statistic
    • Product Search
      • Favourite Toogle
      • Update Product
      • Listing
    • Click Bank INS
      • Check blank notificaiton
    • Mobile payment Notifications
      • Mobile payment webhook
    • Sendy
      • email-subscription
      • email-unsubscribe
    • Ebay
      • g
      • Auth app token
      • Generate Auth URL
      • Auth callback
      • Auth refresh token
      • Create listing
      • Publish listing
      • Get seller list
      • Get rate limits
      • Get best deals
      • Delete listing
    • Admin
      • Get All Users
      • Trial user completed
      • User stats
    • Error
      • send error
    • Untitled Endpoint
    • Schemas
      • Sample Schemas
        • Pet
        • Category
        • Tag
  • Focus Pilot APIs
    • App
      • AppController_getHello
    • User_App_Authentication_APIs
      • SignUp api for User.
      • Verify User api.
      • Login api for user.
      • Resend OTP api.
      • Forgot Password OTP api.
      • Reset Password api.
      • User Logout API
      • Get questionnire for user
      • UserController_getProfile
      • Update Profile api.
      • Edit Profile api.
      • User change password after login
      • User validate password
      • delete user api
      • support api
      • Get category list for user
      • Get sub category list for user
      • Get category exercise list for user
      • Get category exercise detail for user
      • Wellness Session of user
      • Get Wellness Session of user
      • Get completed wellness for user
      • social signup API
      • Get refer history of user
      • Get refer stats
      • Get exercise list for user
      • Get chat history for user
      • Generate Canny JWT Token
    • ADMIN
      • AdminController_login
        POST
      • AdminController_getProfile
        GET
      • AdminController_updateProfile
        PUT
      • AdminController_forgotPassword
        POST
      • AdminController_resetPassword
        PATCH
      • AdminController_logout
        GET
      • AdminController_changePassword
        PATCH
      • AdminController_createQuestionnaire
        POST
      • AdminController_getQuestion
        GET
      • AdminController_updateQuestionnaire
        PUT
      • AdminController_getQuestionnaireDetail
        GET
      • AdminController_updateStatus
        PATCH
      • AdminController_deleteQuestion
        DELETE
      • AdminController_getUser
        GET
      • AdminController_getuserDetail
        GET
      • AdminController_getReferralDetail
        GET
      • AdminController_getGoalsByUserId
        GET
      • AdminController_getGoalById
        GET
      • AdminController_updateUserStatus
        PATCH
      • AdminController_deleteUser
        DELETE
      • AdminController_addOrUpdateContent
        PUT
      • AdminController_getStaticContent
        GET
      • AdminController_faqList
        GET
      • AdminController_addFaq
        POST
      • AdminController_editFaq
        PUT
      • AdminController_deleteFaq
        DELETE
      • AdminController_createExerciseCategory
        POST
      • AdminController_listExerciseCategory
        GET
      • AdminController_updateExerciseCategory
        PUT
      • AdminController_getExerciseCategoryById
        GET
      • AdminController_updateExerciseCategoryStatus
        PATCH
      • AdminController_deleteExerciseCategory
        DELETE
      • AdminController_createExerciseSubCategory
        POST
      • AdminController_listExerciseSubCategory
        GET
      • AdminController_updateExerciseSubCategory
        PUT
      • AdminController_getExerciseSubCategoryById
        GET
      • AdminController_updateExerciseSubCategoryStatus
        PATCH
      • AdminController_deleteExerciseSubCategory
        DELETE
      • AdminController_createExercise
        POST
      • AdminController_listExercise
        GET
      • AdminController_updateExercise
        PUT
      • AdminController_getExerciseById
        GET
      • AdminController_updateExerciseStatus
        PATCH
      • AdminController_deleteExercise
        DELETE
      • AdminController_createNotification
        POST
      • AdminController_listNotification
        GET
      • AdminController_getNotificationById
        GET
      • AdminController_getUsersEmailByName
        GET
      • AdminController_getSubscriptionList
        GET
      • AdminController_getUserBySubscription
        GET
      • AdminController_getDashboardCount
        GET
      • AdminController_getDashboardGraph
        GET
    • Common
      • Pre Signed URL
      • Decrypt Data
      • Encrypt Object
    • Goals
      • Create goals API
      • Get goals list for user
      • Edit Goals api.
      • Delete Goals api.
      • Get goal details for user
      • Get daily goals list for user
      • Update daily goals status for user
      • Get progress tracking for user
      • Get progress tracking home for user
      • Get goals home for user
    • NotificationSettings
      • User notification list API
      • User delete notification API
      • User delete all notification list API
      • User read notification API
      • User read all notification API
      • User notification count API
      • User refresh token update API
    • subscription
      • Admin payment listing
      • in-app validation
      • get in-app validation
      • ios in-app webhook
      • android in-app webhook
    • Schemas
      • UserSignUp
      • UserVerifyDto
      • UserLoginDto
      • UserResendOtp
      • ForgotPasswordOtp
      • ResetPasswordDto
      • questionnaireData
      • locationData
      • UserUpdateProfileDto
      • notificationData
      • UserEditProfileDto
      • ChangePasswordDto
      • ValidatePasswordDto
      • DeleteAccountDto
      • SupportDto
      • SocialData
      • SocialSignUpDto
      • AdminLoginDto
      • ForgotPasswordDto
      • ResetAdminPasswordDto
      • ChangeAdminPasswordDto
      • UpdateProfilerDto
      • CreateAdminQuestionnaireDto
      • UpdateAdminQuestionnaireDto
      • UpdateQuestionnaireStatusDto
      • UpdateUserStatusDto
      • UpdateAdminStaticContentDto
      • CreateFaqsDto
      • UpdateFaqsDto
      • CreateExerciseCategoryDto
      • UpdateExerciseCategoryDto
      • UpdateExerciseCategoryStatusDto
      • CreateExerciseSubCategoryDto
      • UpdateExerciseSubCategoryDto
      • CreateExerciseDto
      • UpdateExerciseDto
      • UpdateExerciseStatusDto
      • CreateNotificationDto
      • PreSignedUrlDto
      • DecryptionDto
      • EncryptionDto
      • SubGoals
      • Reminders
      • Current
      • AddGoalDto
      • EditGoalDto
      • GoalDetailsDto
      • NotificationId
      • RefreshTokenDto
      • InAppValidationDto
  1. ADMIN

AdminController_createExercise

POST
/focus-pilot/api/v1/admin/exercise

Request

Authorization
JWT Bearer
Add the parameter
Authorization
to Headers
Example:
Authorization: ********************
or
Body Params application/jsonRequired

Example
{
    "name": "string",
    "nameGerman": "string",
    "categoryId": "string",
    "subCategoryId": "string",
    "steps": "string",
    "description": "string",
    "stepsGerman": "string",
    "descriptionGerman": "string",
    "audioUrl": "string",
    "videoUrl": "string",
    "audioUrlGerman": "string",
    "videoUrlGerman": "string",
    "durationInSec": 0,
    "source": "string",
    "sourceGerman": "string"
}

Request Code Samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST '/focus-pilot/api/v1/admin/exercise' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
    "name": "string",
    "nameGerman": "string",
    "categoryId": "string",
    "subCategoryId": "string",
    "steps": "string",
    "description": "string",
    "stepsGerman": "string",
    "descriptionGerman": "string",
    "audioUrl": "string",
    "videoUrl": "string",
    "audioUrlGerman": "string",
    "videoUrlGerman": "string",
    "durationInSec": 0,
    "source": "string",
    "sourceGerman": "string"
}'

Responses

🟢201Created
This response does not have a body.
Modified at 2026-01-22 08:48:06
Previous
AdminController_deleteExerciseSubCategory
Next
AdminController_listExercise
Built with