Getting started
This page will help you get started with StreetLib Partners API
To use these endpoints you need a personal API key. You can get one writing to [email protected]
The API base URL is:
https://api.streetlib.com/partners (PRODUCTION)
https://api.sandbox.streetlib.com/partners (SANDBOX)
GET
Javascript Example
await axios.get(
'https://api.sandbox.streetlib.com/partners/countries',
{
headers: {
'x-api-key': <YOUR_API_KEY>
}
}
);
POST
Javascript Example
await axios.post(
'https://api.sandbox.streetlib.com/partners/affiliate/signup',
data,
{
headers: {
'x-api-key': <YOUR_API_KEY>
}
}
);
Each call must have x-api-key
header set with your API key to access the endpoint.
Last updated
Was this helpful?