latestOpenAPI 3.0.02026-08-10416661.5 MB

e96b3e58b041

Organizations Agency

Create agency's invitation

REQUIRED SCOPES <code>['organizations-agency:write']</code><br>Create agency's invitation

post/agency/invites

Request body

emailstring email required

Email

planstring required

Plan

trialboolean

Trial

organization_cloneinteger nullable

Organization clone

affiliate_linkstring nullable

Agency Affiliate Link

payment_methodstring nullable

ID of payment method. It's taken into account when Organization is Franchise

pay_nowboolean nullable

Pay now flag

card_tokenstring nullable

Optional field for card token. It's taken into account when 'pay_now' is TRUE

first_namestring nullable

First name of customer. It's taken into account when 'pay_now' is TRUE

last_namestring nullable

Last name of customer. It's taken into account when 'pay_now' is TRUE

integration_teamsinteger[] nullable

The IDs of the Teams. It's taken into account when groups flow is allowed.

Example request

{
  "email": "test@test.test",
  "trial": true,
  "affiliate_link": "https://www.salesmessage.com/?fp_ref=example"
}

Response

OK