Fetches the team information associated with the API key. This endpoint returns the team’s profile information, settings, and associated addresses.
curl --request GET \
--url https://api.oneofnone.io/v1/team \
--header 'x-api-key: <api-key>'
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"slug": "<string>",
"website": "<string>",
"description": "<string>",
"seat_count": 123,
"logo": {
"alt": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"description": "<string>",
"file_type": "<string>",
"id": 123,
"poster_url": "<string>",
"size": 123,
"tags": [
"<string>"
],
"thumbnail_url": "<string>",
"updated_at": "2023-11-07T05:31:56Z",
"url": "<string>"
},
"logo_dark": {
"alt": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"description": "<string>",
"file_type": "<string>",
"id": 123,
"poster_url": "<string>",
"size": 123,
"tags": [
"<string>"
],
"thumbnail_url": "<string>",
"updated_at": "2023-11-07T05:31:56Z",
"url": "<string>"
},
"notification_settings": {
"weekly_digest": true,
"project_reminders": true,
"chip_status_updates": true,
"collab_requests": true,
"team_member_activity": true
},
"social_links": [
{
"url": "<string>",
"type": "X"
}
],
"created_by": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"email": "jsmith@example.com",
"first_name": "<string>",
"last_name": "<string>"
},
"shipping_address": {
"line_1": "<string>",
"line_2": "<string>",
"city": "<string>",
"principal_subdivision": "<string>",
"postal_code": "<string>",
"country_code": "<string>",
"phone": "<string>",
"created_at": "2023-11-07T05:31:56Z"
},
"billing_address": {
"line_1": "<string>",
"line_2": "<string>",
"city": "<string>",
"principal_subdivision": "<string>",
"postal_code": "<string>",
"country_code": "<string>",
"phone": "<string>",
"created_at": "2023-11-07T05:31:56Z"
},
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
The API key required for accessing protected routes. It should be included in the request headers as x-api-key
.
Successfully retrieved team information.
A team or organization within the platform, containing profile information, settings, and associated addresses.
curl --request GET \
--url https://api.oneofnone.io/v1/team \
--header 'x-api-key: <api-key>'
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"slug": "<string>",
"website": "<string>",
"description": "<string>",
"seat_count": 123,
"logo": {
"alt": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"description": "<string>",
"file_type": "<string>",
"id": 123,
"poster_url": "<string>",
"size": 123,
"tags": [
"<string>"
],
"thumbnail_url": "<string>",
"updated_at": "2023-11-07T05:31:56Z",
"url": "<string>"
},
"logo_dark": {
"alt": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"description": "<string>",
"file_type": "<string>",
"id": 123,
"poster_url": "<string>",
"size": 123,
"tags": [
"<string>"
],
"thumbnail_url": "<string>",
"updated_at": "2023-11-07T05:31:56Z",
"url": "<string>"
},
"notification_settings": {
"weekly_digest": true,
"project_reminders": true,
"chip_status_updates": true,
"collab_requests": true,
"team_member_activity": true
},
"social_links": [
{
"url": "<string>",
"type": "X"
}
],
"created_by": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"email": "jsmith@example.com",
"first_name": "<string>",
"last_name": "<string>"
},
"shipping_address": {
"line_1": "<string>",
"line_2": "<string>",
"city": "<string>",
"principal_subdivision": "<string>",
"postal_code": "<string>",
"country_code": "<string>",
"phone": "<string>",
"created_at": "2023-11-07T05:31:56Z"
},
"billing_address": {
"line_1": "<string>",
"line_2": "<string>",
"city": "<string>",
"principal_subdivision": "<string>",
"postal_code": "<string>",
"country_code": "<string>",
"phone": "<string>",
"created_at": "2023-11-07T05:31:56Z"
},
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}