How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Google Pub/Sub Subscribe API

Pull and acknowledge messages

Google Pub/Sub Subscribe API is one of 6 APIs that Google Pub/Sub publishes on the APIs.io network, described by a machine-readable OpenAPI specification and an AsyncAPI event-driven specification.

This API exposes 2 JSON Schema definitions.

Tagged areas include Subscribe. The published artifact set on APIs.io includes an OpenAPI specification, an AsyncAPI specification, and 2 JSON Schemas.

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

Requests are made against a single base URL, https://pubsub.googleapis.com.

3 operations 3 paths 4 schemas 3 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.1.0
API Version
v1
Server
https://pubsub.googleapis.com
Authentication
OAuth 2.0, HTTP Bearer
License
Resource Areas
1

Authentication & Security 2

Google Pub/Sub Subscribe API declares 2 security schemes for authenticating requests. It supports OAuth 2.0 (oauth2) using the authorizationCode flow, exposing 2 scopes. It accepts HTTP bearer tokens (bearerAuth). By default, every request must be authenticated.

Paths & Operations 3

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

Subscribe 3

Pull and acknowledge messages

POST
/v1/{subscription}:pull
Google Pub/Sub Pull messages
pull 1 param body → 200
POST
/v1/{subscription}:acknowledge
Google Pub/Sub Acknowledge messages
acknowledge 1 param body → 200
POST
/v1/{subscription}:modifyAckDeadline
Google Pub/Sub Modify acknowledgement deadline
modifyAckDeadline 1 param body → 200

Schemas 4

The contract defines 4 schemas that model the data the API accepts and returns. The most detailed are PubsubMessage (5 properties), ReceivedMessage (3 properties), PullRequest (1 property), PullResponse (1 property). Each schema is shown below with its type and property counts.

PullResponse
object
1 property
PullRequest
object
1 property 1 required
ReceivedMessage
object
3 properties
PubsubMessage
object
5 properties

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

google-pub-sub-subscribe-api-openapi.yml Raw ↑

Other APIs Google Pub/Sub publishes across the network.

Google Pub/Sub Publish API
Google Pub/Sub Schemas API
Google Pub/Sub Snapshots API
Google Pub/Sub Subscriptions API
Google Pub/Sub Topics API
Where this information came from

This is an independent, third-party profile of Google Pub/Sub Subscribe API, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.

The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.

Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.

info@apievangelist.com · Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.