Get Contacts by Tag ID

GET {{baseUrl}}/api/Contact/ByTag/:tagId?filter=<string>&sortBy=<string>&descending=<boolean>&skip=<integer>&take=<integer>

Request Params

KeyDatatypeRequiredDescription
filterstringThe filter. If provided will filter by Id, Name or Email address.
sortBystringThe field to be sorted. Supported: Id, Name, CreatedDateTime.
descendingstringThe direction to be sorted.
skipstringThe number of records to skip. Default = 0.
takestringThe number of records to take. Default = 10.

RESPONSES

status: OK

{&quot;list&quot;:[{&quot;id&quot;:&quot;\u003cinteger\u003e&quot;,&quot;name&quot;:&quot;\u003cstring\u003e&quot;,&quot;contactType&quot;:&quot;\u003cstring\u003e&quot;,&quot;contactName&quot;:&quot;\u003cstring\u003e&quot;,&quot;address&quot;:&quot;\u003cstring\u003e&quot;,&quot;email&quot;:&quot;\u003cstring\u003e&quot;,&quot;phone&quot;:&quot;\u003cstring\u003e&quot;,&quot;contactViewUrl&quot;:&quot;\u003cstring\u003e&quot;},{&quot;id&quot;:&quot;\u003cinteger\u003e&quot;,&quot;name&quot;:&quot;\u003cstring\u003e&quot;,&quot;contactType&quot;:&quot;\u003cstring\u003e&quot;,&quot;contactName&quot;:&quot;\u003cstring\u003e&quot;,&quot;address&quot;:&quot;\u003cstring\u003e&quot;,&quot;email&quot;:&quot;\u003cstring\u003e&quot;,&quot;phone&quot;:&quot;\u003cstring\u003e&quot;,&quot;contactViewUrl&quot;:&quot;\u003cstring\u003e&quot;}],&quot;total&quot;:&quot;\u003cinteger\u003e&quot;}