Route Details: 
Route name: api.messenger.threads.participants.store
URI: api/messenger/threads/{thread}/participants
Methods: POST
Example Query:
http://messenger.test/api/messenger/threads/9626c1a5-9751-446d-8bd9-846f2182b88e/participants
POST 200: 

Payload:

            {
    "providers": [
        {
            "id": "9626c1a5-8260-4fa1-8ab1-d3d9d41dcf4c",
            "alias": "user"
        },
        {
            "id": "9626c1a5-82a6-44f7-9a24-bbd2357618e6",
            "alias": "company"
        }
    ]
}
        

Response:

            [
    {
        "owner_id": "9626c1a5-8260-4fa1-8ab1-d3d9d41dcf4c",
        "owner_type": "users",
        "thread_id": "9626c1a5-8388-438d-b539-d0b7ad66da82",
        "id": "9626c1a5-88fc-4e0a-b8e7-59f08018b7f4",
        "updated_at": "2022-04-26T00:13:37.748537Z",
        "created_at": "2022-04-26T00:13:37.748537Z"
    },
    {
        "owner_id": "9626c1a5-82a6-44f7-9a24-bbd2357618e6",
        "owner_type": "companies",
        "thread_id": "9626c1a5-8388-438d-b539-d0b7ad66da82",
        "id": "9626c1a5-8928-4f64-9a60-806b9fe01a2b",
        "updated_at": "2022-04-26T00:13:37.748947Z",
        "created_at": "2022-04-26T00:13:37.748947Z"
    }
]
        
POST 403: 

Payload:

            {
    "providers": [
        {
            "id": "9626c1a5-9629-46ad-9e8e-51178f75a8b4",
            "alias": "user"
        },
        {
            "id": "9626c1a5-966f-41ed-82e6-04d55c87943f",
            "alias": "company"
        }
    ]
}
        

Response:

            {
    "message": "Not authorized to add participants."
}