Api keys

Create an Api Key

POST
/api-keys
AuthorizationBearer <token>

Default JWT Authorization

In: header

namestring
description?string
workspaceIdstring
memberIdstring
isActive?boolean
expiresAt?string

Response Body

curl -X POST "http://crm-apiprod.b2bleadsmarket.com/api-keys" \  -H "Content-Type: application/json" \  -d '{    "name": "string",    "workspaceId": "string",    "memberId": "string"  }'
{
  "id": "string",
  "name": "string",
  "description": "string",
  "key": "string",
  "workspaceId": "string",
  "memberId": "string",
  "createdAt": "2019-08-24T14:15:22Z",
  "updatedAt": "2019-08-24T14:15:22Z",
  "lastUsedAt": "2019-08-24T14:15:22Z",
  "isActive": true,
  "expiresAt": "2019-08-24T14:15:22Z"
}