GenPages
Get the list of campaigns.
Changed onThis endpoint is used to get the list of campaigns.
get/api/external/v1/campaigns/get-list
Request
- Base URLhttps://backend.genpage.ai
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
workspace_idinteger required
The workspace to list campaigns for.
Example:55
Response
object[] required
Example response
[
{
"id": 1,
"name": "Test Campaign 1",
"slug": "test-campaign-1"
},
{
"id": 2,
"name": "Saas Outreach",
"slug": "saas-outreach"
}
]Changes
- breaking
added the new required
queryrequest parameterworkspace_id - breaking
removed the request body
- breaking
the response's body type changed from
objecttoarrayfor status - warning
removed the optional property
from the response with the status - info
api tag
GenPagesadded - info
api tag
Campaignsremoved - info
added the non-success response with the status
- breaking