S
Samva
S
Samva
DashboardAPISamva DocumentationQuickstart GuideAuthentication

API Reference

Email Management

Conversation Management

Configuration

Analytics & Operations

Get OrganizationGet Organization UsageUpdate Organization
OpenAPI Specification
API ReferenceOrganizations

Get Organization

GET
/organizations/current

Authorization

apiKey
X-API-Key<token>

API key for authentication

In: header

Response Body

application/json

curl -X GET "https://samva.app/api/v1/organizations/current"
{
  "id": "string",
  "name": "string",
  "slug": "string",
  "logo": "string",
  "stripeCustomerId": "string",
  "defaultCurrency": "string",
  "countryCode": "string",
  "timezone": "string",
  "billingEmail": "string",
  "plan": "string",
  "isActive": true,
  "createdAt": "2019-08-24T14:15:22Z",
  "updatedAt": "2019-08-24T14:15:22Z",
  "metadata": {
    "property1": null,
    "property2": null
  },
  "messagesUsed": 9007199254740991,
  "messagesUsedThisMonth": 9007199254740991,
  "smsUsed": 9007199254740991,
  "smsUsedThisMonth": 9007199254740991,
  "whatsappUsed": 9007199254740991,
  "whatsappUsedThisMonth": 9007199254740991,
  "emailUsed": 9007199254740991,
  "emailUsedThisMonth": 9007199254740991,
  "participantsUsed": 9007199254740991,
  "conversationsUsed": 9007199254740991,
  "teamMembersUsed": 9007199254740991,
  "messagesResetAt": "2019-08-24T14:15:22Z"
}

Schedule Plan Change

Previous Page

Get Organization Usage

Next Page

curl -X GET "https://samva.app/api/v1/organizations/current"