curl -H "X-API-KEY: your_api_key" \
"https://www.gomry.com/api/v1/organization"
{
"data": {
"id": "oWao7AbCdEfGhIjKlMnO",
"name": "Acme Events",
"handle": "acme",
"logo": "https://storage.googleapis.com/gomry/acme-logo.png",
"website": "https://acme.example.com",
"country": "IT",
"api_key": {
"id": "6f1c2d3e-4a5b-6c7d-8e9f-0a1b2c3d4e5f",
"scopes": {
"events": "read",
"attendees": "read",
"contacts": "write",
"applications": "read",
"payments": "none"
}
}
}
}
Organization
Get Organization
Retrieve the organization your API key belongs to, and the key’s scopes
GET
/
organization
curl -H "X-API-KEY: your_api_key" \
"https://www.gomry.com/api/v1/organization"
{
"data": {
"id": "oWao7AbCdEfGhIjKlMnO",
"name": "Acme Events",
"handle": "acme",
"logo": "https://storage.googleapis.com/gomry/acme-logo.png",
"website": "https://acme.example.com",
"country": "IT",
"api_key": {
"id": "6f1c2d3e-4a5b-6c7d-8e9f-0a1b2c3d4e5f",
"scopes": {
"events": "read",
"attendees": "read",
"contacts": "write",
"applications": "read",
"payments": "none"
}
}
}
}
Get Organization
Returns the organization the API key belongs to and the scopes the key holds. It needs no scope, only a valid key, so it is the simplest way to check that a key works and to see which scopes it has before a request answers403 insufficient_scope. Integration platforms such as Zapier call it to test a connection and to label it with your organization’s name.
Response
object
curl -H "X-API-KEY: your_api_key" \
"https://www.gomry.com/api/v1/organization"
{
"data": {
"id": "oWao7AbCdEfGhIjKlMnO",
"name": "Acme Events",
"handle": "acme",
"logo": "https://storage.googleapis.com/gomry/acme-logo.png",
"website": "https://acme.example.com",
"country": "IT",
"api_key": {
"id": "6f1c2d3e-4a5b-6c7d-8e9f-0a1b2c3d4e5f",
"scopes": {
"events": "read",
"attendees": "read",
"contacts": "write",
"applications": "read",
"payments": "none"
}
}
}
}

