Create intent for asset profileCopy Pagepost https://example.com/profiles/asset/{id}/intentCreate a new intent on an asset profile for either primarySale, buyingIntent or SellingIntentPath ParamsidstringrequiredID of the asset profileBody Paramsstartint64required≥ 0start time for intent, in epoch (seconds)endint64required≥ 0end time for intent, in epoch (seconds)intentrequiredprimarySalebuyingIntentsellingIntentloanIntentredemptionIntentprivateOfferIntentprimarySale objectintentIdstringunique identifier for the intent, will default to generated UUID if not providedHeadersIdempotency-Keystring32 bytes buffer (24 randomly generated bytes by the client + 8 bytes epoch timestamp seconds) encoded to hex: const nonce = Buffer.alloc(32); nonce.fill(crypto.randomBytes(24), 0, 24); const nowEpochSeconds = Math.floor(new Date().getTime() / 1000); const t = BigInt(nowEpochSeconds); nonce.writeBigInt64BE(t, 24);Responses 200successful operation 400Bad Request 401Unauthorized 403Forbidden 404Not Found 500Internal Server Error 502Bad Gateway 503Service Unavailable 504Gateway TimeoutCallbackmanualSigningCallbackpost{$request.body#/intent.signaturePolicy.callbackURL}Updated 8 months ago