---
title: "Send invitations to join an organization"
method: POST
path: "/api/v1/organisations/send-invite"
tags: ["invitation"]
---

# Send invitations to join an organization

`POST /api/v1/organisations/send-invite`

## Request

- Base URL: `https://staging.api-golang.boilerplate.hng.tech/api/v1`
- URL: `https://staging.api-golang.boilerplate.hng.tech/api/v1/api/v1/organisations/send-invite`
- Auth: none declared
- TypeScript: <https://skmtc.dev/hngprojects/apis/kimiko-golang-swagger/docs/api/v1/organisations/send-invite/post.ts> (a function with typed inputs; its response is checked against the schema)

## Request body

- object
  - `emails` string[], required
  - `org_id` string, required

## Response `201`

Invitations sent successfully

- object
  - `status` string
  - `status_code` integer
  - `message` string
  - `data` object[]
    - `email` string
    - `expires_at` string, date-time
    - `organization` string

## Other responses

- `400`: Invalid input
- `403`: Forbidden
- `500`: Internal server error

---

[API](https://skmtc.dev/hngprojects/apis/kimiko-golang-swagger.md) - [All operations](https://skmtc.dev/hngprojects/apis/kimiko-golang-swagger/llms.txt) - [OpenAPI document](https://skmtc.dev/hngprojects/apis/kimiko-golang-swagger/revisions/2d1d3ed96bb9?raw)
