API Reference
POST /api/public/apps/screen
The screen call lets you record whenever a user sees a screen, the mobile equivalent of page, in your mobile app, along with any properties about the screen
POST
/
api
/
public
/
apps
/
screen
Header
Body
curl --request POST \
--url http://localhost/api/public/apps/screen \
--header 'Content-Type: application/json' \
--header 'authorization: <authorization>' \
--data '{
"context": {},
"messageId": "<string>",
"name": "<string>",
"properties": {},
"timestamp": "<string>",
"userId": "<string>"
}'
"<string>"
The following is an example of a screen body.
example body
{
"name": "Home",
"userId": "1043",
"properties": {
"Feed Type": "private"
},
"messageId": "1ff51c9c-4929-45de-8914-3bb878be8c4a"
}
Headers
authorization
string
requiredBody
application/json
Option 1
Option 2
context
object
messageId
string
requiredname
string
properties
object
timestamp
string
userId
string
requiredResponse
204 - application/json
An empty String
curl --request POST \
--url http://localhost/api/public/apps/screen \
--header 'Content-Type: application/json' \
--header 'authorization: <authorization>' \
--data '{
"context": {},
"messageId": "<string>",
"name": "<string>",
"properties": {},
"timestamp": "<string>",
"userId": "<string>"
}'
"<string>"