# SAP SuccessFactors Developer API Documentation & Integration Guide

> **Public REST API:** Available  
> **Official Docs:** https://api.sap.com/package/SAPSuccessFactors  
> **Webhook Support:** Yes  
> **Authentication Methods:** OAuth 2.0, SAML Bearer Assertion, Basic Auth  
> **Target Market:** Enterprise  

---

## 1. API Architecture & Summary
SAP SuccessFactors offers OData/REST APIs via SAP API Business Hub for candidate, requisition, and application data, with OAuth 2.0 and SAML bearer assertion authentication. Event notification and integration center support webhook-like integrations for recruiting events.

## 2. Authentication
Requests to the SAP SuccessFactors API require authentication via OAuth 2.0 or SAML Bearer Assertion or Basic Auth.
Headers typically required:
```http
Authorization: Bearer YOUR_TOKEN
Content-Type: application/json
```

## 3. Code Samples

### cURL
```bash
# List jobs or candidate submissions from SAP SuccessFactors
curl -X GET "https://api.sap-successfactors.io/v1/candidates" \
  -H "Authorization: Bearer YOUR_TOKEN" \
  -H "Accept: application/json"
```

### Python (httpx)
```python
import httpx

headers = {
    "Authorization": "Bearer YOUR_TOKEN",
    "Accept": "application/json"
}

response = httpx.get("https://api.sap-successfactors.io/v1/candidates", headers=headers)
print(response.json())
```

### TypeScript / Node.js
```typescript
async function fetchCandidates() {
  const res = await fetch("https://api.sap-successfactors.io/v1/candidates", {
    headers: {
      "Authorization": "Bearer YOUR_TOKEN",
      "Accept": "application/json",
    },
  });
  const data = await res.json();
  console.log(data);
}
```

## 4. Webhook Event Notifications
SAP SuccessFactors supports real-time event webhooks (e.g. `candidate.created`, `application.updated`, `stage.changed`). Endpoints should return HTTP 200 within 3 seconds.

---
*Generated by Redraft ATS Intelligence (https://resumepure.com)*
