# Resend an invitation

```http
POST https://trydimmi.com/api/v1/invitations/{invitation}/deliveries
```

## Authorization

Send an API token as `Authorization: Bearer <token>`.
The token needs: `members:write`.

## Path parameters

- `invitation` (string, required): Id of the invitation, starting with inv_, such as inv_01jx2m8k4t. Find it with GET /invitations.

## Body

- `channel` (string): How to deliver the fresh invitation link: email mails it to the invited person (the default), link only returns it to pass on by hand. Either way the link sent before stops working. Such as link. One of: `email`, `link`.

## Response 201 (Created)

- `data` (object, required)
  - `invitation` (object, required)
    - `accept_url` (string | null, required): The link the invited person opens to join, to pass on by hand. Set only in the answer that issued or resent the invitation; null otherwise.
    - `created_at` (string, required): When it was created, as an RFC 3339 time, such as 2026-01-31T09:00:00Z.
    - `email` (string, required): The email address invited.
    - `expires_at` (string, required): When the invitation stops working.
    - `id` (string, required): The id of this record. Send it wherever an endpoint asks for this record; never use its name or title in its place.
    - `invited_by` (object, required)
      - `id` (string, required): The id of this record. Send it wherever an endpoint asks for this record; never use its name or title in its place.
      - `name` (string, required): Name of the teammate who sent the invitation.
    - `last_sent_at` (string, required): When the invitation email last went out.
    - `object` (string, required): The kind of record this is, the same for every record of its kind, such as article.
    - `role` (string, required): The role the person gets on joining: admin or member.
    - `send_count` (integer, required): How many times the invitation has been sent.
    - `status` (string, required): Where the invitation stands: pending, accepted, revoked or expired.
    - `team_ids` (string[] | null, required): Ids of the teams the person joins on accepting, each starting with team_; empty when none.
  - `object` (string, required): The kind of record this is, the same for every record of its kind, such as article.
  - `sent_at` (string, required): When this sending of the invitation went out.

## Response default (Error)

- `code` (string, required): Stable code for programs to tell errors apart, such as validation_failed or internal_error.
- `errors` (object): Each rejected field mapped to its messages. Only present when the input was invalid.
- `message` (string, required): What went wrong, in words safe to show a person.

## Example request

```bash
curl --request POST \
  --url 'https://trydimmi.com/api/v1/invitations/{invitation}/deliveries' \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "channel": "email"
}'
```

## Example response

```json
{
  "data": {
    "invitation": {
      "accept_url": "<string>",
      "created_at": "2026-11-01T09:30:00Z",
      "email": "<string>",
      "expires_at": "2026-11-01T09:30:00Z",
      "id": "<string>",
      "invited_by": {
        "id": "<string>",
        "name": "<string>"
      },
      "last_sent_at": "2026-11-01T09:30:00Z",
      "object": "<string>",
      "role": "<string>",
      "send_count": 123,
      "status": "<string>",
      "team_ids": [
        "<string>"
      ]
    },
    "object": "<string>",
    "sent_at": "2026-11-01T09:30:00Z"
  }
}
```

---

Index of all dimmi docs: https://trydimmi.com/llms.txt (full text: https://trydimmi.com/llms-full.txt)
