---
title: "Grants a user access to an offer by uid"
method: POST
path: "/v1/users/grant-user-offer-by-uid"
tags: ["users"]
---

# Grants a user access to an offer by uid

`POST /v1/users/grant-user-offer-by-uid`

## Request

- Base URL: `https://api.memberspot.de` (the document declares no server; this is the origin it was published from)
- URL: `https://api.memberspot.de/v1/users/grant-user-offer-by-uid`
- Auth: API key in header `X-API-KEY`

## Request body

- GrantOfferByUidDto
  - `uid` string, required
  - `grantOffer` string
  - `orderId` string

## Response `201`

- UserCreatedDto
  - `uid` string, required
  - `externalId` string, nullable
  - `isNew` boolean, required
  - `firstname` string, required
  - `name` string, required
  - `email` string, required
  - `grantedOffers` GrantedOffers[], required
    - `offerId` string, required
    - `name` string, required
  - `active` boolean

## Other responses

- `400`: Missing arguments (check your api key)
- `401`: Api key provided but invalid

---

[API](https://skmtc.dev/memberspot/apis/memberspot-api.md) · [All operations](https://skmtc.dev/memberspot/apis/memberspot-api/llms.txt) · [OpenAPI document](https://skmtc.dev/memberspot/apis/memberspot-api/revisions/48a9411d4339?raw)
