Need help with your APIs? I offer API discovery, governance & evangelism services. Explore services →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Census Segments API

The Segments API from Census — 2 operation(s) for segments.

Census Segments API is one of 7 APIs that Census publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Segments. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, and an API reference.

This API exposes 3 operations across 2 paths, and defines 4 schemas. It is described by OpenAPI 3.0.1, at version 1.0.

Requests are made against a single base URL, https://app.getcensus.com/api/v1.

3 operations 2 paths 4 schemas 2 GET1 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.0.1
API Version
1.0
Base URL
https://app.getcensus.com/api/v1
Authentication
HTTP Bearer
Terms of Service
Resource Areas
1

Authentication & Security 1

Census Segments API declares 1 security scheme for authenticating requests. It accepts HTTP bearer tokens (bearerAuth). By default, every request must be authenticated.

  • bearerAuth — Workspace API access token passed as a Bearer token.

Paths & Operations 3

Across 2 paths, the API surfaces 3 operations — 2 GET, 1 POST. Each is listed below with its method, path, parameters, and response codes.

Segments 3
GET
/segments
List segments
listSegments → 200
POST
/segments
Create a segment
createSegment body → 201
GET
/segments/{segment_id}
Fetch a segment
getSegment 1 param → 200

Schemas 4

The contract defines 4 schemas that model the data the API accepts and returns. The most detailed are Segment (5 properties), SegmentCreate (3 properties), SegmentResponse (2 properties), SegmentList (2 properties). Each schema is shown below with its type and property counts.

SegmentCreate
object
3 properties 2 required
Segment
object
5 properties
SegmentList
object
2 properties
SegmentResponse
object
2 properties

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

census-ci-segments-api-openapi.yml Raw ↑

Other APIs Census publishes across the network.

Census Connectors API
Census Datasets and Models API
Census Destinations API
Census Sources API
Census Sync Runs API
Census Syncs API