1. Projects
Pibox public API
0.6.2
  • 0.6.2
  • 0.6.3
  • v1
    • Teams
      • Get Teams
    • Groups
      • Get Groups
    • Projects
      • Create Project
        POST
      • Get Projects by Group
        POST
      • Get Non Group Projects
        POST
      • Get Chat History
        POST
      • Chat Message
        POST
    • Files
      • Create Folder
      • Get Files by Folder
      • Get Folder URL
      • Update Folder Properties
      • Delete File
      • Upload from External Source
      • Get File Info
      • Generate Track Tags
      • File Upload
    • Tasks
      • Get Task Template
      • Load Tasks from Template
      • Get Tasks by Folder
    • Webhooks
      • Create Webhook Endpoint
      • Get Webhook Endpoints
      • Delete Webhook Endpoint
  • Schemas
    • v1
      • Team
      • Track Info
      • Video Info
      • Image Info
      • AI Tags
      • Empty Schema
  1. Projects

Get Chat History

POST
https://api.pibox.com/v1/account/projects/chat_history

Request

Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Body Params application/jsonRequired

Examples

Responses

🟢200Success
application/json
Body

Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api.pibox.com/v1/account/projects/chat_history' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
    "project_id": 166556,
    "limit": 50
}'
Response Response Example
{
    "data": [
        {
            "account_id": 378,
            "attachments": [],
            "body": "Test message",
            "chat_id": 166556,
            "datetime": "2026-02-09T16:49:28Z",
            "edited": false,
            "id": 334377,
            "is_audio_message": false,
            "parent_account_id": null,
            "parent_chat_id": null,
            "parent_message_id": null,
            "type": "message"
        },
        {
            "account_id": 378,
            "attachments": [],
            "body": "Test message 2",
            "chat_id": 166556,
            "datetime": "2026-02-09T16:50:16Z",
            "edited": false,
            "id": 334378,
            "is_audio_message": false,
            "parent_account_id": null,
            "parent_chat_id": null,
            "parent_message_id": null,
            "type": "message"
        },
        {
            "account_id": 378,
            "attachments": [
                {
                    "compressed_file_url": null,
                    "has_unread_comments": false,
                    "id": 655527,
                    "is_blind_drop": false,
                    "is_shared": false,
                    "name": "Creatures Of Sun 2.mp3",
                    "size": 10665237,
                    "transcoding_status": "transcoded",
                    "url": "https://stage-pibox-avatar.s3.eu-west-1.amazonaws.com/..."
                }
            ],
            "body": "",
            "chat_id": 166556,
            "datetime": "2026-02-09T16:50:32Z",
            "edited": false,
            "id": 334379,
            "is_audio_message": false,
            "parent_account_id": null,
            "parent_chat_id": null,
            "parent_message_id": null,
            "type": "message"
        },
        {
            "account_id": 378,
            "attachments": [
                {
                    "compressed_file_url": null,
                    "duration": 28.237,
                    "has_unread_comments": false,
                    "id": 655528,
                    "is_blind_drop": false,
                    "is_shared": false,
                    "name": "sample_1280x720.mp4",
                    "size": 16618863,
                    "stills_url": "https://stage-pibox-avatar.s3-eu-west-1.amazonaws.com/...",
                    "thumbnail_url": "https://stage-pibox-avatar.s3-eu-west-1.amazonaws.com/...",
                    "transcoding_status": "transcoded",
                    "url": "https://stage-pibox-avatar.s3.eu-west-1.amazonaws.com/..."
                }
            ],
            "body": "",
            "chat_id": 166556,
            "datetime": "2026-02-09T16:58:37Z",
            "edited": false,
            "id": 334380,
            "is_audio_message": false,
            "parent_account_id": null,
            "parent_chat_id": null,
            "parent_message_id": null,
            "type": "message"
        },
        {
            "account_id": 378,
            "attachments": [
                {
                    "compressed_file_url": null,
                    "has_unread_comments": false,
                    "id": 655529,
                    "is_blind_drop": false,
                    "is_shared": false,
                    "name": "photo_2025-10-16_23-40-32.jpg",
                    "size": 91493,
                    "thumbnail": "https://stage-pibox-avatar.s3.eu-west-1.amazonaws.com/...",
                    "transcoding_status": "transcoded",
                    "url": "https://stage-pibox-avatar.s3.eu-west-1.amazonaws.com/..."
                }
            ],
            "body": "",
            "chat_id": 166556,
            "datetime": "2026-02-09T16:58:55Z",
            "edited": false,
            "id": 334381,
            "is_audio_message": false,
            "parent_account_id": null,
            "parent_chat_id": null,
            "parent_message_id": null,
            "type": "message"
        },
        {
            "account_id": 378,
            "attachments": [
                {
                    "compressed_file_url": null,
                    "has_unread_comments": false,
                    "id": 655530,
                    "is_blind_drop": false,
                    "is_shared": false,
                    "name": "Pibox public API (Draft 0.6.2).pdf",
                    "size": 255568,
                    "transcoding_status": "transcoded",
                    "url": "https://stage-pibox-avatar.s3.eu-west-1.amazonaws.com/..."
                }
            ],
            "body": "",
            "chat_id": 166556,
            "datetime": "2026-02-09T16:59:02Z",
            "edited": false,
            "id": 334382,
            "is_audio_message": false,
            "parent_account_id": null,
            "parent_chat_id": null,
            "parent_message_id": null,
            "type": "message"
        }
    ],
    "object": "list"
}
Modified at 2026-03-16 11:22:30
Previous
Get Non Group Projects
Next
Chat Message
Built with