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

Pinterest Templates API

The Templates API from Pinterest — 3 operation(s) for templates.

Pinterest Templates API is one of 117 APIs that Pinterest publishes on the APIs.io network, described by a machine-readable OpenAPI specification and an AsyncAPI event-driven specification.

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

This API exposes 5 operations across 3 paths, and defines 20 schemas. It is described by OpenAPI 3.2.0, at version 5.13.0.

Requests are made against a single base URL, https://api.pinterest.com/v5.

5 operations 3 paths 20 schemas 2 GET1 PATCH2 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.2.0
API Version
5.13.0
Base URL
https://api.pinterest.com/v5
Authentication
OAuth 2.0, HTTP Bearer, HTTP Basic
License
Terms of Service
Resource Areas
1

Authentication & Security 3

Pinterest Templates API declares 3 security schemes for authenticating requests. It supports OAuth 2.0 (pinterest_oauth2) using the authorizationCode flow, exposing 18 scopes. It accepts HTTP bearer tokens (conversion_token). It accepts HTTP basic authentication (basic).

  • conversion_token — This security scheme only applies to the conversion events endpoint (POST /adaccounts/{adaccountid}/events). This endpoint requires a bearer token generated vi…

Paths & Operations 5

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

Templates 5
GET
/ad_accounts/{ad_account_id}/targeting_templates
List targeting templates
targeting_template/list 6 params → 200400default
POST
/ad_accounts/{ad_account_id}/targeting_templates
Create targeting templates
targeting_template/create 1 param body → 200400default
PATCH
/ad_accounts/{ad_account_id}/targeting_templates
Update targeting templates
targeting_template/update 1 param body → 200400default
GET
/ad_accounts/{ad_account_id}/templates
List templates
templates/list 4 params → 200400default
POST
/ad_accounts/{ad_account_id}/templates/{template_id}/reports
Create async request for an analytics report using a template
analytics/create_template_report 5 params → 200400default

Schemas 20

The contract defines 20 schemas that model the data the API accepts and returns. The most detailed are TemplateResponse (25 properties), TargetingSpec (11 properties), TargetingTemplateCommon (6 properties), TrackingUrls (5 properties). Each schema is shown below with its type and property counts.

TargetingTemplateResponseData
object
TargetingTemplateCreate
object
TargetingTemplateUpdateRequest
object
2 properties 2 required
Paginated
object
2 properties 1 required
Granularity
string
Granularity
TargetingSpec
object
Ad group targeting specification defining the ad group target audience. For example, {"APPTYPE":["iphone"], "GENDER":["male"], "LOCALE":["en-US"], "LOCATION":[…
11 properties
TargetingTemplateCommon
object
6 properties
TargetingTemplateKeyword
object
2 properties
MatchType
string
Keyword match type
TargetingTemplateAudienceSizing
objectnull
Gets an audience size estimate for a set of given targeting spec data. Returns: An object containing an audience size estimate that has a reach estimate (numbe…
1 property
TrackingUrls
objectnull
Third-party tracking URLs. Up to three tracking URLs - with a max length of 2,000 - are supported for each event type. Tracking URLs set at the ad group or ad…
5 properties
TemplateResponse
object
Template fields
25 properties
CustomColumnId
string
Custom Column ID
Error
object
2 properties 2 required
BulkReportingJobStatus
string
Possible status for a bulk reporting job
DataOutputFormat
string
Format of generated report
PlacementGroupType
string
Campaign placement group type
TargetingTemplateGetResponseData
object
MetricsReportingLevel
string
Level of the reporting request
AdsAnalyticsCreateAsyncResponse
object
3 properties

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

pinterest-templates-api-openapi.yml Raw ↑

Other APIs Pinterest publishes across the network.

Pinterest Access API
Pinterest Accounts API
Pinterest Ad API
Pinterest Ad_groups API
Pinterest Ads API
Pinterest Analytics API
Pinterest Assets API
Pinterest Audience API
Pinterest Audience_insights API
Pinterest Audiences API
Pinterest Batch API
Pinterest Bid API
Where this information came from

This is an independent, third-party profile of Pinterest Templates 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.