Retrieve a customer
GET/api/v1/workspaces/{slug}/customers/{pk}/
Get a specific customer by ID
Path Parameters
pk:requiredstringPk.
slug:requiredstringSlug.
Scopes
customers:read
Retrieve a customer
bash
curl -X GET \
"https://api.plane.so/api/v1/workspaces/my-workspace/customers/550e8400-e29b-41d4-a716-446655440000/" \
-H "X-API-Key: $PLANE_API_KEY"python
import requests
response = requests.get(
"https://api.plane.so/api/v1/workspaces/my-workspace/customers/550e8400-e29b-41d4-a716-446655440000/",
headers={"X-API-Key": "your-api-key"}
)
print(response.json())javascript
const response = await fetch(
"https://api.plane.so/api/v1/workspaces/my-workspace/customers/550e8400-e29b-41d4-a716-446655440000/",
{
method: "GET",
headers: {
"X-API-Key": "your-api-key",
},
}
);
const data = await response.json();Response200
json
{
"id": "550e8400-e29b-41d4-a716-446655440000",
"created_at": "2024-01-01T00:00:00Z",
"updated_at": "2024-01-01T00:00:00Z",
"name": "Example Name",
"description": "example-value",
"deleted_at": "2024-01-01T00:00:00Z",
"customer_request_count": 1,
"logo_url": "Example Name",
"description_html": "<p>Example content</p>",
"description_stripped": "Example description",
"description_binary": "Example description",
"email": "Example Name"
}
