API Reference

Organization

Endpoints

GET /v1/organization/

The Organization object

AttributesTypeDescription
idstringid of the object.
nameobjectObject containing the name of the organization in English and Arabic.
usersarrayList 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'
Previous
Use case for expense management