---
title: "Decode IDs"
method: POST
path: "/networks/decode"
tags: ["Encoding"]
---

# Decode IDs

`POST /networks/decode`

## 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. Must match the context used when the IDs were originally encoded.
  - `ids` string[], required — The encoded string values to decode.

## Response `200`

- object
  - `values` object[]
    - `decoded` integer — The original numeric ID. Returns 0 if the value could not be decoded.
    - `encoded` string — The encoded string that was submitted.

---

[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)
