Title here
Summary here
OnSefy uses Bearer Token authentication to secure its API. Each request must include two key headers:
Header | Value | Required | Description |
---|---|---|---|
Authorization | Bearer YOUR_API_KEY | β | Your API key as a Bearer token |
X-Service-ID | YOUR_SERVICE_ID | β | The unique ID of your OnSefy application |
Content-Type | application/json | β | Must be set to JSON |
Authorization: Bearer YOUR_API_KEY
X-Service-ID: YOUR_SERVICE_ID
Content-Type: application/json
curl -X POST https://api.onsefy.com/v1/validate/user \
-H "Authorization: Bearer 5n7Jut9gRwhY0XJVrKcIycF...." \
-H "X-Service-ID: 09083MRBc1743690899" \
-H "Content-Type: application/json" \
-d '{
"name": "Jane Doe",
"email": "jane.doe@example.com",
"etc": ".....",
}
Tab | Section | Set Value |
---|---|---|
Authorization | Select Bearer token | 5n7Jut9gRwhY0XJVrKcIycF… |
Headers | Set Key X-Service-Id | 09083MRBc1743690899 |
Body | Select raw | { "name": "Jane Doe","email":"...." } |