POST
/
v0
/
offers
/
{offerId}
/
keys
/
add
curl --request POST \
  --url https://api.fungies.io/v0/offers/{offerId}/keys/add \
  --header 'Content-Type: application/json' \
  --header 'x-fngs-public-key: <api-key>' \
  --header 'x-fngs-secret-key: <api-key>' \
  --data '{
  "productId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "productKeys": [
    "<string>"
  ],
  "fileName": "<string>"
}'
{
  "status": "<string>",
  "data": {
    "success": true
  }
}

Authorizations

x-fngs-public-key
string
header
required
x-fngs-secret-key
string
header
required

Path Parameters

offerId
string
required

POST /v0/offers/:offerId/keys/add Parameter

Body

application/json
POST /v0/offers/:offerId/keys/add Request body
productId
string
required
productKeys
string[]
required
fileName
string

Response

200
application/json
POST /v0/offers/:offerId/keys/add Positive response
status
string
required
Allowed value: "success"
data
object
required