Generate user API keys.
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"
}
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"
}
Generate user API keys.
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"
}
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"
}