# \#rest

**URL:** https://integration.keap.com/tag/rest/90.md

[Latest](https://integration.keap.com/latest.md) · [Categories](https://integration.keap.com/categories.md) · [Tags](https://integration.keap.com/tags.md)

---

## [Is there a way to see the referral partners/affiliates attached to a contact via REST API?](https://integration.keap.com/t/is-there-a-way-to-see-the-referral-partners-affiliates-attached-to-a-contact-via-rest-api/93898)

<div class="topic-metadata">

**Author:** [@Millenne\_Noel](https://integration.keap.com/u/Millenne_Noel)\
**Replies:** 8\
**Last updated:** [February 6, 2026, 8:12pm UTC](https://integration.keap.com/t/is-there-a-way-to-see-the-referral-partners-affiliates-attached-to-a-contact-via-rest-api/93898 "2026-02-06T20:12:00Z")

</div>

Good day all, I have a few questions regarding the REST api feature. Were currently building a web application that connects to keap accounts. I have a question regarding referral partners (or affiliates?). Is there any…

---

## [Error in REST API spec?](https://integration.keap.com/t/error-in-rest-api-spec/93187)

<div class="topic-metadata">

**Author:** [@Alessandro\_Morelli](https://integration.keap.com/u/Alessandro_Morelli)\
**Replies:** 1\
**Last updated:** [September 21, 2024, 1:34am UTC](https://integration.keap.com/t/error-in-rest-api-spec/93187 "2024-09-21T01:34:50Z")

</div>

Hello, I’m implementing a client library for internal use and I noticed that the v1/emails/sync endpoint does not accept the “errors” property that is specified in the docs. Should we ignore that property? Best regard…

---

## [Is there a way to link contacts using the REST API?](https://integration.keap.com/t/is-there-a-way-to-link-contacts-using-the-rest-api/25515)

<div class="topic-metadata">

**Author:** [@JustinHandley](https://integration.keap.com/u/JustinHandley)\
**Replies:** 11\
**Last updated:** [September 9, 2024, 7:02pm UTC](https://integration.keap.com/t/is-there-a-way-to-link-contacts-using-the-rest-api/25515 "2024-09-09T19:02:30Z")

</div>

I am trying to link contacts using the REST API. I can’t find a function that does it easily? The update contact function has a place for links, but returns this: ‘Relationships can't be added or removed through this …

---

## [Get complete list of ALL Opportunities from API (v1) When Opportunity count is greater than 1000 record limit](https://integration.keap.com/t/get-complete-list-of-all-opportunities-from-api-v1-when-opportunity-count-is-greater-than-1000-record-limit/91446)

<div class="topic-metadata">

**Author:** [@LifePort\_IT\_Team](https://integration.keap.com/u/LifePort_IT_Team)\
**Replies:** 1\
**Last updated:** [September 21, 2023, 10:31pm UTC](https://integration.keap.com/t/get-complete-list-of-all-opportunities-from-api-v1-when-opportunity-count-is-greater-than-1000-record-limit/91446 "2023-09-21T22:31:53Z")

</div>

Hello, In short, how can we retrieve the complete list of opportunites and their custom field data using the API if I have 3,439 or more records? We sync our Keap opportunity data with our local ERP Database, and have …

---

## [Clear a field using REST API](https://integration.keap.com/t/clear-a-field-using-rest-api/86657)

<div class="topic-metadata">

**Author:** [@Andrea\_Ravicini](https://integration.keap.com/u/Andrea_Ravicini)\
**Replies:** 4\
**Last updated:** [March 4, 2022, 4:01pm UTC](https://integration.keap.com/t/clear-a-field-using-rest-api/86657 "2022-03-04T16:01:09Z")

</div>

Hello everyone, how do I clear a field in the contact using the REST API? In my particular case is the birthday field. I tried sending null, zero, empty string but the date stay there. I do a PATCH to /contacts/$id u…

---

## [Maintain valid API bearer token w/o involving humans?](https://integration.keap.com/t/maintain-valid-api-bearer-token-w-o-involving-humans/80541)

<div class="topic-metadata">

**Author:** [@NILMDTS\_Headquarters](https://integration.keap.com/u/NILMDTS_Headquarters)\
**Replies:** 8\
**Last updated:** [October 28, 2020, 11:36pm UTC](https://integration.keap.com/t/maintain-valid-api-bearer-token-w-o-involving-humans/80541 "2020-10-28T23:36:28Z")

</div>

Looking to keep InfusionSoft data fresh with a nightly automated curation job. Pre-embarrasshed to ask this question, but I’ve done my fair share of Googling and it looks like I need to involve humans to keep API bearer…

---

## [BETA: Affiliate Commissions via REST](https://integration.keap.com/t/beta-affiliate-commissions-via-rest/14626)

<div class="topic-metadata">

**Author:** [@TomScott](https://integration.keap.com/u/TomScott)\
**Replies:** 1\
**Last updated:** [September 15, 2017, 6:51pm UTC](https://integration.keap.com/t/beta-affiliate-commissions-via-rest/14626 "2017-09-15T18:51:51Z")

</div>

In our efforts to continue moving fast to provide capability on the REST API as quickly as possible we are going to start occasionally releasing some endpoints into beta for feedback while they undergo additional testing…

---

## [REST API Time vs. XML-RPC API Time - timestamps are not the same](https://integration.keap.com/t/rest-api-time-vs-xml-rpc-api-time-timestamps-are-not-the-same/70541)

<div class="topic-metadata">

**Author:** [@Daniel\_Watson](https://integration.keap.com/u/Daniel_Watson)\
**Replies:** 3\
**Last updated:** [September 11, 2019, 4:28pm UTC](https://integration.keap.com/t/rest-api-time-vs-xml-rpc-api-time-timestamps-are-not-the-same/70541 "2019-09-11T16:28:17Z")

</div>

I am using the infusionsoft php library (GitHub - infusionsoft/infusionsoft-php: PHP client library for the Infusionsoft API.) and I have setup a REST hook to react to when an opportunity’s stage is changed (opportunity.…

---

## [Charge Subscription immediately after creating through REST](https://integration.keap.com/t/charge-subscription-immediately-after-creating-through-rest/71138)

<div class="topic-metadata">

**Author:** [@Garrett\_Seymour](https://integration.keap.com/u/Garrett_Seymour)\
**Replies:** 0\
**Last updated:** [September 10, 2019, 8:19pm UTC](https://integration.keap.com/t/charge-subscription-immediately-after-creating-through-rest/71138 "2019-09-10T20:19:32Z")

</div>

I am creating a new subscription through the REST API and I am wanting to know if there is any way to charge the subscription as soon as I create it or is it always delayed?

---

## [500 response "General error" when adding credit card](https://integration.keap.com/t/500-response-general-error-when-adding-credit-card/70347)

<div class="topic-metadata">

**Author:** [@Bryson\_Black](https://integration.keap.com/u/Bryson_Black)\
**Replies:** 3\
**Last updated:** [September 2, 2019, 7:14pm UTC](https://integration.keap.com/t/500-response-general-error-when-adding-credit-card/70347 "2019-09-02T19:14:59Z")

</div>

Getting a “General error” and status code 500 when trying to add a credit card via the REST api. Reading through other 500 errors experienced by users trying to call different endpoints, I’m guessing this has to do some…

---

## [Email API - Missing plain\_content](https://integration.keap.com/t/email-api-missing-plain-content/70819)

<div class="topic-metadata">

**Author:** [@Jacky\_Wong](https://integration.keap.com/u/Jacky_Wong)\
**Replies:** 0\
**Last updated:** [August 26, 2019, 9:54pm UTC](https://integration.keap.com/t/email-api-missing-plain-content/70819 "2019-08-26T21:54:49Z")

</div>

According to my records, it seems that on August 4th or August 5th, the API returns null for plain\_content when I try to retrieve an Email using REST /emails/{id}. It use to return a Base64 encoded plain text where it co…

---

## [REST Hook frequency](https://integration.keap.com/t/rest-hook-frequency/70573)

<div class="topic-metadata">

**Author:** [@Daniel\_Watson](https://integration.keap.com/u/Daniel_Watson)\
**Replies:** 0\
**Last updated:** [August 14, 2019, 4:44pm UTC](https://integration.keap.com/t/rest-hook-frequency/70573 "2019-08-14T16:44:54Z")

</div>

I have a hook setup and working correctly but have noticed something in my testing. I am paying attention to the opportunity.edit and opportunity.stage\_move events. If I do a stage move, the edit and move hooks happen w…

---

## [Current Contact Referral Partner via REST API](https://integration.keap.com/t/current-contact-referral-partner-via-rest-api/64427)

<div class="topic-metadata">

**Author:** [@Sharon\_Miller](https://integration.keap.com/u/Sharon_Miller)\
**Replies:** 2\
**Last updated:** [June 21, 2019, 5:06am UTC](https://integration.keap.com/t/current-contact-referral-partner-via-rest-api/64427 "2019-06-21T05:06:53Z")

</div>

Is it possible to access a contact’s currently associated Referral Partner via the REST api? Edit: I should add – I’m not looking for anything so complicated as their referral history or the like, I just want to find o…

---

## [Adding Tags Input Value Error (REST)](https://integration.keap.com/t/adding-tags-input-value-error-rest/68743)

<div class="topic-metadata">

**Author:** [@Neil\_Aboshamaa](https://integration.keap.com/u/Neil_Aboshamaa)\
**Replies:** 6\
**Last updated:** [June 3, 2019, 9:53pm UTC](https://integration.keap.com/t/adding-tags-input-value-error-rest/68743 "2019-06-03T21:53:25Z")

</div>

EDIT: This was a pretty simple error on my side, answer is at the bottom. Hi, I have been trying to add tags (multiple) via the REST api. I can do it here: https://developer.infusionsoft.com/docs/rest/#!/Tags/applyTag…

---

## [Created email records don't show up in List Emails data](https://integration.keap.com/t/created-email-records-dont-show-up-in-list-emails-data/67689)

<div class="topic-metadata">

**Author:** [@Andrew\_Meyer](https://integration.keap.com/u/Andrew_Meyer)\
**Replies:** 1\
**Last updated:** [April 19, 2019, 2:11pm UTC](https://integration.keap.com/t/created-email-records-dont-show-up-in-list-emails-data/67689 "2019-04-19T14:11:11Z")

</div>

Since my company can send emails from several sources I wanted to have a record of those emails all in one place. So, using the REST API, created those records using the “Create an Email Record” endpoint. The problem i…

---

## [Getting a 500 error on email list (REST API) when no results](https://integration.keap.com/t/getting-a-500-error-on-email-list-rest-api-when-no-results/66983)

<div class="topic-metadata">

**Author:** [@Joe\_Wild](https://integration.keap.com/u/Joe_Wild)\
**Replies:** 8\
**Last updated:** [April 17, 2019, 10:47pm UTC](https://integration.keap.com/t/getting-a-500-error-on-email-list-rest-api-when-no-results/66983 "2019-04-17T22:47:56Z")

</div>

https://api.infusionsoft.com/crm/rest/v1/emails?access\_token={TOKEN}&contact\_id=123456 The above endpoint works for most of my contacts, but a select few are returning {“message”:“General error”} and HTTP 500 status c…

---

## [createPaymentOnOrder returned invoice\_id do not matches the invoice ID](https://integration.keap.com/t/createpaymentonorder-returned-invoice-id-do-not-matches-the-invoice-id/58498)

<div class="topic-metadata">

**Author:** [@pagedesigner](https://integration.keap.com/u/pagedesigner)\
**Replies:** 0\
**Last updated:** [December 3, 2018, 1:37pm UTC](https://integration.keap.com/t/createpaymentonorder-returned-invoice-id-do-not-matches-the-invoice-id/58498 "2018-12-03T13:37:36Z")

</div>

Im adding payment to an invoice via REST API after successful payment the returned invoice\_id do not matches the invoice ID on which i applied payment, though the payment is applied to correct invoice: Ref Method: Keap…

---

## [PHP SDK - REST API - Find contact by email? Check for Duplicate?](https://integration.keap.com/t/php-sdk-rest-api-find-contact-by-email-check-for-duplicate/16409)

<div class="topic-metadata">

**Author:** [@Jer\_Fortenberry](https://integration.keap.com/u/Jer_Fortenberry)\
**Replies:** 6\
**Last updated:** [November 20, 2018, 6:12am UTC](https://integration.keap.com/t/php-sdk-rest-api-find-contact-by-email-check-for-duplicate/16409 "2018-11-20T06:12:53Z")

</div>

I’m using the PHP SDK, using the REST API, and I can’t figure out how to do the following: Find a contact by email Prevent a duplicate created contact by email As for finding a contact by email, I’ve tried all of the …

---

## [API Rate Limit Throttling Duration](https://integration.keap.com/t/api-rate-limit-throttling-duration/53129)

<div class="topic-metadata">

**Author:** [@Adam\_King1](https://integration.keap.com/u/Adam_King1)\
**Replies:** 1\
**Last updated:** [September 25, 2018, 4:40pm UTC](https://integration.keap.com/t/api-rate-limit-throttling-duration/53129 "2018-09-25T16:40:54Z")

</div>

Hey, As it’s not often discussed and I couldn’t seem to find anything in the community, documentation or otherwise, at what point is an API throttle lifted if you have not hit your daily limit but you did, for a moment,…

---

## [401 Unauthorized error when trying to refresh access token](https://integration.keap.com/t/401-unauthorized-error-when-trying-to-refresh-access-token/52219)

<div class="topic-metadata">

**Author:** [@William\_Schreiner](https://integration.keap.com/u/William_Schreiner)\
**Replies:** 1\
**Last updated:** [September 13, 2018, 5:33pm UTC](https://integration.keap.com/t/401-unauthorized-error-when-trying-to-refresh-access-token/52219 "2018-09-13T17:33:46Z")

</div>

Im trying to set up a php script that will refresh my authorization token: $url = 'https://api.infusionsoft.com/token/'; $refresh\_token = ' '; $client\_id = ' '; $client\_secret = ' '; $encoded\_data = base64\_encode($cl…

---

## [Rest Hook Subscription (Input could not be converted to a valid request)](https://integration.keap.com/t/rest-hook-subscription-input-could-not-be-converted-to-a-valid-request/51917)

<div class="topic-metadata">

**Author:** [@Adam\_King1](https://integration.keap.com/u/Adam_King1)\
**Replies:** 1\
**Last updated:** [September 10, 2018, 5:54pm UTC](https://integration.keap.com/t/rest-hook-subscription-input-could-not-be-converted-to-a-valid-request/51917 "2018-09-10T17:54:51Z")

</div>

I’m trying to make a request to the REST hooks endpoint but the body I’m sending must be incorrect, despite reading the documentation I fear I must be missing something here. var hookRequest = { "eventKey": hook, …

---

## [Opportunities by Date Range](https://integration.keap.com/t/opportunities-by-date-range/49975)

<div class="topic-metadata">

**Author:** [@Adam\_King1](https://integration.keap.com/u/Adam_King1)\
**Replies:** 2\
**Last updated:** [August 24, 2018, 11:39am UTC](https://integration.keap.com/t/opportunities-by-date-range/49975 "2018-08-24T11:39:57Z")

</div>

It would be nice if we could obtain our opportunities using date fields. As far as I can tell, using the REST API, it’s currently only possible to obtain them by a hand-full of fields ( given\_name , family\_name , compa…

---

## [Apply tags to contact Error - REST](https://integration.keap.com/t/apply-tags-to-contact-error-rest/49024)

<div class="topic-metadata">

**Author:** [@Joe\_Chaiet](https://integration.keap.com/u/Joe_Chaiet)\
**Replies:** 4\
**Last updated:** [August 10, 2018, 6:29pm UTC](https://integration.keap.com/t/apply-tags-to-contact-error-rest/49024 "2018-08-10T18:29:18Z")

</div>

I’m testing the REST API Apply tags to contact endpoint here: https://developer.infusionsoft.com/docs/rest/#!/Contact/applyTagsToContactIdUsingPOST I include a contact ID, and then a single tag in the tagIds box. ev…

---

## [Can I create a custom fields with infusionsoft rest API?](https://integration.keap.com/t/can-i-create-a-custom-fields-with-infusionsoft-rest-api/25484)

<div class="topic-metadata">

**Author:** [@Sagar\_Shah](https://integration.keap.com/u/Sagar_Shah)\
**Replies:** 6\
**Last updated:** [April 17, 2018, 3:43pm UTC](https://integration.keap.com/t/can-i-create-a-custom-fields-with-infusionsoft-rest-api/25484 "2018-04-17T15:43:45Z")

</div>

Hello, I am looking to create a custom fields api for contacts with infusionsoft rest API. I have checked infusionsoft rest API (Keap REST API) but there is no endpoint that will create a custom fields and also infusio…

---

## [GET on /tags/categories](https://integration.keap.com/t/get-on-tags-categories/35992)

<div class="topic-metadata">

**Author:** [@Roy\_McKenzie](https://integration.keap.com/u/Roy_McKenzie)\
**Replies:** 7\
**Last updated:** [April 5, 2018, 6:39pm UTC](https://integration.keap.com/t/get-on-tags-categories/35992 "2018-04-05T18:39:10Z")

</div>

Hello, I see the REST API doesn’t appear to support GET on /tags/categories. Is the best way to get a list of tag categories to hit GET /tags and then map the unique category objects? Thanks a lot!

---

## [Create Custom Field for user REST API PHP SDK](https://integration.keap.com/t/create-custom-field-for-user-rest-api-php-sdk/36221)

<div class="topic-metadata">

**Author:** [@Roy\_McKenzie](https://integration.keap.com/u/Roy_McKenzie)\
**Replies:** 2\
**Last updated:** [April 5, 2018, 6:17pm UTC](https://integration.keap.com/t/create-custom-field-for-user-rest-api-php-sdk/36221 "2018-04-05T18:17:56Z")

</div>

Hello, I have been spinning my wheels on how to create a custom field on a Contact record type via the REST API using the PHP SDK. Might someone be willing to share an example of how it is done? Thanks!

---

## [How to fetch custom fileld values of Orders?](https://integration.keap.com/t/how-to-fetch-custom-fileld-values-of-orders/33905)

<div class="topic-metadata">

**Author:** [@Jared\_Goetz](https://integration.keap.com/u/Jared_Goetz)\
**Replies:** 1\
**Last updated:** [March 16, 2018, 7:44pm UTC](https://integration.keap.com/t/how-to-fetch-custom-fileld-values-of-orders/33905 "2018-03-16T19:44:25Z")

</div>

Hi, what is the proper way of getiing custom field values of an Order? I have ‘Sales\_Person’ text field associated with each Order (or Job? btw is this the same thing?), and want to retrieve it’s value. I tried crm/res…

---

## [Task not found error](https://integration.keap.com/t/task-not-found-error/16788)

<div class="topic-metadata">

**Author:** [@Joe\_Chaiet](https://integration.keap.com/u/Joe_Chaiet)\
**Replies:** 1\
**Last updated:** [October 5, 2017, 10:18pm UTC](https://integration.keap.com/t/task-not-found-error/16788 "2017-10-05T22:18:48Z")

</div>

I have a php script that sets a task’s status to Complete and populates the Completion Date field. However, for some random tasks I get the error: 'Client error: GET https://api.infusionsoft.com/crm/rest/v1/tasks/848069…

---

## ["Developer Inactive" using REST but my access token is valid](https://integration.keap.com/t/developer-inactive-using-rest-but-my-access-token-is-valid/16313)

<div class="topic-metadata">

**Author:** [@Conor\_McCarthy](https://integration.keap.com/u/Conor_McCarthy)\
**Replies:** 6\
**Last updated:** [October 3, 2017, 7:56am UTC](https://integration.keap.com/t/developer-inactive-using-rest-but-my-access-token-is-valid/16313 "2017-10-03T07:56:31Z")

</div>

Hi, I have been using the XML-RPC API for some time successfully, and now I am trying to add some calls to the REST API. Specifically, I want to use the Delete Contact method. When I try to call the Delete Contact meth…

---

## [API Additions and Changes 2017-09-27](https://integration.keap.com/t/api-additions-and-changes-2017-09-27/15838)

<div class="topic-metadata">

**Author:** [@mike.christianson](https://integration.keap.com/u/mike.christianson)\
**Replies:** 1\
**Last updated:** [September 27, 2017, 5:11pm UTC](https://integration.keap.com/t/api-additions-and-changes-2017-09-27/15838 "2017-09-27T17:11:55Z")

</div>

Good day from Infusionsoft HQ! We’re happy to share the following additions or changes. REST API New operation added: Retrieve Commissions. Files New operation added: List Files. New operation added: Delete File. New…

[Next page](https://integration.keap.com/tag/rest/90.md?match_all_tags=true&page=1&tags%5B%5D=rest)
