Okapi Okapi

/ads/v4/* → version retirement

Pinterest API

Stopped working

On July 1, 2023, Pinterest retired the Ads API v4 endpoints under /ads/v4/*. Following this change, all requests directed to these endpoints fail.


Calls it hits

  • /ads/v4/*

What to use instead of these calls

Move calls to Pinterest API v5 under /v5/ad_accounts/*. Because v4 access tokens do not work on v5, users must authorize again.

In Pinterest API's words

After June 30th, all calls to v3 and v4 endpoints will fail.

Pinterest API, Announcement

Facts

API
Pinterest API api.pinterest.com
Kind
Version retirement
Announced
February 1, 2023
Takes effect
July 1, 2023
Calls after that day
Fail
Source
Announcement
Last updated
Verified
, against Pinterest API's own pages

Questions

When does this change take effect?

Calls to /ads/v4/* on Pinterest API stopped working on July 1, 2023.

What happens to calls after July 1, 2023?

They have failed since July 1, 2023.

How do I find the calls this hits in my code?

Okapi reads your repository, finds the calls this change hits and opens a pull request with the fix. It never commits to your branches: every change comes as a pull request you review.


More from Pinterest API 1

  1. /v3/*Version retirement Stopped working

You fixed this one by hand.

Okapi opens the pull request with the fix before the next breaking change reaches your code.

Add to GitHub