---
agentTools:
  projectIndex: https://image-relay-api.readme.io/llms.txt
---

# Invite new user

Create a new invited user. The user will be sent an invite email to sign up for Image Relay.

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "Image Relay's API",
    "version": "1.3"
  },
  "servers": [
    {
      "url": "https://api.imagerelay.com/api/v2/"
    }
  ],
  "components": {
    "securitySchemes": {
      "sec0": {
        "type": "apiKey",
        "name": "Authorization",
        "in": "header",
        "x-bearer-format": "bearer",
        "x-default": ""
      }
    }
  },
  "security": [
    {
      "sec0": []
    }
  ],
  "paths": {
    "/invited_users": {
      "post": {
        "summary": "Invite new user",
        "description": "Create a new invited user. The user will be sent an invite email to sign up for Image Relay.",
        "operationId": "invite-new-user",
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n\t\t\"id\": 242,\n\t\t\"user_id\": 3412,\n\t\t\"sub_domain_id\": 341,\n\t\t\"first_name\": \"First Name\",\n\t\t\"last_name\": \"Last Name\",\n\t\t\"email\": \"example@imagerelay.com\",\n\t\t\"company\": \"Company\",\n\t\t\"custom_field_one\": null,\n\t\t\"custom_field_two\": null,\n\t\t\"custom_field_three\": null,\n\t\t\"custom_field_four\": null,\n\t\t\"created_at\": \"2021-06-14T15:12:29.000Z\",\n\t\t\"updated_at\": \"2021-06-14T15:12:29.000Z\",\n\t\t\"permission_id\": 634,\n\t\t\"registration_url\": \"https://example.imagerelay.net/register/f2a627aee885497093c0de195f138466\"\n\t}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "integer",
                      "example": 242,
                      "default": 0
                    },
                    "user_id": {
                      "type": "integer",
                      "example": 3412,
                      "default": 0
                    },
                    "sub_domain_id": {
                      "type": "integer",
                      "example": 341,
                      "default": 0
                    },
                    "first_name": {
                      "type": "string",
                      "example": "First Name"
                    },
                    "last_name": {
                      "type": "string",
                      "example": "Last Name"
                    },
                    "email": {
                      "type": "string",
                      "example": "example@imagerelay.com"
                    },
                    "company": {
                      "type": "string",
                      "example": "Company"
                    },
                    "custom_field_one": {},
                    "custom_field_two": {},
                    "custom_field_three": {},
                    "custom_field_four": {},
                    "created_at": {
                      "type": "string",
                      "example": "2021-06-14T15:12:29.000Z"
                    },
                    "updated_at": {
                      "type": "string",
                      "example": "2021-06-14T15:12:29.000Z"
                    },
                    "permission_id": {
                      "type": "integer",
                      "example": 634,
                      "default": 0
                    },
                    "registration_url": {
                      "type": "string",
                      "example": "https://example.imagerelay.net/register/f2a627aee885497093c0de195f138466"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "400",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {}
                }
              }
            }
          }
        },
        "deprecated": false,
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {},
              "examples": {
                "Request Example": {
                  "value": {
                    "first_name": "First Name",
                    "last_name": "Last Name",
                    "email": "example@imagerelay.com",
                    "company": "Image Relay",
                    "permission_id": "562"
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "x-readme": {
    "headers": [],
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "x-readme-fauxas": true,
  "_id": "6369721ac49880008c871966:6369721ac49880008c87198e"
}
```