Associate accounts with contact

POST {{baseUrl}}/v1/contacts/:contact_id/associateAccounts

This API associates multiple accounts with a particular contact.

OAuth Scope

  • Desk.contacts.UPDATE

Attributes

Attribute NameData TypeDescription
data<list>
Details of the accounts to associate with the contact

HEADERS

KeyDatatypeRequiredDescription
Authorizationstring

RESPONSES

status: OK

{&quot;results&quot;:[{&quot;success&quot;:true,&quot;id&quot;:&quot;7000000027223&quot;,&quot;errors&quot;:null},{&quot;success&quot;:null,&quot;id&quot;:&quot;7000000043968&quot;,&quot;errors&quot;:{&quot;errorMessage&quot;:&quot;This is a deleted account. You can restore the entry from the Recycle Bin of your Zoho Desk portal.&quot;,&quot;errorCode&quot;:&quot;UNPROCESSABLE_ENTITY&quot;,&quot;httpCode&quot;:&quot;422&quot;}}]}