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.
SicPama API uses API key to authenticate requests.
To retrieve your API key, contact SicPama for details.
Add headers to an HTTP request
When issuing an HTTP request to SicPama, each request must contain an x-api-key header that specifies a valid API key.
CURL
curl -s -X POST "https://sg-api.com/user-example" \ -H "Content-Type: application/json" \ -H "x-api-Key: YOUR_API_KEY" \ -d '{ "given_name": "Theneo", "last_name": "APIDoc", "mail": "hello@theneo.io", "phone_number": "" }Was this section helpful?
What made this section unhelpful for you?
On this page
- Authentication