Applications & API-Keys

how to generate API-key to authenticate API requests to Zira

Zira allows you to create custom applications. For each Application, an API key generated for authentication purpose

In order to create new application:

  1. Browse to your site page (for more info, check companies & sites)
  2. Go to Applications tabs
  3. Click Add New Application button at the top right corner of the page
SIte Applications tab
SIte Applications tab
  1. Provide a name and description for your application
  2. Click Generate API Key button. New application with designated API-Key will be created
  3. Copy the API-Key by clicking the copy icon The API Key should be kept secret, it is highly recommended not to keep it within your code and not share it with unauthorized people
SGenerate API Key
Generate API Key
Copy API Key
Copy API Key

The X-API-Key header will be used to authenticate api requests to zira

Example

POST /public/post HTTP/1.1
Host: api.zira.us
X-API-Key: <YOUR_API_KEY>
Content-Length: 84
 
{
    "postTypeId": "1",
    "content": "Hello world!",
    "toChannelId": "12610"
}

Related videos

Generate API-Key

Using Postman for API testing

Related Docs