Nexus Integrations / API / Storefront
Get Hub Config by Slug
Load a hub configuration when you know its public slug instead of its ID.
1. Endpoint
GET
https://api.gpirblx.com/api/v1/store-slug/{Slug}/hub-configLooks up the store by its public slug and returns the hub configuration.
2. Parameters
| Name | Location | Required | Description |
|---|---|---|---|
slug | Path | Yes | The public store slug. |
3. Request
Example request:
curl "https://api.gpirblx.com/api/v1/store-slug/my-hub/hub-config"4. Response
Successful response:
{
"success": true,
"data": {
"store": { "id": "store_id", "slug": "my-hub", "name": "My Hub" },
"branding": {},
"categories": [],
"featuredProducts": [],
"announcements": [],
"settings": {}
}
}