---
title: "Encode IDs"
method: POST
path: "/networks/encode"
tags: ["Encoding"]
---

# Encode IDs

`POST /networks/encode`

## Request body

- object
  - `type` 'tracking_link_affiliate' | 'tracking_link_offer' | 'smart_link_affiliate' | 'smart_link_smart_link' | 'signup_affiliate_employee' | 'signup_advertiser_employee' | 'signup_affiliate_affiliate', required — The encoding context. Determines how the IDs are encoded based on their intended use.
  - `ids` integer[], required — The numeric IDs to encode.

## Response `200`

- object
  - `values` object[]
    - `decoded` integer — The original numeric ID.
    - `encoded` string — The encoded string representation.

---

[API](https://skmtc.net/everflow/apis/everflow-network-api-tracking-domains.md) · [All operations](https://skmtc.net/everflow/apis/everflow-network-api-tracking-domains/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/everflow/everflow-network-api-tracking-domains/revisions/39242cee0e32/schema)
