---
title: "Retrieves all social links for the agency candidate"
method: GET
path: "/agency/{agency_id}/candidate/{candidate_id}/social-links"
tags: ["Agency Candidate Social Link"]
---

# Retrieves all social links for the agency candidate

`GET /agency/{agency_id}/candidate/{candidate_id}/social-links`

## Request

- Base URL: `http://localhost:3010/v1`
- URL: `http://localhost:3010/v1/agency/{agency_id}/candidate/{candidate_id}/social-links`
- Auth: HTTP basic and HTTP basic and HTTP basic

## Query parameters

- `page` integer
- `items_per_page` integer
- `type` string
- `sortBy` string[]

## Response `200`

All social links for an agency candidate will be returned

- AgencySocialLinkResponseDef[]
  - `name` string, required
  - `type` string, required: It will be stored as lowercase value
  - `_id` string, required
  - `updated_at` string, date-time, required
  - `created_at` string, date-time, required
  - `__v` integer, required
  - `candidate_id` string, required
  - `agency_id` string, required

## Other responses

- `204`: No Content. There were no records to return based on your query.
- `400`: Validation errors caused by missing or invalid header / path or payloads
- `401`: Failed to authenticate the user making the request
- `403`: Permission denied error
- `default`: Server error occurred

---

[API](https://skmtc.dev/staffshift/apis/staffshift-api-gateway.md) - [All operations](https://skmtc.dev/staffshift/apis/staffshift-api-gateway/llms.txt) - [OpenAPI document](https://skmtc.dev/staffshift/apis/staffshift-api-gateway/revisions/1f079f6b65f5?raw)
