View Message
Copied
https://api.ocamba.com/v1/hood/messages/{id}
Copied
https://api.ocamba.com/v1/hood/messages/{id}
Retrieves the details of a Message that has previously been created if a valid identifier was provided
Name
Descriptionidstringrequired
Unique resource identifier.Example: 12345
Name
Descriptionfieldsstring
Fields parameter represents array of dimensions and measures. Dimensions are used to categorize, segment, and reveal the details of the data. Measures contain numeric, quantitative values that can be measured. At least one measure is required.Example: fields=field1,field2,field3
viewstring
Hood API returns full representation of the resource using the "view=full" query parameter. If not specified, the default view will be used.Note that the "fields" parameter has precedence over the "view" parameter.
Example: view=full/default
outstring
Data format output - 'csv' (default) or 'json'.Example: out=json
200 - OK
Name
Descriptionitems[ message ]
An array of all created items.Message
Name
Descriptionactions[ object ]
Content of the action button presented to the user.Example: [ { "title": { "en": "en_title" }, "icon": "https://example.com", "url": "https://example.com" } ]
badgestring
Monochromatic mini-icon which portrays to user source where he subscribed in the first place.Example: https://www.badgeexample.com
bodyobject
Brief title-related textual addition as pairs of keys and values, where key represents language and value body in that language.Example: { "en": "en_body" "de": "de_body" }
company_idstring
A unique company identifier generated by the Ocamba.Example: 1234321
iconstring
Secondary visual attribute presented to the user.Example: https://www.iconexample.com
idstring
A unique identifier generated by the Ocamba.Example: 1018
imageobject
Image addresses as pairs of key and value, where key represents language and value image for that language region.Example: { "en": "https://example.com" }
landing_urlstring
Page address where the user will land after clicking on it. Max length is 2048 characters.Example: https://www.landingurlexample.com
namestring
Message name.Example: msg_example
renotifyinteger
Replacing old notification with the new one using the silent method. Applicable only with tag option.require_interactioninteger
Demand action execution from the user. Applicable only for desktop users.Example: 1
silentinteger
Serving notification without sound and vibration. Applicable only to mobile devices.Example: 1
tagstring
This option enables the removal of notifications with the same tag which were delivered earlier.Example: tag
titleobject
The main textual aspect as pairs of keys and values, where key represents language and value title in that language.Example: { "en": "en_title" "de": "de_title" }
vibrationstring
Two vibration pulses with customizable length and pause between them, described in milliseconds (200,100,200 formats), will start when a notification is displayed. Applicable only for Android users.Example: 100,100
totalinteger
A total number of items.Example: 1
tip
1 If you don't know the message id, list the messages to find it.