---
updatedAt: 2026-05-27T08:20:12.000Z
agentTools:
  projectIndex: https://developers.youtrust.com/llms.txt
---

# Get a User Invitation via the User

Retrieves the Invitation of a given User. The Invitation only exists when the User is in `invited` status.

Related guide: [User Invitation](https://developers.youtrust.com/docs/user-invitation)

***

**🔓 Endpoint access**

* Environments: `production`
* API key scopes: `organization`, `workspace`
* Plans: `plus`, `pro`, `scale`
* Add-ons (for production access): *none*

# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "info": {
    "contact": {
      "email": "contact@youtrust.com",
      "name": "Support",
      "url": "https://youtrust.com/contact"
    },
    "description": "Build the best experience of digital signature through your own platform. Increase your conversion rates, leverage your data and reduce your costs with Youtrust API.",
    "license": {
      "name": "proprietary",
      "url": "https://youtrust.com/terms"
    },
    "title": "Public Api v3",
    "version": "3.0"
  },
  "servers": [
    {
      "description": "Sandbox URL",
      "url": "https://api-sandbox.yousign.app/v3"
    },
    {
      "description": "Production URL",
      "url": "https://api.yousign.app/v3"
    }
  ],
  "security": [
    {
      "bearerAuth": []
    }
  ],
  "tags": [
    {
      "description": "The Invitation of a new User to join the Youtrust organization.",
      "name": "User Invitation"
    }
  ],
  "paths": {
    "/users/{userId}/invitation": {
      "get": {
        "description": "Retrieves the Invitation of a given User. The Invitation only exists when the User is in `invited` status.",
        "operationId": "get-users-userId-invitation",
        "parameters": [
          {
            "description": "User Id",
            "in": "path",
            "name": "userId",
            "required": true,
            "schema": {
              "$ref": "#/components/schemas/UUID"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UserInvitation"
                }
              }
            },
            "description": "OK",
            "headers": {
              "RateLimit-Limit": {
                "$ref": "#/components/headers/rateLimit-limit"
              },
              "X-RateLimit-Limit-Hour": {
                "$ref": "#/components/headers/rateLimit-limit-hour"
              },
              "X-RateLimit-Limit-Minute": {
                "$ref": "#/components/headers/rateLimit-limit-minute"
              },
              "RateLimit-Remaining": {
                "$ref": "#/components/headers/rateLimit-remaining"
              },
              "X-RateLimit-Remaining-Hour": {
                "$ref": "#/components/headers/rateLimit-remaining-hour"
              },
              "X-RateLimit-Remaining-Minute": {
                "$ref": "#/components/headers/rateLimit-remaining-minute"
              },
              "RateLimit-Reset": {
                "$ref": "#/components/headers/rateLimit-reset"
              }
            }
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UnauthorizedResponse"
                }
              }
            },
            "description": "Access unauthorized",
            "headers": {
              "RateLimit-Limit": {
                "$ref": "#/components/headers/rateLimit-limit"
              },
              "X-RateLimit-Limit-Hour": {
                "$ref": "#/components/headers/rateLimit-limit-hour"
              },
              "X-RateLimit-Limit-Minute": {
                "$ref": "#/components/headers/rateLimit-limit-minute"
              },
              "RateLimit-Remaining": {
                "$ref": "#/components/headers/rateLimit-remaining"
              },
              "X-RateLimit-Remaining-Hour": {
                "$ref": "#/components/headers/rateLimit-remaining-hour"
              },
              "X-RateLimit-Remaining-Minute": {
                "$ref": "#/components/headers/rateLimit-remaining-minute"
              },
              "RateLimit-Reset": {
                "$ref": "#/components/headers/rateLimit-reset"
              }
            }
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ForbiddenResponse"
                }
              }
            },
            "description": "Access forbidden",
            "headers": {
              "RateLimit-Limit": {
                "$ref": "#/components/headers/rateLimit-limit"
              },
              "X-RateLimit-Limit-Hour": {
                "$ref": "#/components/headers/rateLimit-limit-hour"
              },
              "X-RateLimit-Limit-Minute": {
                "$ref": "#/components/headers/rateLimit-limit-minute"
              },
              "RateLimit-Remaining": {
                "$ref": "#/components/headers/rateLimit-remaining"
              },
              "X-RateLimit-Remaining-Hour": {
                "$ref": "#/components/headers/rateLimit-remaining-hour"
              },
              "X-RateLimit-Remaining-Minute": {
                "$ref": "#/components/headers/rateLimit-remaining-minute"
              },
              "RateLimit-Reset": {
                "$ref": "#/components/headers/rateLimit-reset"
              }
            }
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/NotFoundResponse"
                }
              }
            },
            "description": "Resource not found",
            "headers": {
              "RateLimit-Limit": {
                "$ref": "#/components/headers/rateLimit-limit"
              },
              "X-RateLimit-Limit-Hour": {
                "$ref": "#/components/headers/rateLimit-limit-hour"
              },
              "X-RateLimit-Limit-Minute": {
                "$ref": "#/components/headers/rateLimit-limit-minute"
              },
              "RateLimit-Remaining": {
                "$ref": "#/components/headers/rateLimit-remaining"
              },
              "X-RateLimit-Remaining-Hour": {
                "$ref": "#/components/headers/rateLimit-remaining-hour"
              },
              "X-RateLimit-Remaining-Minute": {
                "$ref": "#/components/headers/rateLimit-remaining-minute"
              },
              "RateLimit-Reset": {
                "$ref": "#/components/headers/rateLimit-reset"
              }
            }
          },
          "405": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MethodNotAllowed"
                }
              }
            },
            "description": "This method is not allowed",
            "headers": {
              "RateLimit-Limit": {
                "$ref": "#/components/headers/rateLimit-limit"
              },
              "X-RateLimit-Limit-Hour": {
                "$ref": "#/components/headers/rateLimit-limit-hour"
              },
              "X-RateLimit-Limit-Minute": {
                "$ref": "#/components/headers/rateLimit-limit-minute"
              },
              "RateLimit-Remaining": {
                "$ref": "#/components/headers/rateLimit-remaining"
              },
              "X-RateLimit-Remaining-Hour": {
                "$ref": "#/components/headers/rateLimit-remaining-hour"
              },
              "X-RateLimit-Remaining-Minute": {
                "$ref": "#/components/headers/rateLimit-remaining-minute"
              },
              "RateLimit-Reset": {
                "$ref": "#/components/headers/rateLimit-reset"
              },
              "Retry-After": {
                "$ref": "#/components/headers/retry-after"
              }
            }
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TooManyRequestsResponse"
                }
              }
            },
            "description": "Too Many Requests, please try again later.",
            "headers": {
              "RateLimit-Limit": {
                "$ref": "#/components/headers/rateLimit-limit"
              },
              "X-RateLimit-Limit-Hour": {
                "$ref": "#/components/headers/rateLimit-limit-hour"
              },
              "X-RateLimit-Limit-Minute": {
                "$ref": "#/components/headers/rateLimit-limit-minute"
              },
              "RateLimit-Remaining": {
                "$ref": "#/components/headers/rateLimit-remaining"
              },
              "X-RateLimit-Remaining-Hour": {
                "$ref": "#/components/headers/rateLimit-remaining-hour"
              },
              "X-RateLimit-Remaining-Minute": {
                "$ref": "#/components/headers/rateLimit-remaining-minute"
              },
              "RateLimit-Reset": {
                "$ref": "#/components/headers/rateLimit-reset"
              },
              "Retry-After": {
                "$ref": "#/components/headers/retry-after"
              }
            }
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/InternalServerError"
                }
              }
            },
            "description": "Internal Server Error",
            "headers": {
              "RateLimit-Limit": {
                "$ref": "#/components/headers/rateLimit-limit"
              },
              "X-RateLimit-Limit-Hour": {
                "$ref": "#/components/headers/rateLimit-limit-hour"
              },
              "X-RateLimit-Limit-Minute": {
                "$ref": "#/components/headers/rateLimit-limit-minute"
              },
              "RateLimit-Remaining": {
                "$ref": "#/components/headers/rateLimit-remaining"
              },
              "X-RateLimit-Remaining-Hour": {
                "$ref": "#/components/headers/rateLimit-remaining-hour"
              },
              "X-RateLimit-Remaining-Minute": {
                "$ref": "#/components/headers/rateLimit-remaining-minute"
              },
              "RateLimit-Reset": {
                "$ref": "#/components/headers/rateLimit-reset"
              }
            }
          }
        },
        "summary": "Get a User Invitation via the User",
        "tags": [
          "User Invitation"
        ]
      }
    }
  },
  "components": {
    "headers": {
      "rateLimit-limit": {
        "description": "The maximum number of requests that the consumer is permitted to make in a given period",
        "schema": {
          "type": "integer"
        }
      },
      "rateLimit-limit-hour": {
        "description": "The maximum number of requests that the consumer is permitted to make in an hour window",
        "schema": {
          "type": "integer"
        }
      },
      "rateLimit-limit-minute": {
        "description": "The maximum number of requests that the consumer is permitted to make in an minute window",
        "schema": {
          "type": "integer"
        }
      },
      "rateLimit-remaining": {
        "description": "The number of requests remaining in the current rate limit window",
        "schema": {
          "type": "integer"
        }
      },
      "rateLimit-remaining-hour": {
        "description": "The number of requests remaining in the current hour rate limit window",
        "schema": {
          "type": "integer"
        }
      },
      "rateLimit-remaining-minute": {
        "description": "The number of requests remaining in the current minute rate limit window",
        "schema": {
          "type": "integer"
        }
      },
      "rateLimit-reset": {
        "description": "The remaining time until the rate limit resets in seconds",
        "schema": {
          "type": "integer"
        }
      },
      "retry-after": {
        "description": "Retry the request after X seconds",
        "schema": {
          "type": "integer"
        }
      }
    },
    "schemas": {
      "UUID": {
        "description": "The unique identifier for a resource.",
        "example": "9a93d3b5-fb3b-4abf-9e70-26315b33506c",
        "format": "uuid",
        "type": "string"
      },
      "UserInvitation": {
        "properties": {
          "id": {
            "example": "9a93d3b5-fb3b-4abf-9e70-26315b33506c",
            "format": "uuid",
            "readOnly": true,
            "type": "string"
          },
          "email": {
            "example": "email@example.com",
            "format": "email",
            "readOnly": true,
            "type": "string"
          },
          "role": {
            "$ref": "#/components/schemas/ManageableRole"
          },
          "workspaces": {
            "items": {
              "$ref": "#/components/schemas/User_workspaces_inner"
            },
            "readOnly": true,
            "type": "array"
          },
          "expired_at": {
            "example": "2024-01-18T22:59:00Z",
            "format": "date-time",
            "readOnly": true,
            "type": "string"
          },
          "created_at": {
            "example": "2024-01-18T22:59:00Z",
            "format": "date-time",
            "readOnly": true,
            "type": "string"
          }
        },
        "required": [
          "created_at",
          "email",
          "expired_at",
          "id",
          "role",
          "workspaces"
        ],
        "title": "Invitation",
        "type": "object"
      },
      "ManageableRole": {
        "description": "The role the invited User will hold in the Organization.\n\n`workspace_admin` is part of an unreleased feature. It cannot be assigned through the API, and its name, type and behavior may change before release. Do not use it.",
        "enum": [
          "admin",
          "workspace_admin",
          "member"
        ],
        "title": "Manageable Role",
        "type": "string"
      },
      "UnauthorizedResponse": {
        "properties": {
          "type": {
            "type": "string"
          },
          "detail": {
            "type": "string"
          }
        },
        "required": [
          "detail",
          "type"
        ],
        "title": "UnauthorizedResponse",
        "type": "object"
      },
      "ForbiddenResponse": {
        "properties": {
          "type": {
            "type": "string"
          },
          "detail": {
            "type": "string"
          }
        },
        "required": [
          "detail",
          "type"
        ],
        "title": "ForbiddenResponse",
        "type": "object"
      },
      "NotFoundResponse": {
        "properties": {
          "type": {
            "type": "string"
          },
          "detail": {
            "type": "string"
          }
        },
        "required": [
          "detail",
          "type"
        ],
        "title": "NotFoundResponse",
        "type": "object"
      },
      "MethodNotAllowed": {
        "properties": {
          "message": {
            "type": "string"
          }
        },
        "required": [
          "message"
        ],
        "title": "MethodNotAllowed",
        "type": "object"
      },
      "TooManyRequestsResponse": {
        "properties": {
          "message": {
            "type": "string"
          }
        },
        "required": [
          "message"
        ],
        "title": "TooManyRequestsResponse",
        "type": "object"
      },
      "InternalServerError": {
        "properties": {
          "type": {
            "example": "about:blank",
            "type": "string"
          },
          "detail": {
            "example": "Something wrong occurred.",
            "type": "string"
          }
        },
        "required": [
          "detail",
          "type"
        ],
        "title": "InternalServerError",
        "type": "object"
      },
      "User_workspaces_inner": {
        "properties": {
          "id": {
            "example": "9a93d3b5-fb3b-4abf-9e70-26315b33506c",
            "format": "uuid",
            "type": "string"
          }
        },
        "required": [
          "id"
        ],
        "type": "object"
      }
    },
    "securitySchemes": {
      "bearerAuth": {
        "scheme": "bearer",
        "type": "http"
      }
    }
  }
}
```