Skip to main content
POST
/
networks
/
encode
Encode IDs
curl --request POST \
  --url https://api.eflow.team/v1/networks/encode \
  --header 'Content-Type: application/json' \
  --header 'X-Eflow-Api-Key: <api-key>' \
  --data '
{
  "type": "tracking_link_affiliate",
  "ids": [
    1,
    2,
    3
  ]
}
'
{
  "values": [
    {
      "decoded": 123,
      "encoded": "<string>"
    }
  ]
}

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. Determines how the IDs are encoded based on their intended use.

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
integer[]
required

The numeric IDs to encode.

Response

200 - application/json

OK

values
object[]