---
title: "Create agency's invitation"
method: POST
path: "/agency/invites"
tags: ["Organizations Agency"]
---

# Create agency's invitation

`POST /agency/invites`

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

## Request body

- object
  - `email` string, email, required — Email
  - `plan` string, required — Plan
  - `trial` boolean — Trial
  - `organization_clone` integer, nullable — Organization clone
  - `affiliate_link` string, nullable — Agency Affiliate Link
  - `payment_method` string, nullable — ID of payment method. It's taken into account when Organization is Franchise
  - `pay_now` boolean, nullable — Pay now flag
  - `card_token` string, nullable — Optional field for card token. It's taken into account when 'pay_now' is TRUE
  - `first_name` string, nullable — First name of customer. It's taken into account when 'pay_now' is TRUE
  - `last_name` string, nullable — Last name of customer. It's taken into account when 'pay_now' is TRUE
  - `integration_teams` integer[], nullable — The IDs of the Teams. It's taken into account when groups flow is allowed.

## Response `200`

OK

## Other responses

- `400` — Create Customer Error

---

[API](https://skmtc.net/salesmessage/apis/salesmessage-public-api.md) · [All operations](https://skmtc.net/salesmessage/apis/salesmessage-public-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/salesmessage/salesmessage-public-api/revisions/e96b3e58b041/schema)
