Retrieve a specific support message

Fetch the details of a specific support by providing its unique ID.

GET

Parameters

Path Parameters

MessageId
REQUIRED
Unique identifier of the message
Status codeDescription
200Successfully retrieved the support details.
400Bad request error - the request contains invalid parameters or malformed data
500Internal server error - an unexpected error occurred on the server
cURL
curl -L \
"https://blockv-labs.io/support/{messageId}" \
-H 'Accept: application/json'
Response
{
"id": "string",
"wallet_id": "string",
"content": "string",
"assets": [
{
"id": "string",
"name": "string",
"type": "string",
"url": "string",
"hash": "string",
"is_public": false,
"when_created": "2024-01-01T00:00:00Z"
}
],
"when_modified": "2024-01-01T00:00:00Z",
"when_created": "2024-01-01T00:00:00Z"
}
json
{
"type": "object",
"description": "Support message entity containing user inquiries and support requests",
"required": [
"id",
"wallet_id",
"title",
"content",
"when_modified",
"when_created"
],
"properties": {
"id": {
"type": "string",
"description": "Unique identifier for the support message",
"x-oapi-codegen-extra-tags": {
"bson": "_id",
"json": "id"
},
"x-go-type": "id.ID",
"x-go-type-import": {
"path": "github.com/vlabsio/smarttoken/pkg/types/id"
},
"x-go-type-skip-optional-pointer": true
},
"wallet_id": {
"type": "string",
"description": "Identifier of the wallet/user who created the support message",
"x-oapi-codegen-extra-tags": {
"bson": "wallet_id"
},
"x-go-type": "id.ID",
"x-go-type-import": {
"path": "github.com/vlabsio/smarttoken/pkg/types/id"
},
"x-go-type-skip-optional-pointer": true
},
"content": {
"type": "string",
"description": "Main content body of the support message",
"x-oapi-codegen-extra-tags": {
"bson": "content,omitempty"
}
},
"assets": {
"type": "array",
"description": "Optional attachments or assets associated with the support message",
"items": {
"type": "object",
"description": "Represents a file or media asset stored in the platform",
"required": [
"id",
"url"
],
"properties": {
"id": {
"type": "string",
"description": "Unique identifier for the asset",
"x-oapi-codegen-extra-tags": {
"bson": "id,omitempty"
}
},
"name": {
"type": "string",
"description": "Human-readable name of the asset",
"x-oapi-codegen-extra-tags": {
"bson": "name,omitempty"
}
},
"type": {
"type": "string",
"description": "MIME type of the asset (e.g., image/jpeg, application/pdf)",
"x-oapi-codegen-extra-tags": {
"bson": "type,omitempty"
}
},
"url": {
"type": "string",
"description": "Public URL where the asset can be accessed",
"x-oapi-codegen-extra-tags": {
"bson": "url,omitempty"
}
},
"hash": {
"type": "string",
"description": "Cryptographic hash of the asset content for integrity verification",
"x-oapi-codegen-extra-tags": {
"bson": "hash,omitempty"
}
},
"is_public": {
"type": "boolean",
"description": "Whether the asset is publicly accessible without authentication",
"x-oapi-codegen-extra-tags": {
"bson": "is_public,omitempty"
}
},
"when_created": {
"type": "string",
"format": "date-time",
"description": "Timestamp when the asset was uploaded",
"x-oapi-codegen-extra-tags": {
"bson": "when_created,omitempty"
}
}
}
},
"x-oapi-codegen-extra-tags": {
"bson": "assets,omitempty"
},
"x-go-type-skip-optional-pointer": true
},
"when_modified": {
"type": "string",
"format": "date-time",
"description": "Timestamp when the support message was last modified",
"x-oapi-codegen-extra-tags": {
"bson": "when_modified,omitempty"
}
},
"when_created": {
"type": "string",
"format": "date-time",
"description": "Timestamp when the support message was created",
"x-oapi-codegen-extra-tags": {
"bson": "when_created,omitempty"
}
}
}
}