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

# Decode IDs

`POST /affiliates/decode`

## Request body

- object
  - `type` 'tracking_link_affiliate' | 'tracking_link_offer' | 'smart_link_affiliate' | 'smart_link_smart_link', required — The encoding context type. Must match the type used during encoding.
  - `ids` string[], required — Array of encoded string values to decode.

## Response `200`

- object
  - `values` object[] — Array of decoded values corresponding to the input strings.
    - `decoded` integer — The decoded numeric ID.
    - `encoded` string — The encoded string value.

---

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