GET/api/v1/oppurtunity/services| Name | Type | Required | Description |
|---|---|---|---|
| x-api-key | String | Yes | API key provided by the Networked Team. |
| spaceId | String | No | Required only when fetching for a space. Defaults to community. |
| Name | Type | Required | Description |
|---|---|---|---|
| start | Number | Yes | Pagination starting index (e.g., 0 for first). |
| count | Number | Yes | Number of records to fetch per request. |
{
"data": {
"count": 1,
"start": 0,
"contents": [
{
"user": {
"id": "6787893423126f0012a92ed6",
"name": "Spencer Johnson Spencer",
"image": "https://ntwc-us-east-2-qa-eks-s3-files-storage.s3.us-east-2.amazonaws.com/user-6787893423126f0012a92ed6/file_1741258763688_image (25).png",
"title": " Software Development Test Engineer WBC Community Test Engineer",
"primaryCompany": "test",
"location": "",
"industries": ["Animation"]
},
"serviceId": "682fc8da0465d1001250c444",
"companyName": "xczxc",
"companyAbout": "<p class='preserveHtml' class='preserveHtml' class='preserveHtml' class='preserveHtml' class='preserveHtml' style=\"\">cxczxc</p>",
"companyAboutRichText": "[{\"type\":\"paragraph\",\"children\":[{\"text\":\"cxczxc\"}]}]",
"industry": {
"id": null,
"name": null
},
"location": "",
"media": [],
"timeStamp": 1747962074033,
"isSpace": false,
"community": "67959032bc6bea0012fdc671"
}
],
"nextStart": false
},
"error": false,
"message": "Operation completed successfully"
}
interface GetServicesResponse {
data: {
count: number;
start: number;
nextStart: boolean | number;
contents: {
user: {
id: string;
name: string;
image: string;
title: string;
primaryCompany: string;
location: string;
industries: string[];
};
serviceId: string;
companyName: string;
companyAbout: string;
companyAboutRichText: string;
industry: {
id: string | null;
name: string | null;
};
location: string;
media: any[];
timeStamp: number;
isSpace: boolean;
community: string;
}[];
};
error: boolean;
message: string;
}
| Name | Type | Description |
|---|---|---|
| count | Number | Total number of service listings returned in this batch. |
| start | Number | Starting index used for this query. |
| nextStart | Boolean/Number | Indicates if more data is available for pagination. |
| contents | Array | Array of service listing entries. |
| user | Object | Details of the user who posted the service. |
| serviceId | String | Unique ID of the service listing. |
| companyName | String | Name of the company offering the service. |
| companyAbout | String | HTML-formatted description of the company. |
| companyAboutRichText | String | JSON-formatted rich text content of the company description. |
| industry | Object | Industry information (may be null). |
| location | String | Location of the service provider (can be empty). |
| media | Array | Media items associated with the listing. |
| timeStamp | Number | Timestamp of listing creation. |
| isSpace | Boolean | Indicates if this service is associated with a space. |
| community | String | Community ID where the service was posted. |
curl --location 'https://backend.networked.co/api/v1/oppurtunity/services?start=0&count=10' \
--header 'x-api-key: <your-api-key>'{
"error": true,
"message": "Please specify the number of items to display per page"
}