API Reference
Organization
Endpoints
GET /v1/organization/
The Organization object
Attributes | Type | Description |
---|---|---|
id | string | id of the object. |
name | object | Object containing the name of the organization in English and Arabic. |
users | array | List of organization users. |
Example
{
"id": "org_By5sp4qfjM6LdnDDyvYL8B",
"name": {
"en": "Abdullah's Trading Est.",
"ar": "مؤسسة عبدالله للتجارة"
},
"users": [
{
"id": "usr_FBmxyogdgTDufYvGiTjXs2",
"email": "some@example.com"
}
]
}
Retrieve organization
Retrieves the organization associated with the API key.
Request
curl --location \
--request GET 'https://api.wafeq.com/v1/organization/' \
--header 'Authorization: Api-Key <api_key>' \
--header 'Content-Type: application/json'