Post User Api Key
Developing
Request
Provide your bearer token in the Authorization
header when making requests to protected resources. Example:Authorization: Bearer ********************
Example:{
"name": "testing",
"permissions": ["sendMessages"],
"expirePeriod": 0,
"expireDate": "",
"communityId" : "6167dba9c548eb5c7ec28057"
}
Request Code Samples
curl --location --request POST 'https://integration.returning.aiapis/v1/users/apikeys?userId=71100af5c548eb5c7ebc7819' \
--header 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJfaWQiOiI3MTEwMGFmNWM1NDhlYjVjN2ViYzc4MTkiLCJpZCI6IjQyIiwiaWF0IjoxNzU2Mzg0NDEwLCJleHAiOjE3NTY5ODkyMTB9.FuChCy0UESD7Pdhe445y0OUEBacqyfFuZALPO5eoaoM' \
--header 'Content-Type: application/json' \
--data-raw '{
"name": "testing",
"permissions": ["sendMessages"],
"expirePeriod": 0,
"expireDate": "",
"communityId" : "6167dba9c548eb5c7ec28057"
}'
Responses
application/json Modified at 2025-08-29 17:53:45