Skip to main content
GET
Get a contact
This endpoint returns one complete contact record and a page of its activity timeline. Use the contact UUID from List contacts as contactId.

Access

Your API key needs the contacts:read_pii scope. The account_id query parameter must identify an Instagram account that the key can access, and contactId must belong to that account. This endpoint includes personally identifiable information (PII) and is audited. The API fails without returning the contact if it cannot record the required audit entry.

Returned data

The contact object contains every field returned by the contact list, including email, phone, biography, website, tags, attributes, instagram_profile_url, and send_instagram_dm_url. It also contains a timeline object. See List contacts for the complete field groups and enum meanings. The timeline.items array can contain these event types:
  • first_contact: levios recorded the contact’s first activity.
  • dm_sent: a direct message was sent.
  • dm_failed: a direct message failed.
  • tag_applied: a tag was added to the contact.
  • attribute_captured: a contact attribute was captured.
Each timeline item includes id, type, and timestamp.

Example request

Timeline pagination

Set timeline_limit to a value from 1 through 50. When contact.timeline.next_cursor is not null, send it unchanged as timeline_cursor with the same account_id and contactId. Stop when the cursor is null. Treat timeline cursors as opaque. Do not reuse a cursor for another contact or account. Because this response includes personal data, avoid writing the full payload to logs, analytics events, or error reports.

Authorizations

Authorization
string
header
required

Levios API key sent as a Bearer token.

Path Parameters

contactId
string<uuid>
required

Query Parameters

account_id
string<uuid>
required
timeline_cursor
string
Required string length: 1 - 2048
timeline_limit
string

Response

Successful response.