Skip to content

For Partners#

In case of any questions in regard to the partnership scheme and additional conditions, please send us a message to support@green-api.com or chat on the website.

The partnership scheme of cooperation involves deeper integration with the service and work with a larger number of instances on your side:

  • Instances management both in console and by API

  • Post-payment cooperation plan (from the second month of cooperation)

  • Continuous operation of instances even with a negative balance (including the creation of new instances)

  • Daily billing (for created and non-deleted instances)

  • Personal support chat

When is the payment written off?

Payment for instances for partners is written off at 00:00 UTC+3:00.

To determine the type of your console account, follow the next order: Account -> Account information -> Account type -> Partner

Setting up the Instagram API for partners:

  1. Getting a partnership token
  2. Preparing and working with a partner's console
  3. Payment for the Partner instances
  1. Request format
  2. API methods available for partners
  3. Work order

1. Getting a partnership token#

You may get a partnership API-token via support@green-api.com GREEN-API technical support.

Before requesting a partner key, we recommend familiarizing yourself with the Preparing and working with a partner's console section

2. Preparing and working with a partner's console#

  • To work with partner instances, we recommend creating a separate console account. Register the account with your corporate email to ensure you do not lose console data in case of employee turnover.

  • After switching console to work with the partner program (you will be provided with a partner key), instance creation and deletion can be done through the API or the console.

  • If console contains instances under the Business plan, they will be billed according to the standard scheme (instances may expire, and renewal will require payment on the website). Changing the billing to the partner program is not possible.

  • We recommend that after receiving the partner key, you delete all existing instances from the console and create instances through the API.

  • For testing and integration setup, developers should use a separate console account and instances under the Developer plan. Quota increases for instance creation can be requested through the technical support channel.

3. Payment for the Partner instances#

Instances on the Partner plan operate on a post-payment system. Partners do not need to monitor the balance. When the balance switches to negative, instances will continue to operate as usual. It is also possible to create instances even with a negative balance (payment for the instance is debited from the balance upon creation, then daily at 00:00, utc +3). Every month we send billings with transcripts to instances. We will then issue an invoice if you pay by invoice. The invoice for the previous month must be paid by the 15th day of the month following the reporting month.

4. Request format#

Request to API should be executed at:

{{partnerApiUrl}}/partner/{method}/{{partnerToken}}  

{partnerApiUrl} - (string) - API host name, you can find it in your console;

{method} - (string) - API method name;

{partnerToken} - (string) - partner's token, you get it via GREEN-API technical support;

5. API methods available for partners#

getInstances - the method returns all the instances of the accounts created by the partner

createInstance - the method creates an instance of a messenger account on behalf of the partner

deleteInstanceAccount - the method deletes an instance of a partner account

6. Work order#

  1. Create an instance by the createInstance method or manually in the console.

  2. Authorize the new instance. To do this, go to the console or use the API methods.

    Two ways of authorization are available:

  3. Login - with the login and password of the Instagram account. If Instagram requests a value, pass it by the SendAuthorizationCode method;

  4. Through a browser session - by the green-api-connector extension, without a password.

    The idInstance and apiTokenInstance can be obtained by the createInstance and getInstances methods.

  5. The instance is ready to work. To send and receive messages, use the API methods according to the documentation