Your API key. Create one in Ocoya. Authorization: Bearer <key> works too.
API Reference
Me
Returns information about authenticated user, including brands (id and name of every owned brand). Use one of these ids as brandId.
Me
curl --request GET \
--url https://www.app.ocoya.com/api/_public/v1/me \
--header 'X-API-Key: <api-key>'{
"id": "clh49n2u300008kovd2wq1p8z",
"name": "Jane Doe",
"email": "jane@example.com",
"brands": [
{
"id": "cmayvq3hk00017apshay5qezu",
"name": "Ocoya"
}
]
}Was this page helpful?