एजेंट अवतार पोस्ट करें

widget में दिखने वाले agent का avatar सेट करता है

Path parameters

agent_idstringRequired

एजेंट की id। यह एजेंट बनाते समय लौटाई जाती है।

Headers

xi-api-keystringOptional

Request

This endpoint expects a multipart form containing a file.
avatar_filefileRequired

एजेंट के अवतार के रूप में इस्तेमाल की जाने वाली इमेज फ़ाइल।

Response

सफल रिस्पॉन्स

agent_idstring
avatar_urlstring or nullOptional

Errors

422
Unprocessable Entity Error