zira logo

API Keys



Applications are any custom code that you are writing that uses our public APIs. For each Application, an API key is generated for authentication purpose


Generate API Key

  • 1
    Browse to your site channel (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
  • 4
    Enter name and description
  • 5
    Click the Generate API key button
How to use API keys

API key used to authenticate and authorize API calls. The X-API-Key header will be used to authenticate API requests to zira
  • 1
    Copy the API-Key by clicking the copy icon
  • 2
    Happy coding!
Example

                curl --location --request POST 'https://test./public/post'
                --header 'X-API-Key: YOUR_API_KEY' 
                --data-raw '{
                    "title": "hello world",
                    "content": "this is my message",
                    "toChannelId": "123"
                }'