Retrieves Hedera Message ID

GET /api/v1/tools/{id}/export/message

Returns the Hedera message ID for the specified tool published onto IPFS.

Authentication: Bearer token required (Authorization: Bearer <token>)

Permission: Permissions.TOOLS_TOOL_READ


Request

Path Parameters

Parameter
Type
Required
Description

id

string

Yes

Tool ID (MongoDB ObjectId)


Response

Success Response

Status: 200 OK

{
  "id": "63e3e5e8a01b3c001234abcd",
  "name": "My Tool",
  "messageId": "1700000000.000000001",
  "owner": "did:hedera:testnet:zHcDLGFNymFAJiMBKnpbHDgjvTn6yZnwkPPeFhtJBECH_0.0.4532001"
}

Error Responses

Status
Description

401 Unauthorized

Missing or invalid token

403 Forbidden

Insufficient permissions

422 Unprocessable Entity

id is missing or invalid

500 Internal Server Error

Unexpected server failure

Last updated

Was this helpful?