POST
/
user
/
apikey
curl --request POST \
  --url https://staging-api.getpartna.com/v4/user/apikey \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --header 'x-api-user: <api-key>' \
  --data '{
  "apikey": "",
  "expirationInMonths": 0,
  "keyname": "",
  "otp": "",
  "scope": ""
}'
{
  "data": {
    "apikey": "1--M--3c1fc953f34f432589df37371d4a3fb1--1776081443040--2bacd10c"
  },
  "message": "success"
}

Authorizations

x-api-key
string
header
required
x-api-user
string
header
required

Body

application/json

Response

200
application/json

post user apikey ok

The response is of type object.

POST
/
user
/
apikey
curl --request POST \
  --url https://staging-api.getpartna.com/v4/user/apikey \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --header 'x-api-user: <api-key>' \
  --data '{
  "apikey": "",
  "expirationInMonths": 0,
  "keyname": "",
  "otp": "",
  "scope": ""
}'
{
  "data": {
    "apikey": "1--M--3c1fc953f34f432589df37371d4a3fb1--1776081443040--2bacd10c"
  },
  "message": "success"
}

Authorizations

x-api-key
string
header
required
x-api-user
string
header
required

Body

application/json

Response

200
application/json

post user apikey ok

The response is of type object.