Skip to main content

GET /api/talents

Retrieve talent groups and categories from the Dzaleka talent directory.

Query Parameters

No query parameters required. Returns all talent groups.

Response Format

status
string
required
Status of the API response (“success” or “error”)
count
number
required
Total number of talent groups returned
data
object
required
Container for the talents data
talents
array
required
Array of talent group objects
id
string
Unique talent group identifier
name
string
Group or category name
category
string
Talent category (e.g., “Arts”, “Music”, “Sports”)
profilePic
string
URL to group profile image
talents
array
Array of individual talents within the group
name
string
Talent name
bio
string
Talent biography
profilePic
string
Individual profile picture
instagram
string
Instagram handle
twitter
string
Twitter handle

Example Request

curl https://services.dzaleka.com/api/talents

Example Response

{
  "status": "success",
  "count": 8,
  "data": {
    "talents": [
      {
        "id": "visual-artists",
        "name": "Visual Artists",
        "category": "Arts",
        "profilePic": "/images/talents/visual-artists.jpg",
        "talents": [
          {
            "name": "Marie Kibwe",
            "bio": "Contemporary painter specializing in abstract expressionism",
            "profilePic": "/images/artists/marie.jpg",
            "instagram": "@mariekibwe",
            "twitter": "@mariekibwe"
          }
        ]
      }
    ]
  }
}

POST /api/talents

Submit talent data with optional metadata.

Headers

  • Content-Type: application/json (required)

Response

Returns the same format as GET with additional metadata if provided.