Skip to content

Commit

Permalink
frontend: api pages documentation for saveOnTicket parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
allgood committed Nov 30, 2024
1 parent d9eed9d commit cd79cc8
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion frontend/src/pages/MessagesAPI/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,7 @@ const MessagesAPI = () => {
<b>Endpoint: </b> {getEndpoint()} <br />
<b>Método: </b> POST <br />
<b>Headers: </b> Authorization ("Bearer " + token cadastrado) e Content-Type (application/json) <br />
<b>Body: </b> {"{ \"number\": \"558599999999\", \"body\": \"Sua mensagem\" }"}
<b>Body: </b> {"{ \"number\": \"558599999999\", \"body\": \"Sua mensagem\", \"saveOnTicket\": true }"}
</Typography>
</Grid>
<Grid item xs={12} sm={6}>
Expand Down Expand Up @@ -308,6 +308,9 @@ const MessagesAPI = () => {
<li>
<b>medias: </b> arquivo
</li>
<li>
<b>saveOnTicket: </b> true
</li>
</ul>
</Typography>
</Grid>
Expand Down

0 comments on commit cd79cc8

Please sign in to comment.