Put metadata
Use this method to create or update conversation metadata. Method overwrites old metadata. More info
Please log in to see full path URL. Learn why.
put
/ccaas/1/conversations/{conversationId}/metadata
Authorizations:
Scopes:
path Parameters
conversationId required | string Id of the conversation for which we are upserting metadata. |
Request Body schema:
application/jsoncollapse all -
Metadata key-value pairs.
Responses
200
OK
400
Bad request
401
Unauthorized
403
Forbidden
404
Not Found
500
Internal Server Error
Request samples
- Payload
- cURL
- Java
- C#
- Go
- Python
- PHP
- JavaScript
- NodeJs
- Ruby
Content type
application/json
Upsert metadata.
Copy
Collapse all {- "key1": "value1",
- "key2": "value2"
}
Response samples
- 200
- 400
- 401
- 403
- 404
- 500
Content type
application/json
Successful response
Copy
Collapse all {- "statusCode": "SUCCESS",
- "message": "Metadata added to conversation successfully."
}
Need assistance
Encountering issues
What's new? Check out
Unsure about a term? See