cs-seguridad-social-sapi icon

cs-seguridad-social-sapi

(0 reviews)
This API provides access to social security services, allowing management of affiliations, contributions, employers, employees, benefits, health providers, and payments.

home

๐Ÿ  Home - ๐Ÿ›ก๏ธcs-seguridad-social-sapi

Welcome to the cs-seguridad-social-sapi documentation.
This API provides access to social security services, including the management of:

  • Affiliations
  • Contributions
  • Employers and Employees
  • Social Security Benefits
  • Health Providers
  • Payments

All services are exposed via versioned endpoints (e.g., v1) and offer secure integration with internal systems.


๐ŸŒ Base Information


๐Ÿš€ Getting Started

  1. Authentication: You must include the correct client_id and an OAuth 2.0 Bearer token to access secured endpoints.
  2. Headers: Every request must include the following:

    -H "client_id: YOUR_CLIENT_ID"
    -H "Authorization: Bearer YOUR_ACCESS_TOKEN"
  3. Content-Type: For POST/PUT requests, use:

    -H "Content-Type: application/json"

๐Ÿ“ Available Endpoints

๐Ÿ“Œ Endpoints Overview

๐Ÿงพ Root Level Endpoints

MethodEndpointDescriptionExchange Link
GET/transferable-employerRetrieves transferable employer data.View details
GET/moratorium-periodRetrieves information about moratorium periods.View details
GET/transferable-businessLists businesses eligible for transfer.View details
GET/business-structureReturns available business structure types.View details

๐Ÿข /health-service/employer Endpoints

MethodEndpointDescriptionExchange Link
POST/health-service/employer/membership-ArlSubmits ARL membership for an employer.View details
POST/health-service/employer/retractionTransferOrEmployerAffiliationArlRetracts employer transfer or affiliation to ARL.View details
POST/health-service/employer/beginningEmploymentRelationshipRegisters the start of an employment relationship.View details
POST/health-service/employer/terminationEmploymentRelationshipEnds an employment relationship.View details

๐Ÿข /health-service/headquarters Endpoints

MethodEndpointDescriptionExchange Link
POST/health-service/headquarters/noveltyNotificationReports novelty events from headquarters.View details

๐Ÿข /health-service/workCenter Endpoints

MethodEndpointDescriptionExchange Link
POST/health-service/workCenter/noveltiesSubmits novelties for a work center.View details
POST/health-service/workCenter/variationWorkCenterforDependentWorkersAndStudentsRegisters changes for work center of dependent workers and students.View details

๐Ÿข /health-service/arlEmployerTransfer Endpoints

MethodEndpointDescriptionExchange Link
POST/health-service/arlEmployerTransfer/origin-ARLRegisters employer ARL transfer origin.View details
POST/health-service/arlEmployerTransfer/destination-ARL/transferNotificationNotifies ARL transfer to destination.View details

๐Ÿ‘ค /independentWorker Endpoints

MethodEndpointDescriptionExchange Link
POST/independentWorker/affiliationIntoARLRegisters independent worker ARL affiliation.View details
POST/independentWorker/transferWorkersARLToAnotherTransfers ARL membership to another ARL.View details
POST/independentWorker/retractionOfARLMembershipRetracts independent worker ARL membership.View details
POST/independentWorker/retractionTransferOfARLCancels ARL transfer request.View details
POST/independentWorker/terminationMembershipOnARLEnds voluntary ARL membership.View details
POST/independentWorker/reportingLatePayments-non-complianceReports late payments or non-compliance.View details
POST/independentWorker/suspensionOrActivationOfVoluntaryMembershipSuspends or reactivates voluntary ARL membership.View details
PUT/independentWorker/changeOccupationOrProfessionUpdates occupation or profession.View details
PUT/independentWorker/correction-contributing-type-or-subtypeCorrects contribution type or subtype.View details
GET/independentWorker/checkActiveAffiliationIntoOccupationalRiskSystemChecks active ARL affiliations.View details
GET/independentWorker/checkDetailsOfMembershipInformationRetrieves membership detail records.View details
GET/independentWorker/arlTransferableWorkerConsultationGets info about transferable workers.View details
GET/independentWorker/queryOfDefaultPeriodRetrieves info about default periods.View details

๐Ÿ“ค Example Request (Generic)

curl -X POST "https://cs-seguridad-social-sapi-qa-v1.us-e1.cloudhub.io/api/v1/affiliations" \
-H "Content-Type: application/json" \
-H "client_id: YOUR_CLIENT_ID" \
-H "Authorization: Bearer YOUR_ACCESS_TOKEN" \
-d '{
  "employeeId": "123456789",
  "employerId": "987654321",
  "startDate": "2025-04-01"
}'

๐Ÿ“Š Diagram

resources/seguridadsocial-8c20547a-7aca-49c4-bcbe-b11749adf502.png


โš ๏ธ Error Handling

Standard HTTP status codes are used for error handling:

  • 200 OK โ€“ Request was successful
  • 400 Bad Request โ€“ Missing or invalid parameters
  • 401 Unauthorized โ€“ Authentication failed
  • 404 Not Found โ€“ Endpoint or resource not found
  • 500 Internal Server Error โ€“ Unexpected error on the server

๐Ÿ“ž Support

For any issues, please contact the API support team:

Integration Services and Applications Coordination

๐Ÿ“ง epalma@fgs.co


๐Ÿ“… Notes


Reviews