Get Started
Application
Equipment
Request
User
Article
Send a message
POST
/
v1
/
requests
/
{task_uid}
/
messages
Copy
curl --request POST \
--url https://api.siit.io/v1/requests/{task_uid}/messages \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"body_text": "<string>",
"sent_by_uid": "<string>",
"attachments": [
null
]
}'
Copy
{
"result": {
"uid": "<string>",
"body_text": "<string>",
"event_type": "message",
"sender_type": "user",
"sent_by_uid": "<string>",
"submitted_from": "public_api",
"attachments": [
{
"filename": "<string>",
"url": "<string>"
}
],
"created_at": "2023-11-07T05:31:56Z"
}
}
Usage
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Path Parameters
The UID of the request
Body
application/json
Response
201
application/json
Created
The response is of type object
.
Copy
curl --request POST \
--url https://api.siit.io/v1/requests/{task_uid}/messages \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"body_text": "<string>",
"sent_by_uid": "<string>",
"attachments": [
null
]
}'
Copy
{
"result": {
"uid": "<string>",
"body_text": "<string>",
"event_type": "message",
"sender_type": "user",
"sent_by_uid": "<string>",
"submitted_from": "public_api",
"attachments": [
{
"filename": "<string>",
"url": "<string>"
}
],
"created_at": "2023-11-07T05:31:56Z"
}
}
Assistant
Responses are generated using AI and may contain mistakes.