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
Generate API Key
- 1Browse to your site channel (for more info, check Companies & sites)
- 2Go to Applications tabs
- 3Click Add New Application button at the top right corner of the page
- 4Enter name and description
- 5Click the Generate API key button
How to use API keys
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- 1Copy the API-Key by clicking the copy icon
- 2Happy 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"
}'