Campaigns
GET /public/v1/campaigns/get-all
List campaigns. Workspace members see only their own campaigns. Workspace admins and owners see all campaigns in the workspace.
Request
- Base URLhttps://api.joinvalley.co
- AuthAPI key in header x-api-key
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
limitnumber
Maximum number of records to return (1–100, default 20).
offsetnumber
Number of records to skip. Capped at 1,000.
sort'newest' | 'oldest'
Sort order. newest = created_at desc (default), oldest = created_at asc.
workspaceIdstring
Scope results to a specific workspace. Admins and owners will see all campaigns in the workspace; members will see only their own.
ownerIdstring
Admin/Owner only: scope results to a specific workspace member by their user ID.
Response
Default Response
Changes
No recorded changes to this operation across all 9 revisions of this API.