Metasky
  • Welcome!
  • Introduction
    • Our Solutions
    • Web 3.0 Resources
  • Metasky Studio
    • Introduction
    • Easy Steps To Create Your Own Club
    • Studio Modules
      • Messaging
      • Members
      • Utilities
        • Discord Utility
      • Collections
      • Bounties
        • Twitter
        • Custom
      • Marketplace
      • Leaderboard
      • Settings
      • Accounts
  • Skywallet (End User UI)
    • Home
    • Wallet
    • My Clubs
    • Updates
  • Metasky API Collection
    • Metasky API - Swagger Link
    • Authentication
    • Blockchains and Networks
    • ENUMS
    • API List
      • User
        • Register New User
      • Wallet
        • Fetch Wallet Balance Summary
        • Fetch All Wallet NFTs
        • Fetch All Coin Balances
        • Fetch NFT Details
        • Fetch System Health Status
      • Accounts
        • Create Specific Account
        • Fetch All Accounts
      • Orders
        • Fetch Listing Details
        • Preview Transfer Asset Order
        • Create a Transfer Order
        • Preview NFT Drop
        • Claim NFT Order
        • Fetch An Order
        • Fetch All Orders
      • Auth
        • Secure Action
        • Secure Action Verify
Powered by GitBook
On this page

Was this helpful?

  1. Metasky API Collection
  2. API List
  3. Auth

Secure Action

When a client wants to perform an action on chain on behalf of the user, a verification prompt is sent to the user. This API sends the prompt for user to verify

PreviousAuthNextSecure Action Verify

Last updated 1 year ago

Was this helpful?

Secure action init

post
Path parameters
user_uuidstringRequired
order_uuidstringRequired
Responses
200
Success response
application/json
400
Invalid request
application/json
401
Authorization error
application/json
404
User not found
application/json
post
POST /api/v1/user/{user_uuid}/orders/{order_uuid}/secure-action/init HTTP/1.1
Host: www.developer.metasky.me
Accept: */*
{
  "message": "secure action init successful",
  "data": {
    "order_uuid": "61c8f27a-442f-4d9e-a5b9-1463a80f46c3",
    "secure_action_uuid": "6498c6a3-4fe5-4303-bf85-9c0ddf509028",
    "secure_action_mode": "email",
    "secure_action_identifier": "raider@metasky.ai"
  },
  "status": "success",
  "request_id": "af3c773a-b5bf-46f2-8689-61e91e36f14d"
}