GET
https://www.app.ocoya.com/api/_public/v1/linkedin/organizations
Find a LinkedIn company Page to tag
curl --request GET \
  --url https://www.app.ocoya.com/api/_public/v1/linkedin/organizations \
  --header 'X-API-Key: <api-key>'
{
  "urn": "urn:li:organization:12345678",
  "name": "Ocoya",
  "logo": "https://media.licdn.com/dms/image/logo.png",
  "vanityName": "ocoya",
  "mention": "@[Ocoya](urn:li:organization:12345678)"
}

Authorizations

X-API-Keystringheaderrequired

Your API key. Create one in Ocoya. Authorization: Bearer <key> works too.

Query Parameters

brandIdstringrequired

Ocoya brand ID. Get one from GET /brands.

Example:"cmayvq3hk00017apshay5qezu"
urlstringrequired

The company Page link, or its vanity name.

Example:"https://www.linkedin.com/company/ocoya"
channelIdstring

A LinkedIn channel in this brand whose connection looks the Page up. Left out, the brand's most recently updated LinkedIn channel is used.

Example:"clh49poxf008x8kov4ncbjty9"

Response

application/json

Success

urnstring

The Page's LinkedIn URN.

Example:"urn:li:organization:12345678"
namestring

The Page's name exactly as LinkedIn has it.

Example:"Ocoya"

The Page's logo.

Example:"https://media.licdn.com/dms/image/logo.png"
vanityNamestring | null

The name in the Page's link.

Example:"ocoya"
mentionstring

Put this in a post's caption to tag the Page.

Example:"@[Ocoya](urn:li:organization:12345678)"