List account industries (dropdown)
Overview
Get the active industry list for the account create/edit dropdown. Each row is { value, label } where value = the industry's id — mirroring the address/countries shape the same form already consumes. The endpoint returns only industries with status = 1, ordered by name.
Prerequisites
- A bearer token in the
Authorizationheader.
Base URL
| Environment | URL |
|---|---|
| Production | https://production-api.shoutaboutus.com |
| Development | https://development-api.shoutaboutus.com |
Endpoint
GET /api/v1/partner/account/industries
Authentication
-
Requires a bearer token in the
Authorization: Bearer <bearer-token>header. -
Bearer — partner role. Declared under the
partnerroute group.
Rate limit
- No rate limit.
Query parameters
- None.
How it works
-
- The list is nested one level deeper than usual: the payload is
successResponse(['data' => $list]), so the response is{ "data": { "data": [. ] } }.
- The list is nested one level deeper than usual: the payload is
Response
200 OK · 200
200{
"data": {
"data": [
{
"value": 1,
"label": "Automotive"
},
{
"value": 2,
"label": "Home Services"
},
{
"value": 3,
"label": "Trades & Construction"
}
]
}
}Errors
| Status | Meaning |
|---|---|
401 | The bearer token is missing, expired or invalid |
500 | Unexpected server error |
Example request
curl --request GET \
--url "https://production-api.shoutaboutus.com/api/v1/partner/account/industries" \
--header 'Authorization: Bearer <bearer-token>' \
--header 'Accept: application/json'Updated 18 days ago
Did this page help you?
