Skip to main content
POST
/
networks
/
decode
Decode IDs
curl --request POST \
  --url https://api.eflow.team/v1/networks/decode \
  --header 'Content-Type: application/json' \
  --header 'X-Eflow-Api-Key: <api-key>' \
  --data '
{
  "type": "tracking_link_offer",
  "ids": [
    "2CTPL",
    "3QQG7",
    "55M6S"
  ]
}
'
{
  "values": [
    {
      "decoded": 123,
      "encoded": "<string>"
    }
  ]
}
Decode encoded ID strings back to their original numeric values. This is the inverse of the Encode IDs endpoint. Encoded values appear in tracking links, smart links, and signup URLs. Values that cannot be decoded return 0 for the decoded field.

Authorizations

X-Eflow-Api-Key
string
header
required

The Everflow API key generated from the Control Center > Security.

Body

application/json
type
enum<string>
required

The encoding context. Must match the context used when the IDs were originally encoded.

Available options:
tracking_link_affiliate,
tracking_link_offer,
smart_link_affiliate,
smart_link_smart_link,
signup_affiliate_employee,
signup_advertiser_employee,
signup_affiliate_affiliate
ids
string[]
required

The encoded string values to decode.

Response

200 - application/json
values
object[]