Membership campaignHelp us reach 150 membersBecome a member ›

Translator Portfolios

/translators

Opt-in public translator portfolios, independent of creator approval or subscription plans. All responses use Cache-Control: no-store.

GET/translators/me

Get your portfolio editor data

Auth required

Returns a profile (an unpublished draft by default), your resolved account profile picture, and public books you own or contribute to. Stale selections for private, deleted, or disassociated books are omitted. No approval or special account role is required.

Errors

  • 401Authentication required
  • 403Invalid token
Request
curl -X GET "https://app.ummahspot.com/translators/me" \
  -H "Authorization: Bearer $SHARH_TOKEN"
Response · 200
{
  "profile": {
    "published": true,
    "slug": "amina-hassan",
    "displayName": "Amina Hassan",
    "headline": "Arabic–English translator",
    "bio": "Translations of classical Islamic texts.",
    "location": "London",
    "website": "https://example.com/",
    "linkedin": "",
    "works": [
      {
        "book": "607f1f77bcf86cd799439011",
        "description": "Translation and explanatory notes."
      }
    ],
    "externalWorks": [
      {
        "title": "Translation notes",
        "url": "https://example.com/notes",
        "description": "Essays on translation."
      }
    ]
  },
  "profilePicture": null,
  "books": [
    {
      "id": "607f1f77bcf86cd799439011",
      "title": "Al-Ājurrūmiyyah",
      "author": "Ibn Ājurrūm",
      "href": "/books/al-ajrumiyyah/",
      "description": "",
      "category": "Arabic Grammar",
      "progress": "Complete",
      "subscriberOnly": false
    }
  ]
}
PUT/translators/me

Save or publish your translator portfolio

Auth required

Replaces the authenticated user’s portfolio. Only portfolio fields are accepted. Publishing is opt-in; set published to false to unpublish immediately. Changing the slug changes shared links; the user’s ObjectId URL remains valid. Selected books must still be public and owned by or contributed to by the user. Book access rules and subscription requirements remain in effect.

Body parameters

publishedrequired
boolean
Whether anonymous visitors may view the page.
slugrequired
string
Unique address, 3–64 lowercase letters, numbers, or single hyphens. ObjectId-shaped addresses are reserved.
displayNamerequired
string
Public name, up to 100 characters.
headline
string
Up to 160 characters.
bio
string
Plain text, up to 5,000 characters.
location
string
Up to 100 characters.
website
string
HTTP(S) URL, up to 2,000 characters, or empty.
linkedin
string
HTTP(S) URL, up to 2,000 characters, or empty.
works
array
Up to 100 unique { book: ObjectId, description: string } objects, in display order. Descriptions: up to 1,000 characters.
externalWorks
array
Up to 20 { title, url, description } objects. Title and HTTP(S) URL required; limits: 200, 2,000, and 1,000 characters respectively. URLs cannot contain credentials.

Errors

  • 400Invalid fields or an ineligible book selection
  • 401Authentication required
  • 403Invalid token
  • 409Page address already taken
Request
curl -X PUT "https://app.ummahspot.com/translators/me" \
  -H "Authorization: Bearer $SHARH_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"published":true,"slug":"string","displayName":"string"}'
Response · 200
{
  "profile": {
    "published": true,
    "slug": "amina-hassan",
    "displayName": "Amina Hassan",
    "headline": "Arabic–English translator",
    "bio": "Translations of classical Islamic texts.",
    "location": "London",
    "website": "https://example.com/",
    "linkedin": "",
    "works": [
      {
        "book": "607f1f77bcf86cd799439011",
        "description": "Translation and explanatory notes."
      }
    ],
    "externalWorks": [
      {
        "title": "Translation notes",
        "url": "https://example.com/notes",
        "description": "Essays on translation."
      }
    ]
  }
}
GET/translators/:identifier

Get a published translator portfolio

Public

Accepts a profile slug or user ObjectId. Draft and nonexistent profiles return the same 404. Returns whitelisted public profile fields and selected book metadata, never email, billing details, storage keys, or book contents. Book visibility and the translator’s ownership/contributor relationship are rechecked on every request. Subscriber-only public books are labeled; their content is still gated by the books API.

Path parameters

identifier
string
Public profile slug or user ObjectId.

Errors

  • 404Portfolio does not exist or is unpublished
Request
curl -X GET "https://app.ummahspot.com/translators/:identifier"
Response · 200
{
  "profile": {
    "id": "507f1f77bcf86cd799439011",
    "slug": "amina-hassan",
    "displayName": "Amina Hassan",
    "headline": "Arabic–English translator",
    "bio": "",
    "location": "",
    "website": "",
    "linkedin": "",
    "profilePicture": null,
    "works": [],
    "externalWorks": []
  }
}