Retrieve a list of Sub IDs. This is an endpoint from the Affiliates API. You will need an affiliate account and its token in order to use this endpoint. Sub IDs are present in the affiliate links via the ‘sid’ query params.
cURL
curl --request GET \ --url https://api.getreditus.com/api/v1/affiliate/sub_ids \ --header 'Authorization: Bearer <token>'
{ "sub_ids": [ "<string>" ] }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Successful response