Okapi Okapi

Freshsales API email body parameter removal on POST /crm/sales/api/contacts

Deprecated, no dateSubscribe to Freshsales APIShare

The body parameter email on POST /crm/sales/api/contacts is deprecated without a shutdown date. Calls continuing to use this parameter will eventually fail. Freshsales API notes that usage of this key is deprecated.


Calls it hits

  • POST /crm/sales/api/contacts
  • body parameter email

What to use instead of these calls

Send the contact's addresses in emails as an array of value and is_primary objects instead of email.

In Freshsales API's words

Usage of this key is deprecated. Use emails key to associate emails to a contact.

Freshsales API, Announcement

Facts

API
Freshsales API *.myfreshworks.com
Kind
Parameter removal
Takes effect
No date given yet
Calls after that day
Fail
Source
Announcement
Last updated
Verified
, against Freshsales API's own pages

Questions

When does this change take effect?

Freshsales API deprecated POST /crm/sales/api/contacts, body parameter email without giving a shutdown date yet.

Do these calls still work?

Yes, they still work: Freshsales API has not given a shutdown date yet.

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 Freshsales API 3

  1. No date PUT /crm/sales/api/contacts/{id}Parameter removal Deprecated, no date
  2. No date POST /crm/sales/api/contactsParameter removal Deprecated, no date
  3. No date PUT /crm/sales/api/contacts/{id}Parameter removal Deprecated, no date

Is your code calling this?

Okapi finds the calls this change hits in your repo and opens the pull request with the fix.

Add to GitHub

Get notifications

Subscribe to Freshsales API

Hear about each breaking change Freshsales API announces, in your feed reader, calendar or Slack.

1What to follow

Provider
  • Freshsales API

2Where to get it

/breaking-changes/feed.xml

Paste it into Feedly, Inoreader, NetNewsWire or any reader. New changes show up as they're announced.