API ReferenceMigration
Get NanoId from UUID
Convert a legacy UUID to its corresponding NanoId for migration purposes. This endpoint facilitates the transition from UUID-based identifiers to the more compact NanoId format used in the v3 API.
Authorization
ApiKeyAuth x-api-key<token>
API key authentication
In: header
Query Parameters
uuid*string
The legacy UUID that needs to be converted to a NanoId
Format
uuidtype*string
The type of resource that the UUID belongs to
Value in
"CONNECTED_ACCOUNT" | "AUTH_CONFIG" | "TRIGGER_INSTANCE"Header Parameters
x-api-key*string
Your Composio API key used for authentication
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://backend.composio.dev/api/v3/migration/get-nanoid?uuid=123e4567-e89b-12d3-a456-426614174000&type=CONNECTED_ACCOUNT" \ -H "x-api-key: sk_123456789abcdef"{
"nanoid": "XqXrPalt3v"
}{
"error": {
"message": "string",
"code": 0,
"slug": "string",
"status": 0,
"request_id": "string",
"suggested_fix": "string",
"errors": [
"string"
]
}
}{
"error": {
"message": "string",
"code": 0,
"slug": "string",
"status": 0,
"request_id": "string",
"suggested_fix": "string",
"errors": [
"string"
]
}
}{
"error": {
"message": "string",
"code": 0,
"slug": "string",
"status": 0,
"request_id": "string",
"suggested_fix": "string",
"errors": [
"string"
]
}
}{
"error": {
"message": "string",
"code": 0,
"slug": "string",
"status": 0,
"request_id": "string",
"suggested_fix": "string",
"errors": [
"string"
]
}
}{
"error": {
"message": "string",
"code": 0,
"slug": "string",
"status": 0,
"request_id": "string",
"suggested_fix": "string",
"errors": [
"string"
]
}
}