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://application.returning.aiapis/v1/users/apikeys?userId=71100af5c548eb5c7ebc7819' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"name": "testing",
"permissions": ["sendMessages"],
"expirePeriod": 0,
"expireDate": "",
"communityId" : "6167dba9c548eb5c7ec28057"
}'
Responses
application/json Modified at 2025-09-11 07:37:17