S
Samva
S
Samva
DashboardAPISamva DocumentationQuickstart GuideAuthentication

API Reference

Email Management

Conversation Management

Configuration

Create API KeyGet API KeyGet API Key ActivityGet API Key StatsList API KeysRemove API KeyRotate API KeyUpdate API Key

Analytics & Operations

OpenAPI Specification
API ReferenceApiKeys

Get API Key

GET
/api-keys/:id

Authorization

apiKey
X-API-Key<token>

API key for authentication

In: header

Query Parameters

id*string
Formatuuid

Response Body

application/json

curl -X GET "https://samva.app/api/v1/api-keys/:id?id=497f6eca-6276-4993-bfeb-53cbbbba6f08"
{
  "id": "string",
  "name": "string",
  "key": "string",
  "description": "string",
  "organizationId": "string",
  "createdAt": "2019-08-24T14:15:22Z",
  "expiresAt": "2019-08-24T14:15:22Z",
  "lastUsedAt": "2019-08-24T14:15:22Z",
  "isActive": true,
  "permissions": {
    "property1": [
      "string"
    ],
    "property2": [
      "string"
    ]
  },
  "roleName": "string"
}

Create API Key

Previous Page

Get API Key Activity

Next Page

curl -X GET "https://samva.app/api/v1/api-keys/:id?id=497f6eca-6276-4993-bfeb-53cbbbba6f08"