Mega icon

Mega

Work with Mega API

Contact → Get Labels

AI-generated

Summary

Retrieve all label objects associated with a specific contact by their unique Contact ID.

Inputs

  • Contact ID (required) — The unique numeric identifier of the contact whose labels are to be retrieved.

Output shape

a list of label objects associated with the specified contact

The returned labels pertain only to the contact identified by the given Contact ID; the response includes all labels currently assigned to that contact.

Examples

Example 1: Retrieve labels for a contact with ID 12345

Set 'Contact ID' input parameter to 12345 to fetch all labels assigned to that contact.

Links

Discussion