Contacts
Upload an avatar
<a class="try-sandbox-link" href="https://sandbox.textmagic.com/#/Contacts/uploadContactAvatar" target="_blank">Try in sandbox</a><br>
post/api/v2/contacts/{id}/avatar
Request
- Base URLhttps://rest.textmagic.com
- AuthHTTP basic
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
idinteger required
Request body multipart/form-data
Response
Returned when successful.
Example response
{
"id": 515,
"href": "/api/v2/entity_name/1"
}Changes
No recorded changes to this operation across all 4 revisions of this API.