docs

WAABOT-SDK APIs: Attachment

AUTHORIZATION Bearer Token

POST Create

/attachment

Example Request

curl --location '/intent' \
--data '{
    "session_id": "",
    "access_token": "",
    "title": "Greetings Msgs",
    "keyword": "hello",
    "reply": "How are you doing?"
}'

Example Response


GET Get All

/attachment

Example Request

curl --location --request GET '/attachment' \
--data '{
    "session_id": "",
    "access_token": ""
}'

Example Response


GET Get One

/attachment/61b1b55ca29cc051b494dd4f

Example Request

curl --location --request GET '/attachment/61b1b55ca29cc051b494dd4f' \
--data '{
    "session_id": "",
    "access_token": ""
}'

Example Response


DEL Delete

/attachment/61b1b55ca29cc051b494dd4f

Example Request

curl --location --request DELETE '/attachment/61b1b55ca29cc051b494dd4f' \
--data '{
    "session_id": "",
    "access_token": ""
}'

Example Response



We hope this guide provides you with the necessary information to create, get, and delete attachments using our API. If you have any questions or need further assistance, please feel free to contact our support team.