TwinPublic_send
POST
/api/public/w/{workspace}/{card}/twin/conversations/{id}/messages
const url = 'https://met.cards/api/public/w/example/example/twin/conversations/example/messages';const options = { method: 'POST', headers: {'Content-Type': 'application/json'}, body: '{"content":"example"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://met.cards/api/public/w/example/example/twin/conversations/example/messages \ --header 'Content-Type: application/json' \ --data '{ "content": "example" }'Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”workspace
required
string
card
required
string
id
required
string
Request Bodyrequired
Section titled “Request Bodyrequired”Media typeapplication/json
object
content
required
string
Examplegenerated
{ "content": "example"}