{
"message": "Success",
"status": 200,
"data": {
"id": 6,
"value": "31c9acca-7075-4bdb-bf83-ff4994843abb"
}
}{
"message": "You are not authorized",
"status": 401
}Company > Api Integrations
Create API Keys
POST /v1/company/api-integrations
This endpoint is used to create a new API integration for the company.
Request Body
- No request body parameters are required for this endpoint.
Response
The response for this request will be in JSON format with the following schema:
{
"type": "object",
"properties": {
"message": {
"type": "string"
},
"status": {
"type": "integer"
},
"data": {
"type": "object",
"properties": {
"id": {
"type": "integer"
},
"value": {
"type": "string"
}
}
}
}
}
The response will include:
-
message: A string indicating the status message. -
status: An integer representing the status of the request. -
data: An object containing theidandvalueof the newly created API integration.
Example Response
{
"message": "",
"status": 0,
"data": {
"id": 0,
"value": ""
}
}
POST
/
v1
/
company
/
api-integrations
{
"message": "Success",
"status": 200,
"data": {
"id": 6,
"value": "31c9acca-7075-4bdb-bf83-ff4994843abb"
}
}{
"message": "You are not authorized",
"status": 401
}Response
Created
The response is of type object.