POST
/
backend
/
api
/
copilot
/
:id
Path
curl --location 'http://example.com/backend/api/copilot/:id' \
--header 'Accept: application/json' \
--form 'name="My new copilot name"' \
--form 'prompt_message="My new prompt message"'
{
    "copilot": {
        "id": "1ca91513-fc59-4868-9965-0112ca3393f4",
        "name": "Hey",
        "token": "2RX5OFLTTrh4ovONfFBt",
        "website": "https://www.example.com",
        "status": "draft",
        "prompt_message": "Hello",
        "enhanced_privacy": 0,
        "smart_sync": 0,
        "created_at": "2023-08-31T10:25:21.000000Z",
        "updated_at": "2023-08-31T10:57:00.000000Z",
        "deleted_at": null,
        "swagger_url": "hfBh7WIRr3m1FMek3YJk.json",
        "is_premade_demo_template": 0
    }
}

Body

id
string

The uuid of the copilot

Response

copilot
object

copilot information