Integrations

Get Connected Account

GEThttps://tryferra.co/api/public/v1/me

Returns the workspace these credentials act on. With an OAuth app token it also returns the Ferra user who approved the app, so your integration can show who is connected. API keys belong to the whole workspace, so user is null.

Authorization

Send your API key in the Authorization header. It is under Settings → Developers → Public API in Ferra.

Request

curl -X GET 'https://tryferra.co/api/public/v1/me' \
  -H 'Authorization: your-api-key'

Responses

200Connected workspace and user
{
  "organization": {
    "id": "cm4ean69r0003w8w1cdomox9n",
    "name": "My Company"
  },
  "user": {
    "id": "cm4eamz9f0001w8w1k2b7x0ab",
    "name": "Nevo David",
    "picture": "https://tryferra.co/uploads/avatar.jpg"
  }
}

Parts of these docs are adapted from open-source documentation under the MIT License (© 2023 Mintlify).