Authentication
When it comes to interacting with APIs, authentication is a critical step to ensure secure communication between your application and the API service. API authentication is performed via HTTP Basic Auth, which involves including your API key in the HTTP request headers. This method verifies your identity and grants you access to the API's resources, ensuring that only authorized users can make requests.
Theneo Sample API uses API keys to authenticate requests.
Add headers to an HTTP request
When issuing an HTTP request to Theneo, each request must contain an Api-Key header that specifies a valid API key and must be encoded as JSON with the Content-Type: application/json header.
CURL
curl -s -X POST "https://app.theneo.io" \ -H "Content-Type: application/json" \ -H "Api-Key: YOUR_API_KEY" \ -d '{ "given_name": "Theneo", "last_name": "APIDoc", "mail": "hello@theneo.io", "phone_number": "" }To retrieve your API key from app.theneo.io, follow these steps:
Was this section helpful?
What made this section unhelpful for you?
On this page
- Authentication