Organization

Organizations represent the entities (such as schools, companies, or institutions) under which certificates and templates are managed. Each organization record contains essential details like the organization’s name, contact information, and website.

These endpoints allow you to create, fetch, list, and delete organizations associated with your account.

Authentication

All requests must include your API key in the request headers:

  • x-api-key (required) – Your unique API key from the Akowe dashboard.


Create Organization

Endpoint:

POST /api/profile/organization

Description:

Creates a new organization with details such as name, email, website, and phone number.

Sample Request:

curl --location '{{baseurl}}/api/profile/organization' \
--header &#x27;x-api-key: <your-api-key>&#x27; \
--header 'Content-Type: application/json' \
--data-raw '{
  "name": "Akowe", 
  "website": "https://akowe.app",
  "email": "[email protected]",
  "phone":"080123456789", 
  "logo": "data:image/jpeg;base64,/9j/4AAQSkZJRgABAe" 
}'

Sample Response:


Get Organization

Endpoint:

Description:

Fetches details of a specific organization by its unique ID.

Sample Request:

Sample Response:


Get Organizations

Endpoint:

Description:

Retrieves a list of all organizations linked to your account or sub-account.

Sample Request:

Sample Response:


Delete Organization

Endpoint:

Description:

Deletes a specific organization by its unique ID.

Sample Request:

Sample Response:

Get Issuing Organizations

get
Header parameters
x-api-keystringOptionalExample: live-4ddc3c34-c47d-423a-a49b-0dbc3dac75a1-0-2d45cc19-2241-42ed-8e97-0eb8486c93c7
Responses
chevron-right
200

Successful response

application/json
get
/profile/organization
200

Successful response

Create Issuing Organization

post
Header parameters
x-api-keystringOptionalExample: live-4ddc3c34-c47d-423a-a49b-0dbc3dac75a1-0-2d45cc19-2241-42ed-8e97-0eb8486c93c7
Body
objectOptionalExample: {"name":"Akowe","website":"https://akowe.app","email":"[email protected]","phone":"080123456789","logo":""}
Responses
chevron-right
200

Successful response

application/json
post
/profile/organization
200

Successful response

Delete Issuing Organization

delete
Header parameters
x-api-keystringOptionalExample: live-4ddc3c34-c47d-423a-a49b-0dbc3dac75a1-0-2d45cc19-2241-42ed-8e97-0eb8486c93c7
Responses
chevron-right
200

Successful response

application/json
delete
/profile/organization/b2bf6b4e-bb07-45ab-b5d0-c43544d2d107
200

Successful response

Get Issuing Organization

get
Header parameters
x-api-keystringOptionalExample: live-4ddc3c34-c47d-423a-a49b-0dbc3dac75a1-0-2d45cc19-2241-42ed-8e97-0eb8486c93c7
Responses
chevron-right
200

Successful response

application/json
get
/profile/organization/19ac76e7-8638-487c-861f-6565351b2f10
200

Successful response

Last updated