1-877-548-3001 Sign in About Contact
Developer

POST

/api/attachment/{id}

Update a attachment context assigment

Scope:

client

or

operator

Request Parameters

Path

2

attachment_id

required

The id of the attachment to be updated

Query

2

context_id

required

The identifier to tie the attachment to. For example, this would be the chat id or ticket id (18475633)

Response

Schema

{}

A

message

The response message

A

status

The system response status. Will be ok or error

curl

example request

1

curl -X POST -d '{"context_id":"2468619"}'

2

-H "Content-Type: application/json"

3

-H "Authorization: Bearer {{Oauth Token}}"

4

https://developer.livehelpnow.net/api/attachment/0fefc35b-986d-46e1-8b4c-908d28530454

example response

      
        

1

 {

2

   "message":

"Attachment contextId updated",

3

   "status": "ok"

4

 }