curl --request POST \
--url http://localhost:8080/api/v1/views/me \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: application/json' \
--data '{
"id": 6,
"created_at": "2025-08-25T19:41:07.983539Z",
"updated_at": "2025-08-25T19:41:07.983539Z",
"name": "adsad",
"filters": [
{
"field": "status_id",
"model": "conversations",
"value": "1",
"operator": "equals"
}
],
"user_id": 1
}'
{
"status": "success",
"data": {
"id": 6,
"created_at": "2025-08-25T19:41:07.983539Z",
"updated_at": "2025-08-25T19:41:07.983539Z",
"name": "adsad",
"filters": [
{
"field": "status_id",
"model": "conversations",
"value": "1",
"operator": "equals"
}
],
"user_id": 1
}
}
curl --request POST \
--url http://localhost:8080/api/v1/views/me \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: application/json' \
--data '{
"id": 6,
"created_at": "2025-08-25T19:41:07.983539Z",
"updated_at": "2025-08-25T19:41:07.983539Z",
"name": "adsad",
"filters": [
{
"field": "status_id",
"model": "conversations",
"value": "1",
"operator": "equals"
}
],
"user_id": 1
}'
{
"status": "success",
"data": {
"id": 6,
"created_at": "2025-08-25T19:41:07.983539Z",
"updated_at": "2025-08-25T19:41:07.983539Z",
"name": "adsad",
"filters": [
{
"field": "status_id",
"model": "conversations",
"value": "1",
"operator": "equals"
}
],
"user_id": 1
}
}
Basic authentication using base64 encoded API key and secret. Format: Authorization: Basic <base64(api_key:api_secret)>
View configuration
The body is of type object
.
User view created successfully
The response is of type object
.
Was this page helpful?